Percentile with Several Conditionals

Aldonin

New Member
Joined
Jan 27, 2012
Messages
28
Hi all experts.


I have some data in the following way for which I'd need to get some percentiles:


I'd like a formula which could help me get the .5 percentile of the Rates (Column F) only of those which meet the following criteria: Process = Lift (Column B), Day = Tuesday, I know I have to use an array formula but have been failing badly to manage this.
Could you give me a hand? Thanks a lot!


A B C D E F

TeamProcessDayVolHrsRate
ALiftMonday322323140.13
CPushTuesday42324349.75
EDownTuesday1434332448.22
ALiftMonday32345465.92
BLiftMonday2346570.36
CPushTuesdat545434160.41
CPushTuesday23324565.11
CPushMonday3243257656.31
DPushTuesday432534351.26
DPushTuesday223374.33
CPushMonday2321443539.86
ALiftMonday34234576.07
DPushTuesday34545345100.13
EDownTuesday34236545.23
BLiftMonday356556750.63
CPushMonday565434551.64
EDownTuesdat233434322372.43

<colgroup><col><col span="2"><col span="3"></colgroup><tbody>
</tbody>
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
Control+shift+enter, not just enter:

=IFERROR(PERCENTILE(IF(B$2:B$18="lift",IF($C$2:$C$18="monday",$F$2:$F$18)),0.5),"not available")
 
Upvote 0
Thanks a lot for that Aladin: quick question, given that my table is quite huge in size, would it be more efficient tu use if and AND instead of nested ifs?
thanks!
 
Upvote 0
Thanks a lot for that Aladin: quick question, given that my table is quite huge in size, would it be more efficient tu use if and AND instead of nested ifs?
thanks!

If AGGREGATE function is available on your system, you might want try instead:

=AGGREGATE(16,6,$F$2:$F$18/($B$2:$B$18="lift")/($C$2:$C$18="Monday"),0.5)

which requires just enter. (I'd be interested to hear whether this formula has a better temporal score.)
 
Upvote 0

Forum statistics

Threads
1,220,965
Messages
6,157,119
Members
451,399
Latest member
alchavar

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