Top 10% of Sorted Data

andy3919

New Member
Joined
Feb 14, 2005
Messages
32
Good Day All.

I have a data set of about 600 records. I want to be able to extract the Top 10% of the records and get rid of the other 90% - the values can change over time, so I always want to start with the full 600 records.

I am aware of the conditional formatting function that will identify the Top 10%, but I was looking for VBA language (does not have to be VBA - just automated), that calculated the 10% subset and either moved it to a different sheet, OR deleted the bottom 90% - in either instance the result being just the list of the top 10% of the data set.

I hope that makes sense.

Thanks in advance!!!
 
If you don't need them, you don't have to pull formula across the whole range under “name by rank”.
Maybe 50% is enough? So that's 500 formulas less.
So that way you use less sheet load.
And you can delete unneeded if you don’t need same volume data.
So you can live with much less sheet load. E.g. delete some if it is of no use.
Maybe deduct some COUNTIF-s starting from 5,4,3...
I believe it can be probably even easier that this but for a start it is quite ok.

You can add macro and copy just values for archive.
 
Last edited:
Upvote 0

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
Thanks...
:)

If you're having any more special wishes and ideas to implement - you can contact me also (for sure) via p.m.
As I said it can be done probably with easier formulas etc., but this method was I think also ok.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,261
Messages
6,123,931
Members
449,134
Latest member
NickWBA

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