standard deviation calculation for multiple criteria

mre03c

New Member
Joined
Dec 19, 2009
Messages
1
im trying to find the standard deviation of a bunch of subjects in a population.

i have 1 sheet which has three columns: date, the subject, and number. this sheet is updated daily. the dates and subject names are listed through the end of the trial, while the numbers are manually updated daily.


i have a sheet with all the subject's names, and im trying to get a formula to tell me the standard deviation of each subject except for the values i havent filled in yet.

everything ive tried has given me an error message so maybe somebody can help me. thanks!
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
im trying to find the standard deviation of a bunch of subjects in a population.

i have 1 sheet which has three columns: date, the subject, and number. this sheet is updated daily. the dates and subject names are listed through the end of the trial, while the numbers are manually updated daily.


i have a sheet with all the subject's names, and im trying to get a formula to tell me the standard deviation of each subject except for the values i havent filled in yet.

everything ive tried has given me an error message so maybe somebody can help me. thanks!

Let Sheet1 house the data.

Sheet2

A2 houses a subject's name...

B2:

Control+shift+enter, not just enter...

One of:

=STDEV(IF(Sheet1!$B$2:$B$13=I2,Sheet1!$C$2:$C$13))

=STDEV(IF(Sheet1!$B$2:$B$13=I2,IF(ISNUMBER(Sheet1!$C$2:$C$13),Sheet1!$C$2:$C$13)))

Adjust to suit. Note that some prefer to invoke STDEVP instead of STDEV.
 
Last edited:
Upvote 0
If your data is in a sheet called data with dates in column A subjects in B and numbers in C, and then in another sheet you have the subjects in A2 down then try this formula in B2

=STDEV(IF('Data'!B$2:B$1000=A2,IF('Data'!C$2:C$1000<>"",'Data'!C$2:C$1000)))

confirmed with CTRL+SHIFT+ENTER and copied down the column

adjust ranges as required
 
Upvote 0
Welcome to the board! You can use a pivot table to do this.

Excel Workbook
ABCDEFG
1DateSubjectNumber
212/17/2009136
312/17/2009268StdDev of Number
412/17/200931SubjectTotal
512/17/2009498141.01219331
612/19/2009194215.55634919
712/19/2009290338.89087297
812/19/200935640.707106781
912/19/2009497Grand Total34.96120299
1012/20/20091
1112/20/20092
1212/20/20093
1312/20/20094
1
Excel 2003



The pivot table is on the right. Select all of the data, including the rows that are still blank. Then use insert->pivot table, then put number in the data field and subject in the row field. Right-click on cell F3, which will say "count of number" and choose field settings. Then, where "count" is selected, change it to standard deviation... When you add data, you will need to right-click the pivot table and choose refresh.

Hope that helps, post back with problems.

Tai
 
Upvote 0

Forum statistics

Threads
1,223,908
Messages
6,175,307
Members
452,633
Latest member
DougMo

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top