+ Reply to Thread
Results 1 to 3 of 3

Calculate standard deviation for column based on column heading

  1. #1
    Registered User
    Join Date
    03-06-2013
    Location
    NYC
    MS-Off Ver
    Excel 2010
    Posts
    15

    Calculate standard deviation for column based on column heading

    I have 2 sheets, one with a list of firms, the other with those firms and their historical earnings.

    On Sheet1 I have company names in column A
    On Sheet 2 I have company names going across row 1, in column A i have dates and then each of the companies earnings are in their column.

    My goal is to have Sheet1 have the standard deviation of the earnings in column B for each of the companies. For example, if on Sheet1 I have IBM in cell A1, I want a formula to look at Sheet2, find IBM in row1, and then calculate the standard deviation of the data in IBMs column.

    Please let me know if any of this is not clear or if you want me to attach the spreadsheet. Thanks for the help!

  2. #2
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Calculate standard deviation for column based on column heading

    Try

    =STDEV(INDEX(Sheet2!$B:$D,,MATCH(A2,Sheet2!$B$1:$D$1,0)))

    See attached
    Attached Files Attached Files
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  3. #3
    Registered User
    Join Date
    03-06-2013
    Location
    NYC
    MS-Off Ver
    Excel 2010
    Posts
    15

    Re: Calculate standard deviation for column based on column heading

    YOU ARE MY HERO!!! Perfect thank you!

+ 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.6.0 RC 1