Quiz Scores Leaderboard

stefanaalten

Board Regular
Joined
Feb 1, 2011
Messages
71
Office Version
  1. 365
Platform
  1. Windows
Hi,

I'm trying to compile a "leaderboard" for our weekly quizzes, which since the start of the pandemic have become our mainstay social activity (and good fun they are too). It's only among friends but can get pretty competitive! I have produced a spreadsheet to record the weekly scores, but want to produce an overall ranking, over time, showing which team has come in which place in a given week (based on the total score for that week).

So the "output" I'm looking to produce shows for a given quiz date basis which team has come 1st, 2nd, 3rd, 4th (i.e. the actual scores are immaterial - it's only the ranking that matters).

Can anyone please help me on my way? I've tried playing around with pivot tables but am getting mightily confused! Probably a really simple "problem" to solve but I'm not really sure how to go about, and any help would be appreciated! :-)

My source data is like this:
Scores on the Doors - Totals.xlsx
ABCDEFGHIJ
1Row IDQuiz DateHostRound No.Round TitleA&RE&MM&MN&SW&M
212021-01-08W&M1Colours3543
322021-01-08W&M2Water63108
432021-01-08W&M3Sheep or Rabbit6575
542021-01-08W&M470's89.510.59.5
652021-01-08W&M5Drink3226
762021-01-22E&M180's pop51169
872021-01-22E&M2Films/songs1012416
982021-01-22E&M3G713141315
1092021-01-22E&M4Film soundtracks4478
11102021-01-22E&M5Live Aid810713
12112021-01-29A&R1Fruit & Veg12151515
13122021-01-29A&R2Trump6354
14132021-01-29A&R3Dance Moves7487
15142021-01-29A&R4In Continent65911
16152021-01-29A&R5Spot the Dog25251926
17162021-02-05M&M1Knobs & Knockers2.553.55
18172021-02-05M&M2DIY2.543.55
19182021-02-05M&M3Arts & Crafts2574.5
20192021-02-05M&M4Sport4425
21202021-02-05M&M5Picture Round1418.51721.5
22212021-02-05M&M6Silly65.536
23222021-02-12W&M11980's4555
24232021-02-12W&M2British Wildlife6356
25242021-02-12W&M3American or Canadian7877
26252021-02-12W&M4Just Desserts7.55.588
27262021-02-12W&M5Cats19212715.5
28272021-02-19N&S1Where Am I?6775
29282021-02-19N&S2Alphabetical Capitals9121512
30292021-02-19N&S3Hungarian Phrasebook5587
31302021-02-19N&S4Parlez-vous Inuit?7101010
32312021-02-19N&S5World Music6769
33322021-02-19N&S6Bonus Round: Fruit & Veg14.5111413
34332021-02-26E&M1By the Bard7756
35342021-02-26E&M2Tallest and Heaviest6733
36352021-02-26E&M3Good Citizen6558
37362021-02-26E&M4Sex Pests10131413
38372021-02-26E&M5Colours4324
Scores
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
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’)

Maybe
+Fluff 1.xlsm
ABCDEFGHIJKLMNO
1Row IDQuiz DateHostRound No.Round TitleA&RE&MM&MN&SW&M22/01/2021
2108/01/2021W&M1Colours3543A&R403
3208/01/2021W&M2Water63108E&M05
4308/01/2021W&M3Sheep or Rabbit6575M&M512
5408/01/2021W&M470's89.510.59.5N&S374
6508/01/2021W&M5Drink3226W&M611
7622/01/2021E&M180's pop51169
8722/01/2021E&M2Films/songs1012416
9822/01/2021E&M3G713141315
10922/01/2021E&M4Film soundtracks4478
111022/01/2021E&M5Live Aid810713
121129/01/2021A&R1Fruit & Veg12151515
131229/01/2021A&R2Trump6354
141329/01/2021A&R3Dance Moves7487
151429/01/2021A&R4In Continent65911
161529/01/2021A&R5Spot the Dog25251926
171605/02/2021M&M1Knobs & Knockers2.553.55
181705/02/2021M&M2DIY2.543.55
191805/02/2021M&M3Arts & Crafts2574.5
201905/02/2021M&M4Sport4425
212005/02/2021M&M5Picture Round1418.51721.5
222105/02/2021M&M6Silly65.536
232212/02/2021W&M11980's4555
242312/02/2021W&M2British Wildlife6356
252412/02/2021W&M3American or Canadian7877
262512/02/2021W&M4Just Desserts7.55.588
272612/02/2021W&M5Cats19212715.5
282719/02/2021N&S1Where Am I?6775
292819/02/2021N&S2Alphabetical Capitals9121512
302919/02/2021N&S3Hungarian Phrasebook5587
313019/02/2021N&S4Parlez-vous Inuit?7101010
323119/02/2021N&S5World Music6769
333219/02/2021N&S6Bonus Round: Fruit & Veg14.5111413
343326/02/2021E&M1By the Bard7756
353426/02/2021E&M2Tallest and Heaviest6733
363526/02/2021E&M3Good Citizen6558
373626/02/2021E&M4Sex Pests10131413
383726/02/2021E&M5Colours4324
Lists
Cell Formulas
RangeFormula
N2:N6N2=SUMPRODUCT(($B$2:$B$38=$M$1)*($F$1:$J$1=M2)*($F$2:$J$38))
O2:O6O2=RANK(N2,$N$2:$N$6)
 
