+ Reply to Thread
Results 1 to 6 of 6

Correlation table

  1. #1
    Registered User
    Join Date
    01-26-2013
    Location
    UK
    MS-Off Ver
    Excel 2011 Mac
    Posts
    21

    Correlation table

    Hello,

    I have a big correlation table to 30 different datasets. I would like to create a second table in which I enter the instruments of my choice in the first row and column and subsequently the table vlookups the given values from the bigger correlation table.

    I have attached the file for ease of convenience.

    Appreciate your help
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,078

    Re: Correlation table

    in B38
    =INDEX($B$3:$AE$32,MATCH($A38,$A$3:$A$32,0),MATCH(B$37,$B$2:$AE$2,0))

    and copy across and down as far as M49
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Correlation table

    In B38, copied across and down
    =INDEX(CorrTable,MATCH($A38,$A$3:$A$32,0),MATCH(B$37,$B$2:$AE$2,0))
    where CorrTable = =Sheet1!$B$3:$AE$32
    Does that work for you?

    On Index
    http://www.techonthenet.com/excel/fo...x_function.php
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  4. #4
    Registered User
    Join Date
    01-26-2013
    Location
    UK
    MS-Off Ver
    Excel 2011 Mac
    Posts
    21

    Re: Correlation table

    Special K and ChemistB, thx for the input - it works great. ChemistB you named the range Sheet1!$B$3:$AE$32as CorrTable. How can I make this a dynamic range so that when I add a new instrument, i.e one new row and one new column CorrTable includes the new entries as well?

    Best

  5. #5
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Correlation table

    This would work

    =Sheet1!$B$3:INDEX(Sheet1!$B$3:$BV$74, COUNTA(Sheet1!$A$3:$A$74),COUNTA(Sheet1!$B$2:$BV$2))

    Note: I moved your second table to start in column B so that it wouldn't interfer with the COUNTA(A3:A74)

  6. #6
    Registered User
    Join Date
    01-26-2013
    Location
    UK
    MS-Off Ver
    Excel 2011 Mac
    Posts
    21

    Re: Correlation table

    great thanks for that.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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