Generating a RANKING based on a criteria, HELP!

juajar

New Member
Joined
Aug 25, 2006
Messages
20
Hi, I have some data which looks like this:





Is is a rank and is ordered by percentage in descending order. What I want to do is generate a new list below it which only puts the ones until the total is over 50%. In other words, I JUST want the rows below and inlucing the one which makes the total go over 50%.

Thanks in advance for all your help
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
One more thing

I would like for it to be a new list with only the ones that meet the criteria, not filter the same list.

Thanks
 
Upvote 0
Here is one way:
In E6 and drag down through E15 =Sum(E$6:E6)

In cell A18
=IF($A6<=MATCH(VLOOKUP(0.5,$E$6:$E$15,1,1),$E$6:$E$15)+1,A6,"")

Drag across and down
 
Upvote 0
Not working

Thanks for your reply, I can´t seem to get the formula to work. It references some cells that are no on the example.

Thanks
 
Upvote 0
Re: One more thing

I would like for it to be a new list with only the ones that meet the criteria, not filter the same list.

Thanks


F10:

=MATCH(TRUE,SUBTOTAL(9,INDIRECT(ADDRESS(ROW(B12),COLUMN(B2))&":"&ADDRESS(ROW(B12:B21),COLUMN(B12:B21))))>=F9,0)

which is confirmed with control+shift+enter, not just with enter.

F12, copied across then down:

=IF(ROWS(F$12:F12)<=$F$10,INDEX(B$12:B$21,ROWS(F$12:F12)),"")
 
Upvote 0

Forum statistics

Threads
1,226,240
Messages
6,189,820
Members
453,571
Latest member
Zale

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