From: bassjca on
I'm trying to get a percentile for a range, and I've tried various ways of
adding "=PERCENTILE" to the following range or restating the range.

=SUMIF($A$2:$A$8000,"<=180")-SUMIF($A$2:$A$8000,"<-7")

any suggestions?
From: Mike H on
Hi,

You didn't say which percentile you wanted so change this to suit

=PERCENTILE(IF(((A2:A8000<=180)*(A2:A8000>-7)*(A2:A8000<>"")),A2:A8000),0.1)

This is an array formula which must be entered by pressing CTRL+Shift+Enter
'and not just Enter. If you do it correctly then Excel will put curly brackets
'around the formula {}. You can't type these yourself. If you edit the formula
'you must enter it again with CTRL+Shift+Enter.
--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"bassjca" wrote:

> I'm trying to get a percentile for a range, and I've tried various ways of
> adding "=PERCENTILE" to the following range or restating the range.
>
> =SUMIF($A$2:$A$8000,"<=180")-SUMIF($A$2:$A$8000,"<-7")
>
> any suggestions?