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

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
What version of Excel are you using?

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’)
 
Upvote 0
What version of Excel are you using?

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’)
Updated profile

Office 365, Windows
 
Upvote 0
Thanks for that.
How about
+Fluff 1.xlsm
ABCDEFGHIJK
1
2
3NameLocationTotal PointsMainUrban
4Wayne Urban7Brian659Main
5B.T.Main52Vlad568Tier 2
6OlekseiUrban891Simone533Tier 1
7WadeMain86T.K.512
8VladMain568Archie137
9JeffUrban219Wade86
10VictoryMain21Prisha63
11YoshiiTier 2598B.T.52
12BrianMain659Kurt51
13T.K.Main512Pete47
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
Main
Cell Formulas
RangeFormula
K3:K6K3=UNIQUE(C4:C40)
G4:H13G4=LET(s,SORT(FILTER(B4:D40,C4:C40=G3),3,-1),INDEX(s,SEQUENCE(MIN(ROWS(s),10)),{1,3}))
Dynamic array formulas.
Cells with Data Validation
CellAllowCriteria
G3List=K3#
 
Upvote 0
Thanks for that.
How about
+Fluff 1.xlsm
ABCDEFGHIJK
1
2
3NameLocationTotal PointsMainUrban
4Wayne Urban7Brian659Main
5B.T.Main52Vlad568Tier 2
6OlekseiUrban891Simone533Tier 1
7WadeMain86T.K.512
8VladMain568Archie137
9JeffUrban219Wade86
10VictoryMain21Prisha63
11YoshiiTier 2598B.T.52
12BrianMain659Kurt51
13T.K.Main512Pete47
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
Main
Cell Formulas
RangeFormula
K3:K6K3=UNIQUE(C4:C40)
G4:H13G4=LET(s,SORT(FILTER(B4:D40,C4:C40=G3),3,-1),INDEX(s,SEQUENCE(MIN(ROWS(s),10)),{1,3}))
Dynamic array formulas.
Cells with Data Validation
CellAllowCriteria
G3List=K3#

Thanks for this start. I am receiving a #SPILL! result in range G4:H13 when I complete the formulas. Cell H4 is blank. When I toggle the dropdown, all of the locations return the same #SPILL! response.
 
Upvote 0
Clear the cells in G4:H13 with the exception of G4
Thank you. This formula works perfect, but then I discovered that I came up short of data in the table, and forgot to include weight class and sex.

So the dropdown feature worked perfect for what you initially provided, I thank you for this start. But I need the same feature to include weight and sex.

I've been experimenting with the formula in cell G4 to include multiple criteria. I attempted to enter another array for weight and another for sex, both pointing to their own Data Validation cells, basically mirroring cell K3, but I receive the pop error message that, "there are too few arguments for the function".

Is there a way to update the formula that goes into cell G4 to include these additional options?

So if I wish for my results to show all NAMES in the LIGHT WEIGHT CLASS as the MALE SEX in the MAIN LOCATION, my Top list should show but by way of the dropdown method as done for location, see example below:

Sample Top 10.xlsx
BCDEF
3NameWeight ClassSexLocationTotal Points
7BrianLightMaleMain659
10ArchieLightMaleMain137
12WadeLightMaleMain86
15KurtLightMaleMain51
19PeteLightMaleMain47
22SonnyLightMaleMain36
27KennyLightMaleMain26
28VictoryLightMaleMain21
Sheet3




Here is the data for the new table with the additional columns:

Sample Top 10.xlsx
BCDEF
3NameWeight ClassSexLocationTotal Points
4Wayne HeavyMaleUrban7
5B.T.HeavyMaleMain52
6OlekseiHeavyMaleUrban891
7WadeLightMaleMain86
8VladHeavyMaleMain568
9JeffHeavyMaleUrban219
10VictoryLightMaleMain21
11YoshiiHeavyMaleTier 2598
12BrianLightMaleMain659
13T.K.HeavyMaleMain512
14TakeshiHeavyMaleTier 19
15KurtLightMaleMain51
16ValentinoHeavyMaleMain14
17AbdulLightMaleUrban96
18MikeHeavyMaleUrban27
19SonnyLightMaleMain36
20TommyHeavyMaleMain25
21PaulLightMaleUrban83
22PeteLightMaleMain47
23RobertHeavyMaleUrban55
24DennisHeavyMaleMain43
25SeanLightMaleTier 210
26JeanLightFemaleUrban8
27ArchieLightMaleMain137
28KennyLightMaleMain26
29PacoLightMaleTier 255
30T.M.G.HeavyMaleTier 27
31SimoneLightFemaleMain533
32RositaLightFemaleTier 191
33MiaHeavyFemaleTier 225
34SonyaLightFemaleTier 1846
35PierreHeavyMaleTier 2219
36TerriLightFemaleTier 281
37RyanLightMaleUrban51
38PrishaLightFemaleMain63
39SvenHeavyMaleTier 246
40AcuraHeavyMaleTier 191
Sheet3
 
