Excel 2007 Standard Deviation of non-contiguous ranges with max and min removed

drewzilla652

New Member
Joined
Oct 19, 2010
Messages
19
I have a spreadsheet where I am trying to calculate the STDEV of numbers in a non-contiguous range, with the MAX and MIN numbers taken out.
I've named the non-contiguous range, as noted in the sample below, but I'm getting a #VALUE error. the range "month1" in the sample below, includes two columns of data (months 1 and 13).
THANK YOU! in advance for any help.

=STDEVP(IF(month1<>MAX(month1),IF(month1<>"",IF(month1<>MIN(month1),month1))))
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
Try the following formula, which needs to be confirmed with CONTROL+SHIFT+ENTER...

=IF(COUNT(MyRange)>3,STDEVP(SMALL(MyRange,ROW(INDIRECT("2:"&COUNT(MyRange)-1)))),"N/A")
 
Upvote 0

Forum statistics

Threads
1,224,506
Messages
6,179,159
Members
452,892
Latest member
yadavagiri

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