+ Reply to Thread
Results 1 to 5 of 5

Correlate function between two specific lookup values in a list

  1. #1
    Registered User
    Join Date
    05-18-2017
    Location
    london
    MS-Off Ver
    2013
    Posts
    11

    Correlate function between two specific lookup values in a list

    Hi Everyone,

    Long time lurker.

    My question is I have a long list of data in a single column, with two specific numbers in the first two top rows. I need to lookup these numbers in the list below, and find the correlation between them. The correlation is matched based on the normal counting if rows between them.

    I have attached an example workbook to help the description. The idea is with more data, I can simply drag across the sheet to make the calculations.

    I think it's an index, match, match scenario, but I just cant get it right. In the attached, I need to find the correlation between 0.7211 and 16.3066, against the row differences between 1 to 22.

    Any help is appreciated.
    Thank you all.
    Attached Files Attached Files
    Last edited by umchem; 04-15-2018 at 11:54 AM.

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,474

    Re: Correlate function between two specific lookup values in a list

    Try this:

    =CORREL(INDEX($C$6:$C$28,MATCH($C$1,$C$6:$C$28,0)):INDEX($C$6:$C$28,MATCH($C$2,$C$6:$C$28,0)),ROW(INDIRECT("1:"&1+C3)))
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,474

    Re: Correlate function between two specific lookup values in a list

    NB. Probably better to use (for the sake of consistency) $C$3 rather than C3, in the above formula.

  4. #4
    Registered User
    Join Date
    05-18-2017
    Location
    london
    MS-Off Ver
    2013
    Posts
    11

    Re: Correlate function between two specific lookup values in a list

    Glenn,

    Worked out perfectly, thank you very much!!!
    I struggled for awhile to even conceptualize how to do this.

    Sincerely appreciate the assistance, have a great day!

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,474

    Re: Correlate function between two specific lookup values in a list

    You're welcome and thanks for the Rep.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 2
    Last Post: 06-10-2015, 12:12 AM
  2. Replies: 2
    Last Post: 06-09-2015, 11:20 PM
  3. Replies: 0
    Last Post: 06-04-2014, 10:08 AM
  4. [SOLVED] List multiples values that each correlate with a unique value.
    By marinemonk in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 02-25-2013, 01:44 PM
  5. Replies: 8
    Last Post: 12-08-2008, 12:54 PM
  6. Lines on chart don't correlate to values being charted
    By BW in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 04-13-2006, 03:00 PM
  7. Lookup Function - Specific Values
    By Steve Elliott in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-09-2005, 03:06 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1