ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   PERCENTILE for a range (https://www.excelbanter.com/excel-discussion-misc-queries/259252-percentile-range.html)

bassjca

PERCENTILE for a range
 
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?

Mike H

PERCENTILE for a range
 
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?



All times are GMT +1. The time now is 03:38 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com