# standard deviation excluding values above 75th percentile and = to zero

#### timbeckenham

##### New Member
Hi there, I am looking for help on how to use excel to calculate the standard deviation on a dataset but want to exclude zreo and null values and those above the 75th percentile,

any ideas?

### Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
Assuming that B2:B10 contains the data, try the following formula that needs to be confirmed with CONTROL+SHIFT+ENTER...

=STDEV(IF(B2:B10>0,IF(B2:B10<=PERCENTILE(B2:B10,0.75),B2:B10)))

Adjust the range accordingly.

Hope this helps!

Replies
2
Views
301
Replies
1
Views
86
Replies
2
Views
110
Replies
1
Views
101
Replies
0
Views
95

Threads
1,202,984
Messages
6,052,912
Members
444,612
Latest member
FajnaAli

### 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

### 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