+ Reply to Thread
Results 1 to 2 of 2

Thread: Correlation Function

  1. #1
    Registered User
    Join Date
    04-22-2009
    Location
    San Francisco, CA
    MS-Off Ver
    Excel 2008
    Posts
    3

    Correlation Function

    Hey I am trying to correlate a bunch of different columns from one sheet into another sheet. The sheet with the columns is called "Data for correlation." In my new sheet, I have cell A1 with the formula:

    =CORREL('Data for correlation'!A:A,'Data for correlation'!B:B)

    This will give me the correlation of "Data for correlation" Column A vs. "Data for correlation" Column B in the cell A1. I am wondering how to fill this formula down the column A of the new sheet with each subsequent cell correlating the next column in "Data for correlation" to column A in "Data for correlation."

    Ex. I want cell A2 to read
    =CORREL('Data for correlation'!A:A,'Data for correlation'!C:C)
    Cell A3 to read
    =CORREL('Data for correlation'!A:A,'Data for correlation'!D:D)
    And so on...

    Is there a way to do this? Thanks for the help.

  2. #2
    Forum Moderator DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Suffolk, UK
    MS-Off Ver
    2002, 2007 & 2010
    Posts
    21,423

    Re: Correlation Function

    Yes, you can use INDEX

    A1:
    =CORREL('Data for correlation'!A:A,INDEX('Data for Correlation'!$1:$1048576,0,1+ROWS(A$1:A1)))
    copied down

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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.2.0