Top 10 List without pivot table

Eskonn

New Member
Joined
Mar 28, 2018
Messages
26
Office Version
  1. 365
Platform
  1. Windows
I would like to create a top 10 list without using a pivot table.
On sheet 1 there will be data that is added to daily. Below is an example of the data.

1631892823006.png


Then on sheet 2 I would like to add a section that has a top 10 list. As data is entered on sheet 1, I would like the list to update and change accordingly.
From sheet 1 looking at Column D (item #) it just needs to count how many times the item shows up in the data and rank it accordingly.
So from the data example above it would be as follows
1. Item 3000 shows 4 times
2. item 422878 shows 3 times
etc

1631892979091.png
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
What version of Excel do you have? This is pretty easy if you have Excel 365, more difficult with earlier versions. Please update your user profile.
 
Upvote 0
What version of Excel do you have? This is pretty easy if you have Excel 365, more difficult with earlier versions. Please update your user profile.

I am using Excel 365

Updated my profile with that info.

Thanks
 
Upvote 0
Thank you for doing that. Try:

Book1 (version 1).xlsb
ABCDEFGHIJ
1MonthInvoiced DateInvoice #Item #DescriptionSizeTop 10 List
2July3000AItem #CountDescription
3July3000A30004A
4May395832B4228783C
5June422878C3958321B
6July422878C249521D
7April24952D4029541E
8January3000A4798721F
9March402954E
10April3000A
11June479872F
12February422878C
13
Sheet22
Cell Formulas
RangeFormula
H3:H8H3=INDEX(UNIQUE(SORTBY(D2:D20,COUNTIF(D2:D12,D2:D20),-1)),SEQUENCE(MIN(10,ROWS(UNIQUE(D2:D20))-1)))
I3:I8I3=COUNTIF(D2:D20,H3#)
J3:J8J3=INDEX(E2:E20,MATCH(H3#,D2:D20,0))
Dynamic array formulas.


If you're going to add data to your lists, change the upper row number to something that is past your expected upper limit.
 
Upvote 0
Thank you for doing that. Try:

Book1 (version 1).xlsb
ABCDEFGHIJ
1MonthInvoiced DateInvoice #Item #DescriptionSizeTop 10 List
2July3000AItem #CountDescription
3July3000A30004A
4May395832B4228783C
5June422878C3958321B
6July422878C249521D
7April24952D4029541E
8January3000A4798721F
9March402954E
10April3000A
11June479872F
12February422878C
13
Sheet22
Cell Formulas
RangeFormula
H3:H8H3=INDEX(UNIQUE(SORTBY(D2:D20,COUNTIF(D2:D12,D2:D20),-1)),SEQUENCE(MIN(10,ROWS(UNIQUE(D2:D20))-1)))
I3:I8I3=COUNTIF(D2:D20,H3#)
J3:J8J3=INDEX(E2:E20,MATCH(H3#,D2:D20,0))
Dynamic array formulas.


If you're going to add data to your lists, change the upper row number to something that is past your expected upper limit.

Eric

Thanks for your help with this. I was able to get the formula to work for the current data but as I added data it didn't seem to update properly even with changing the row limits.
I ended up just going with a pivot table.

Thank you for your time with this question.
 
Upvote 0
After I posted it, I noticed I had a typo in the formula:

=INDEX(UNIQUE(SORTBY(D2:D20,COUNTIF(D2:D12,D2:D20),-1)),SEQUENCE(MIN(10,ROWS(UNIQUE(D2:D20))-1)))

should be

=INDEX(UNIQUE(SORTBY(D2:D20,COUNTIF(D2:D20,D2:D20),-1)),SEQUENCE(MIN(10,ROWS(UNIQUE(D2:D20))-1)))

to match the maximum row like all the other "20"s in the formula. Maybe that was the issue. I'm glad you got a solution regardless though. Let us know if you have any other questions.
 
Upvote 0

Forum statistics

Threads
1,214,387
Messages
6,119,222
Members
448,877
Latest member
gb24

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