Upvote 0
How about
+Fluff 1.xlsm
ABCDEFGHIJKLMNOP
1
2
3NameWeight ClassSexLocationTotal PointsLightMaleMainHeavyMaleUrban
4Wayne HeavyMaleUrban7BrianLightMaleMain659LightFemaleMain
5B.T.HeavyMaleMain52ArchieLightMaleMain137Tier 2
6OlekseiHeavyMaleUrban891WadeLightMaleMain86Tier 1
7WadeLightMaleMain86KurtLightMaleMain51
8VladHeavyMaleMain568PeteLightMaleMain47
9JeffHeavyMaleUrban219SonnyLightMaleMain36
10VictoryLightMaleMain21KennyLightMaleMain26
11YoshiiHeavyMaleTier 2598VictoryLightMaleMain21
12BrianLightMaleMain659
13T.K.HeavyMaleMain512
14TakeshiHeavyMaleTier 19
15KurtLightMaleMain51
16ValentinoHeavyMaleMain14
17AbdulLightMaleUrban96
18MikeHeavyMaleUrban27
19SonnyLightMaleMain36
20TommyHeavyMaleMain25
21PaulLightMaleUrban83
22PeteLightMaleMain47
23RobertHeavyMaleUrban55
24DennisHeavyMaleMain43
25SeanLightMaleTier 210
26JeanLightFemaleUrban8
27ArchieLightMaleMain137
28KennyLightMaleMain26
29PacoLightMaleTier 255
30T.M.G.HeavyMaleTier 27
31SimoneLightFemaleMain533
32RositaLightFemaleTier 191
33MiaHeavyFemaleTier 225
34SonyaLightFemaleTier 1846
35PierreHeavyMaleTier 2219
36TerriLightFemaleTier 281
37RyanLightMaleUrban51
38PrishaLightFemaleMain63
39SvenHeavyMaleTier 246
40AcuraHeavyMaleTier 191
Main
Cell Formulas
RangeFormula
P3:P6,N3:O4N3=UNIQUE(C4:C40)
H4:L11H4=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)),SEQUENCE(,5)))
Dynamic array formulas.
Cells with Data Validation
CellAllowCriteria
H3:J3List=N3#
 
Upvote 0
How about
+Fluff 1.xlsm
ABCDEFGHIJKLMNOP
1
2
3NameWeight ClassSexLocationTotal PointsLightMaleMainHeavyMaleUrban
4Wayne HeavyMaleUrban7BrianLightMaleMain659LightFemaleMain
5B.T.HeavyMaleMain52ArchieLightMaleMain137Tier 2
6OlekseiHeavyMaleUrban891WadeLightMaleMain86Tier 1
7WadeLightMaleMain86KurtLightMaleMain51
8VladHeavyMaleMain568PeteLightMaleMain47
9JeffHeavyMaleUrban219SonnyLightMaleMain36
10VictoryLightMaleMain21KennyLightMaleMain26
11YoshiiHeavyMaleTier 2598VictoryLightMaleMain21
12BrianLightMaleMain659
13T.K.HeavyMaleMain512
14TakeshiHeavyMaleTier 19
15KurtLightMaleMain51
16ValentinoHeavyMaleMain14
17AbdulLightMaleUrban96
18MikeHeavyMaleUrban27
19SonnyLightMaleMain36
20TommyHeavyMaleMain25
21PaulLightMaleUrban83
22PeteLightMaleMain47
23RobertHeavyMaleUrban55
24DennisHeavyMaleMain43
25SeanLightMaleTier 210
26JeanLightFemaleUrban8
27ArchieLightMaleMain137
28KennyLightMaleMain26
29PacoLightMaleTier 255
30T.M.G.HeavyMaleTier 27
31SimoneLightFemaleMain533
32RositaLightFemaleTier 191
33MiaHeavyFemaleTier 225
34SonyaLightFemaleTier 1846
35PierreHeavyMaleTier 2219
36TerriLightFemaleTier 281
37RyanLightMaleUrban51
38PrishaLightFemaleMain63
39SvenHeavyMaleTier 246
40AcuraHeavyMaleTier 191
Main
Cell Formulas
RangeFormula
P3:P6,N3:O4N3=UNIQUE(C4:C40)
H4:L11H4=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)),SEQUENCE(,5)))
Dynamic array formulas.
Cells with Data Validation
CellAllowCriteria
H3:J3List=N3#

This is great. It works. Yet, the results show all 5 columns. I only need the name and points to show.

Is there a tweak to the formula that would show just columns 1 and 5 after selecting the dropdown options?
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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