Upvote 0
For what it's worth, I'll throw this in. It requires some helper columns in T:Z that can be hidden.

MRXLMAY21.xlsm
MNOPQRSTUVWX
1Quiz\TeamA&RE&MM&MN&SW&MA&RE&MM&MN&SW&M
2Overall5th4th1st2nd3rd6680.5136.5124.5124
308/01/20213rd4th1st2ndHosts2624.533.531.50
422/01/20213rdHosts2nd4th1st400513761
529/01/2021Hosts2nd4th2nd1st056525663
6     00000
Sheet7
Cell Formulas
RangeFormula
N2:R2N2=IF(M3="","",CHOOSE(RANK(T2,$T2:$X2),"1st","2nd","3rd","4th","5th"))
N3:R6N3=IF(M3="","",CHOOSE(RANK(T3,$T3:$X3),"1st","2nd","3rd","4th","Hosts"))
T2:X2T2=SUM(T1:T300)
T3:X6T3=SUMIF($B:$B,$M3,F:F)
 
Upvote 0
Another option (in M9) if you have 365
+Fluff 1.xlsm
ABCDEFGHIJKLMNO
1Row IDQuiz DateHostRound No.Round TitleA&RE&MM&MN&SW&M19/02/2021
2108/01/2021W&M1Colours3543A&R47.54
3208/01/2021W&M2Water63108E&M523
4308/01/2021W&M3Sheep or Rabbit6575M&M601
5408/01/2021W&M470's89.510.59.5N&S05
6508/01/2021W&M5Drink3226W&M562
7622/01/2021E&M180's pop51169
8722/01/2021E&M2Films/songs101241619/02/2021
9822/01/2021E&M3G713141315M&M601
10922/01/2021E&M4Film soundtracks4478W&M562
111022/01/2021E&M5Live Aid810713E&M523
121129/01/2021A&R1Fruit & Veg12151515A&R47.54
131229/01/2021A&R2Trump6354N&S0Host
141329/01/2021A&R3Dance Moves7487
151429/01/2021A&R4In Continent65911
161529/01/2021A&R5Spot the Dog25251926
171605/02/2021M&M1Knobs & Knockers2.553.55
181705/02/2021M&M2DIY2.543.55
191805/02/2021M&M3Arts & Crafts2574.5
201905/02/2021M&M4Sport4425
212005/02/2021M&M5Picture Round1418.51721.5
222105/02/2021M&M6Silly65.536
232212/02/2021W&M11980's4555
242312/02/2021W&M2British Wildlife6356
252412/02/2021W&M3American or Canadian7877
262512/02/2021W&M4Just Desserts7.55.588
272612/02/2021W&M5Cats19212715.5
282719/02/2021N&S1Where Am I?6775
292819/02/2021N&S2Alphabetical Capitals9121512
302919/02/2021N&S3Hungarian Phrasebook5587
313019/02/2021N&S4Parlez-vous Inuit?7101010
323119/02/2021N&S5World Music6769
333219/02/2021N&S6Bonus Round: Fruit & Veg14.5111413
343326/02/2021E&M1By the Bard7756
353426/02/2021E&M2Tallest and Heaviest6733
363526/02/2021E&M3Good Citizen6558
373626/02/2021E&M4Sex Pests10131413
383726/02/2021E&M5Colours4324
39
Lists
Cell Formulas
RangeFormula
N2:N6N2=SUMPRODUCT(($B$2:$B$38=$M$1)*($F$1:$J$1=M2)*($F$2:$J$38))
O2:O6O2=RANK(N2,$N$2:$N$6)
M9:O13M9=LET(Totals,SUBTOTAL(9,OFFSET(F2:J38,MATCH(M8,B2:B38,0)-1,SEQUENCE(5,,0),COUNTIF(B2:B38,M8),1)),Rnk,MATCH(Totals,SORT(Totals,,-1),0),CHOOSE({1,2,3},SORTBY(TRANSPOSE(F1:J1),Totals,-1),SORTBY(Totals,Rnk),SUBSTITUTE(SORT(Rnk),5,"Host")))
Dynamic array formulas.
 
