Forum Discussion
Cullen Roth
May 31, 2017Copper Contributor
Selective STDEV.P problems
Hello, I am attempting to find a way to calculate the Standard Deviation of 600 different values that range from 0 and up. I would like to exclude any values below 500 and above 4,000 from the ST...
SergeiBaklan
Jun 06, 2017Diamond Contributor
Hi Cullen,
You may use array formula (enter with Ctrl+Shift+Enter) like
=STDEV.P(IF(((ACN63:AZO63>=500)*(ACN63:AZO63<=4000)=1),ACN63:AZO63))
Ruhurl
Mar 04, 2020Copper Contributor
Hi, I am trying to use STdev.p with an IF (similar to AVERAGEIF). I need Excel to check if the value in column F ($F18:$F97) is equal to 1, and calculate STDEV for all those rows in column N ($N18:$N97)
I have tried a few different formale based on other answers ...these give me a result (when I press CSE) but the result is not correct
Attempt1
=STDEV.p(IF($F18:$F97,1,$N18:$N97))
Attempt2
=STDEV.P(IF(($F18:$F97),1),$N18:$N97)
Can anyone help?
- SergeiBaklanMar 04, 2020Diamond Contributor
If you are on modern Excel that could be
=STDEV.p(FILTER($N18:$N97,$F18:$F97=1))or
=STDEV.p(IF($F18:$F97=1,$N18:$N97))- RuhurlMar 04, 2020Copper Contributor
Oh that is fabulous! Thank you so muchSergeiBaklan
- SergeiBaklanMar 04, 2020Diamond Contributor
Ruhurl , you are welcome