Retrieve Top 10 entries per day

knobi

New Member
Joined
Jan 7, 2008
Messages
36
Office Version
  1. 365
Platform
  1. Windows
Good day !

I have a spreadsheet with 3 columns : Date, Time and Number of apples.
How could i create an additional table including only the top 10 ?

Date Time Apples
08/15/22 10:00:00 AM 100
08/15/22 10:15:00 AM 50
08/15/22 10:30:00 AM 35
08/15/22 10:45:00 AM 80
08/15/22 11:00:00 AM 95
08/15/22 11:15:00 AM 105
08/15/22 11:30:00 AM 110
08/15/22 11:45:00 AM 123
08/15/22 12:00:00 PM 80
08/15/22 12:15:00 PM 96
08/15/22 12:30:00 PM 78
08/15/22 12:45:00 PM 80
08/15/22 01:00:00 PM 95
08/15/22 01:15:00 PM 105
08/15/22 01:30:00 PM 110
08/15/22 01:45:00 PM 123
08/11/22 10:45:00 AM 80
08/11/22 11:00:00 AM 96
08/11/22 11:15:00 AM 80
08/11/22 11:30:00 AM 95
08/11/22 11:45:00 AM 105
08/11/22 12:00:00 PM 80
08/11/22 12:15:00 PM 80
08/11/22 12:30:00 PM 95
08/11/22 12:45:00 PM 105
08/11/22 01:00:00 PM 110
08/11/22 01:15:00 PM 123
08/11/22 01:30:00 PM 80
08/11/22 01:45:00 PM 96

Date Time Apples Retrieve
08/15/22 11:45:00 AM 123 Top 10 from day 15
08/15/22 01:45:00 PM 123 Top 10 from day 15
08/15/22 11:30:00 AM 110 Top 10 from day 15
08/15/22 01:30:00 PM 110 Top 10 from day 15
08/15/22 11:15:00 AM 105 Top 10 from day 15
08/15/22 01:15:00 PM 105 Top 10 from day 15
08/15/22 10:00:00 AM 100 Top 10 from day 15
08/15/22 12:15:00 PM 96 Top 10 from day 15
08/15/22 11:00:00 AM 95 Top 10 from day 15
08/15/22 01:00:00 PM 95 Top 10 from day 15
08/11/22 01:15:00 PM 123 Top 10 from day 11
08/11/22 01:00:00 PM 110 Top 10 from day 11
08/11/22 11:45:00 AM 105 Top 10 from day 11
08/11/22 12:45:00 PM 105 Top 10 from day 11
08/11/22 11:00:00 AM 96 Top 10 from day 11
08/11/22 01:45:00 PM 96 Top 10 from day 11
08/11/22 11:30:00 AM 95 Top 10 from day 11
08/11/22 12:30:00 PM 95 Top 10 from day 11
08/11/22 10:45:00 AM 80 Top 10 from day 11
08/11/22 11:15:00 AM 80 Top 10 from day 11
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
A couple of things would help.

  1. I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)

  2. MrExcel has a tool called “XL2BB” that lets you post samples of your data that will allow us to copy/paste it to our Excel spreadsheets (& get the sample data easily into the correct rows/columns), so we can work with the same copy of data that you are. Instructions on using this tool can be found here: XL2BB Add-in

    Note that there is also a "Test Here” forum on this board. This is a place where you can test using this tool (or any other posting techniques that you want to test) before trying to use those tools in your actual posts.
 
Upvote 0
Date Time Apples
08/15/22 10:00:00 AM 100
08/15/22 10:15:00 AM 50
08/15/22 10:30:00 AM 35
08/15/22 10:45:00 AM 80
08/15/22 11:00:00 AM 95
08/15/22 11:15:00 AM 105
08/15/22 11:30:00 AM 110
08/15/22 11:45:00 AM 123
08/15/22 12:00:00 PM 80
08/15/22 12:15:00 PM 96
08/15/22 12:30:00 PM 78
08/15/22 12:45:00 PM 80
08/15/22 01:00:00 PM 95
08/15/22 01:15:00 PM 105
08/15/22 01:30:00 PM 110
08/15/22 01:45:00 PM 123
08/11/22 10:45:00 AM 80
08/11/22 11:00:00 AM 96
08/11/22 11:15:00 AM 80
08/11/22 11:30:00 AM 95
08/11/22 11:45:00 AM 105
08/11/22 12:00:00 PM 80
08/11/22 12:15:00 PM 80
08/11/22 12:30:00 PM 95
08/11/22 12:45:00 PM 105
08/11/22 01:00:00 PM 110
08/11/22 01:15:00 PM 123
08/11/22 01:30:00 PM 80
08/11/22 01:45:00 PM 96
First of all, convert the list to a table
1669101489906.png

Then, select Insert and then select Pivot Table

1669101605992.png


TOP 20s
1669101811070.png
 
Upvote 0

Forum statistics

Threads
1,214,590
Messages
6,120,423
Members
448,961
Latest member
nzskater

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