Upvote 0
Snakehips, Fluff, thank you very much for both your suggested solutions! I have gone for the one suggested by Snakehips, but with a small change. I have changed the ordinal numbers (1st, 2nd, 3rd, 4th) to just plain numbers (1, 2, 3, 4) and instead of basing the overall ranking (in N2:R2) on the total number of points, I have changed this to:

=COUNTIF(N3:N18,1)*4+COUNTIF(N3:N18,2)*3+COUNTIF(N3:N18,3)*2+COUNTIF(N3:N18,4)

i.e. 4 points for a win, 3 points for 2nd place, 2 points for 3rd place, and 1 point for 4th place.

Can I just ask whether that seems like a "fair" system to get a good idea of who the overall winners are?

Thanks again!
 
Upvote 0
Ah ... I just spotted a flaw in the overall logic in Snakehips suggested solution (or rather, I didn't make the situation clear enough!) Not all teams are present at every quiz, For instance, M&M did not take part on 2021-04-09 and 2021-04-23 but the calculations (in T3:X19) turn this into effectively coming last in the quiz that week and also results in no team being flagged as "hosts" (in N3:R19).

Scores on the Doors - Totals.xlsx
ABCDEFGHIJKLMNOPQRSTUVWX
1Row IDQuiz DateHostRound No.Round TitleA&RE&MM&MN&SW&MQuiz/TeamA&RE&MM&MN&SW&MA&RE&MM&MN&SW&M
212021-01-08W&M1Colours3543Overall2634382739
322021-01-08W&M2Water631082021-01-083412Hosts2624.533.531.50
432021-01-08W&M3Sheep or rabbit65752021-01-15341Hosts238.53447045
542021-01-08W&M470's89.510.59.52021-01-223Hosts241400513761
652021-01-08W&M5Drink32262021-01-29Hosts2421056525663
762021-01-15N&S1Classic Citroëns54672021-02-0542Hosts31314203647
872021-01-15N&S2Numbers round45412021-02-122314Hosts43.542.55241.50
982021-01-15N&S3Watching the detectives8.5816152021-02-19431Hosts247.55260056
1092021-01-15N&S4Name that tune12815132021-02-263Hosts142330352934
11102021-01-15N&S5Board with lockdown99692021-03-05Hosts4132050565152
12112021-01-22E&M180's pop511692021-03-1241Hosts22546505555
13122021-01-22E&M2Films/songs10124162021-03-193214Hosts354555290
14132021-01-22E&M3G7131413152021-03-26214Hosts33638.530.5035
15142021-01-22E&M4Film soundtracks44782021-04-091443262.5005461.5
16152021-01-22E&M5Live Aid8107132021-04-2341432053.7505053.5
17162021-01-29A&R1Fruit & veg121515152021-04-304321Hosts41.552.55459.50
18172021-01-29A&R2Trump63542021-05-0742Hosts31273303142
19182021-01-29A&R3Dance moves74872021-05-14323Hosts1465046065
20192021-01-29A&R4In continent65911
21202021-01-29A&R5Spot the dog25251926
22212021-02-05M&M1Knobs & knockers2.553.55
23222021-02-05M&M2DIY2.543.55
24232021-02-05M&M3Arts & crafts2574.5
25242021-02-05M&M4Sport4425
26252021-02-05M&M5Picture round1418.51721.5
27262021-02-05M&M6Silly65.536
28272021-02-12W&M11980's4555
29282021-02-12W&M2British wildlife6356
30292021-02-12W&M3American or Canadian7877
31302021-02-12W&M4Just desserts7.55.588
32312021-02-12W&M5Cats19212715.5
33322021-02-19N&S1Where am I?6775
34332021-02-19N&S2Alphabetical capitals9121512
35342021-02-19N&S3Hungarian phrasebook5587
36352021-02-19N&S4Parlez-vous Inuit?7101010
37362021-02-19N&S5World music6769
38372021-02-19N&S6Bonus round: fruit & veg14.5111413
39382021-02-26E&M1By the bard7756
40392021-02-26E&M2Tallest and heaviest6733
41402021-02-26E&M3Good citizen6558
42412021-02-26E&M4Sex pests10131413
43422021-02-26E&M5Colours4324
44432021-03-05A&R1Science & nature71048
45442021-03-05A&R2Ali plays piano12111615
46452021-03-05A&R380s prices8952
47462021-03-05A&R4Summertime5768
48472021-03-05A&R5Paintings18192019
49482021-03-12M&M1Music3522
50492021-03-12M&M2On the scent6879
51502021-03-12M&M3Natty headgear56.556.5
52512021-03-12M&M4Use your loaf4243
53522021-03-12M&M5Bloody nutter6654
54532021-03-12M&M6Doctors3037.53230.5
55542021-03-19W&M1Going green5787
56552021-03-19W&M2The long, tall and short of it24.551
57562021-03-19W&M3Beside the seaside23.574
58572021-03-19W&M4Dead or alive12131611
59582021-03-19W&M580s pop1417196
60592021-03-26N&S1Lookback on lockdown2.53.543.5
61602021-03-26N&S2Boat bits5874
62612021-03-26N&S3De imperatoribus romanis3323
63622021-03-26N&S4Etymology4.552.56.5
64632021-03-26N&S5Smullyanisms7648
65642021-03-26N&S6Hot homonyms14131110
66652021-04-09E&M1General knowledge141414
67662021-04-09E&M2Mark plays guitar171117
68672021-04-09E&M3BAR7.597
69682021-04-09E&M4Not my first rodeo937.5
70692021-04-09E&M5Flowers151716
71702021-04-23A&R1Catchphrases98.513
72712021-04-23A&R2No name101111
73722021-04-23A&R3Numbers786
74732021-04-23A&R4Round 4777
75742021-04-23A&R5What comes next20.7515.516.5
76752021-04-30W&M1Oscars3665
77762021-04-30W&M2Butterfly or moth4663
78772021-04-30W&M3Single letter answers10131917
79782021-04-30W&M4Food of the world24.527.52334.5
80792021-05-07M&M1Watching the detectives3555
81802021-05-07M&M2Lettuce or tomato6857
82812021-05-07M&M3Name the year2367
83822021-05-07M&M4Smells7567
84832021-05-07M&M5Picture round912916
85842021-05-14N&S1Vive la revolution!15141216
86852021-05-14N&S2Film soundtracks6336
87862021-05-14N&S3Connections - hops67714
88872021-05-14N&S4Impressionist art810108
89882021-05-14N&S5Saintly cities8121217
90892021-05-14N&S6Connections 2 - Tintin3424
9190
9291
9392
9493
9594
9695
9796
Scores
Cell Formulas
RangeFormula
N2:R2N2=COUNTIF(N3:N18,1)*4+COUNTIF(N3:N18,2)*3+COUNTIF(N3:N18,3)*2+COUNTIF(N3:N18,4)
N3:R19N3=IF(M3="","",CHOOSE(RANK(T3,$T3:$X3),1,2,3,4,"Hosts"))
T3:X19T3=SUMIF($B:$B,$M3,F:F)
 
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’)
 
