+ Reply to Thread
Results 1 to 3 of 3

Dynamically changing fields for calculating standard deviation

  1. #1
    Registered User
    Join Date
    01-25-2016
    Location
    stl
    MS-Off Ver
    2013
    Posts
    6

    Dynamically changing fields for calculating standard deviation

    I don't think dynamic fields is the correct term for this based on my search results, but I don't know how else to describe it.
    I have a sheet of different populations, and I'd like to calculate the standard deviation for each group in another column
    So column A has a subject name, B has their score, and my output column C has a formula for standard deviation.
    I need the range of the standard deviation to change dynamically with the subjects. Here's a sample file stdevsample.xlsx

    Thanks for your help.

  2. #2
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: Dynamically changing fields for calculating standard deviation

    In C2, enter this formula with ctrl + shift + enter keys together then fill the formula

    =STDEV.P(IF($A$2:$A$20=A2,$B$2:$B$20))
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    01-25-2016
    Location
    stl
    MS-Off Ver
    2013
    Posts
    6

    Re: Dynamically changing fields for calculating standard deviation

    Thanks! Worked great!

+ 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. Calculating Returns and Standard Deviation from a data sample of share prices.
    By ofhani in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-15-2016, 11:51 AM
  2. Calculating Standard Deviation using IF and ignoring N/A values
    By sroh in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-19-2015, 12:25 PM
  3. Help with calculating standard deviation for a weighted average
    By m.a.a.psu in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-31-2013, 11:31 AM
  4. calculating annualised returns + Standard deviation of returns
    By Jaspal in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 03-01-2013, 09:22 AM
  5. Calculating Five year rolling standard deviation
    By Yaaseen in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-19-2012, 02:21 AM
  6. Replies: 1
    Last Post: 11-10-2010, 11:34 AM
  7. Dynamically Changing Fields in Excel
    By BiggieBig in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-17-2009, 04:02 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