Percentile with filter where filtered out data is ignored

MrsFraser07

New Member
Joined
Aug 16, 2017
Messages
44
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
Hi there,

I am stumped if this is possible. What I am trying to do is calculate a Percentile using only visable data after I've filtered several columns. For example, if I filtered column E to "Frobisher" how could I calculate the 50th Percentile of column F so it doesn't include anything that is "Midale"? I would also like to be able to filter on column H and have the Percentile calculate using only the visable filtered data. I can't upload a mini-sheet, because I'm at work and that's not allowed so hopefully my image makes sense. This is just a small sampling of the data I have, which is why I want to be able to get a Percentile using only filtered data. I want to be able to filter multiple things without having to change my array in the Percentile.Inc function.

AEFH
101/04-05-005-04W2/0Frobisher
70,000​
9/7/2021​
193/04-09-005-04W2/0Frobisher
65,000​
12/23/2010​
103/16-36-001-05W2/0Midale
22,500​
2/5/2020​
101/01-02-001-06W2/0Midale
44,000​
3/27/2017​
101/03-14-001-06W2/0Midale
77,000​
10/17/2017​
102/16-25-001-06W2/0Midale
13,000​
5/14/2017​
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
I found the answer to my own question! Posting it here in case it's helpful to anyone else.

=(AGGREGATE(16,5,F2:F331,0.1)
 
Upvote 0
Solution

Forum statistics

Threads
1,215,088
Messages
6,123,056
Members
449,091
Latest member
ikke

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