Upvote 0
Rather than giving 4, 3, 2 & 1 points I would tend to give a bit more weight to them & would also use an average so they are not penalised if they don't play.
+Fluff 1.xlsm
MNOPQRSTUVWX
1Quiz/TeamA&RE&MM&MN&SW&MA&RE&MM&MN&SW&M
2Overall2646703067
308/01/20213412Hosts2624.533.531.50
415/01/2021341Hosts238.53447045
522/01/20213Hosts241400513761
629/01/2021Hosts2421056525663
705/02/202142Hosts31314203647
812/02/20212314Hosts43.542.55241.50
919/02/2021431Hosts247.55260056
1026/02/20213Hosts142330352934
1105/03/2021Hosts4132050565152
1212/03/202141Hosts22546505555
1319/03/20213214Hosts354555290
1426/03/2021214Hosts33638.530.5035
1509/04/20211Hosts-3262.5005461.5
1623/04/2021Hosts1-32053.7505053.5
1730/04/20214321Hosts41.552.55459.50
1807/05/202142Hosts31273303142
1914/05/2021323Hosts1465046065
Lists
Cell Formulas
RangeFormula
N2:R2N2=SUM(COUNTIFS(N3:N19,{1,2,3,4})*{100,50,20,10})/COUNTIF(N3:N19,"<5")
N3:R19N3=IF($M3="","",IF(COUNTIFS($B:$B,$M3,$C:$C,N$1),"Hosts",IF(T3=0,"-",RANK(T3,$T3:$X3))))
T3:X19T3=SUMIF($B:$B,$M3,F:F)
 
Upvote 0
Solution
Many thanks again to both Fluff and Snakehips for your solution - that is precisely what I was trying to achieve! (y)
 
Upvote 0
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,284
Members
452,630
Latest member
OdubiYouth

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