ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Conditional Percentile (https://www.excelbanter.com/excel-discussion-misc-queries/94720-conditional-percentile.html)

blatham

Conditional Percentile
 

Hi

I want to retrieve PERCENTILE information using the percentile function
but the range I need to look at depends on another variable. E.g if I
have the following in cols A and B :

a 1
b 10
a 2
b 20
a 3

I would like to use a formula to retrieve the 50th percentile for:

a's. this would be (1, 2, 3) = 2
b's. this would be (10, 20) = 15

Any ideas if this can be achieved using formulas or is some VBA
required?


--
blatham
------------------------------------------------------------------------
blatham's Profile: http://www.excelforum.com/member.php...o&userid=19441
View this thread: http://www.excelforum.com/showthread...hreadid=553225



All times are GMT +1. The time now is 02:38 AM.

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