Generate Top 10 Using 3 Columns Specific To Location

ExcelNoob_111

New Member
Joined
Mar 16, 2016
Messages
11
Office Version
  1. 365
Platform
  1. Windows
Good Day.

I need assistance generating a Top 10 ranking using 3 columns specific to location. I would like for the results to show the Top 10 for each location after a data refresh on a daily basis. At this time, the data table (Name/Location/Total Points) which is located on another tab of a large workbook is refreshed using a macro. The points are accumulated on this tab after manual entry of activities performed on another tab. Once I refresh the data, this list will perform an update and order all of the performers from highest to lowest (adding all of their activity points). I would like to take this list and break it down by location, instead of everyone in one list. I'm at a loss as to how to develop a formula to look at the location column to develop a list using the points and name. If a dropdown feature is possible to create a top 10 list for "X" location, that would be suffice. But having a standard top 10 list based on location will do (maybe through a VLOOKUP).

Also, is there a way to avoid duplication of points in one location that one name would be ignored, but to bump it down one spot (either alphabetically, or by some other criteria)? I've encountered issues with duplicated points but only one name was chosen and the other ignored, not even listed.

Mind you, this list is only a sample size, there are close to 200 names, and possibly growing, but I can just change the range if I were to get a working formula.

If possible, the end result should be a separate Top 10 for Main, Tier 1, Tier 2, and Urban.

Or is this too complicated for a common formula and a macro may be needed?

Book1
BCD
3NameLocationTotal Points
4Wayne Urban7
5B.T.Main52
6OlekseiUrban891
7WadeMain86
8VladMain568
9JeffUrban219
10VictoryMain21
11YoshiiTier 2598
12BrianMain659
13T.K.Main512
14TakeshiTier 19
15KurtMain51
16ValentinoMain14
17AbdulUrban96
18MikeUrban27
19SonnyMain36
20TommyMain25
21PaulUrban83
22PeteMain47
23RobertUrban55
24DennisMain43
25SeanTier 210
26JeanUrban8
27ArchieMain137
28KennyMain26
29PacoTier 255
30T.M.G.Tier 27
31SimoneMain533
32RositaTier 191
33MiaTier 225
34SonyaTier 1846
35PierreTier 2219
36TerriTier 281
37RyanUrban51
38PrishaMain63
39SvenTier 246
40AcuraTier 191
Sheet1


Thanks to any and all whom may be of assistance.
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
Ok, how about
Excel Formula:
=LET(s,SORT(FILTER(B4:F40,(IF(H3="",1,C4:C40=H3))*(IF(I3="",1,D4:D40=I3))*(IF(J3="",1,E4:E40=J3)),""),5,-1),INDEX(s,SEQUENCE(MIN(ROWS(s),10)),{1,5}))
 
Upvote 0
Solution
Ok, how about
Excel Formula:
=LET(s,SORT(FILTER(B4:F40,(IF(H3="",1,C4:C40=H3))*(IF(I3="",1,D4:D40=I3))*(IF(J3="",1,E4:E40=J3)),""),5,-1),INDEX(s,SEQUENCE(MIN(ROWS(s),10)),{1,5}))

My gratitude. I appreciate your effort and time put into making this work for me.

This is exactly what I'm looking for.

Thank you very much.

Resolved.
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,323
Members
452,635
Latest member
laura12345

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