Array formula produces inconsistent results

pba1

New Member
Joined
Oct 17, 2006
Messages
14
Since discovering the power of array formulae I am finding many time saving applications. I am however stumped by a current simple formula giving inconsistent results. The wish is to calculate a percentile from one range based on criteria from another. The formula I'm using is (generically), =percentile(if(range1=cell,range2),.1) Range 1 and range 2 are named ranges of data, "cell" contains the criteria for range1. The problem is that the formula works fine for 50th, 75th and 90th percentiles but returns "-" when asked for a 10th or 25th. There are no zero's in the ranges but there are some blank cells. Is it possible that the formula is reading the blanks as zeros and therefor returning the null value? If this is the case is there a way to have the formula ignore the blanks?
Thanks for any suggestions that might help.
Peter
 

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

Forum statistics

Threads
1,224,621
Messages
6,179,943
Members
452,949
Latest member
beartooth91

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