Is there a way to determine the top 80% of a list using multiple conditions

TheNoocH

Well-known Member
Joined
Oct 6, 2004
Messages
3,482
Here's a quick example...sorry for the formatting...but I don't have the tools to post html sheets...if someone could point me to what is being used these days i'll add it

but essentially i'm trying to figure out if Running Value is top 80% of all values based upon the multiple criteria
i added 2 helper columns to show logic of what trying to do and included what i would expect in the Top 80% column...
any help would be great...thanks


Criteria1 Criteria2 Criteria3 Value SubGroup % of sub Top 80%
1 A X 100 170 58.82% Y
1 A X 50 170 29.41% Y
1 A X 20 170 11.76% N
1 B X 50 50 100.00% Y
1 C X 100 100 100.00% Y
1 C Y 50 80 62.50% Y
1 C Y 20 80 25.00% Y
1 C Y 10 80 12.50% N
2 A Z 100 250 40.00% Y
2 A Z 50 250 20.00% Y
2 A Z 40 250 16.00% Y
2 A Z 30 250 12.00% Y
2 A Z 20 250 8.00% N
2 A Z 10 250 4.00% N
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
I used this array formula in G2 copied down and got the same results you showed

=IF(F2>=PERCENTILE(IF(A$2:A$15=A2,IF(B$2:B$15=B2,IF(C$2:C$15=C2,F$2:F$15))),0.2),"Y","N")

confirm with CTRL+SHIFT+ENTER
 
Upvote 0

Forum statistics

Threads
1,215,235
Messages
6,123,782
Members
449,123
Latest member
StorageQueen24

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