Extact Top 20 rows DYNAMIC

LORDMARKS

New Member
Joined
Jun 5, 2014
Messages
39
Hi all,

I have been looking for a nice way to extract the top 20 rows based on the value in one column.

The data table is approx 20 columns by 6000 rows, I use VBA to sort and apply filters in various ways, but I would like a way of keeping a small table at the top that keeps the top ten of the filtered values?

Is this possible or do I need to copy the data accross via vba


Thanks for any ideas
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
A formula solution is possible to provide top 10, or top 20 (you seem to be asking for both?), however, I don't think a formula solution will care about filters. It will simply return the top values.

Have you considered using a PivotTable for your analysis?
 
Upvote 0
Sorry for the confusion, Its top 20 I'm after, As far as I can tell, your correct and formulas want ignore filtered values.

I was thinking to copy, paste and sort to another sheet and then ref# to that...unless there is a reason why this is a bad idea?


Also the data uses approx 40 buttons to run various filters, would i be better off using drop downs and one button to lookup?
 
Upvote 0

Forum statistics

Threads
1,223,236
Messages
6,170,906
Members
452,366
Latest member
TePunaBloke

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