Change number of teams in fixture and league table generator

paulj4177

New Member
Joined
Dec 2, 2021
Messages
3
Platform
  1. MacOS
Hi all

A few years ago, someone made me this great fixture and league table generator for a competition I was running in a school I taught in. It works really well but is set for 29 teams. I need to be able to change the number of teams in it and then generate new fixtures for the extra ones plus a new league table. Is there a simple way to do this? I'm a total novice when it comes to Excel. Not sure if I copied too much. I just included the main parts and the first 2 rounds of fixtures. Thanks in advance for your help.


Maths challenge league table 24.xlsx
ABCDEFGHIJKLMNOPQRSTUVWX
4
5Highlight matches forSofia A
6
7#Team nameTie-breaker optionRoundMatchupNotes (i.e. date / location)Score#TeamPldWDLGFGAGDPts
81Sofia A 11Gabriel-Hannah-1Sofia A 00000000
92Valeria21Sofia V-Hector-2Valeria00000000
103Asier31Sofia A -Maria V-3Asier00000000
114Maria V41Natalia-Alfredo-4Maria V00000000
125Stefany51Karin-Francisco-5Stefany00000000
136Victoria61Camila-Timeo-6Victoria00000000
147Camila71Darko-Asier-7Camila00000000
158Sungkyu81Arthur-Victoria-8Sungkyu00000000
169Claudia91Claudia-Stefany-9Claudia00000000
1710Hector101Jamie-Victor -10Hector00000000
1811Sofia V111Valeria-Sungkyu-11Sofia V00000000
1912Gabriel121Arianne-Mia-12Gabriel00000000
2013Victor 1313Victor 00000000
2114Darko142Gabriel-Claudia-14Darko00000000
2215Jamie152Jamie-Arthur-15Jamie00000000
2316Karin162Valeria-Darko-16Karin00000000
2417Natalia172Arianne-Camila-17Natalia00000000
2518Mia182Mia-Karin-18Mia00000000
2619Alfredo192Sungkyu-Natalia-19Alfredo00000000
2720Arthur202Victor -Sofia A -20Arthur00000000
2821Francisco212Stefany-Sofia V-21Francisco00000000
2922Timeo222Victoria-Hannah-22Timeo00000000
3023Arianne232Asier-Hector-23Arianne00000000
3124Hannah242Timeo-Maria V-24Hannah00000000
322Francisco-Alfredo-
24teams
Cell Formulas
RangeFormula
P8:X31P8=IFERROR(INDEX($AN$7:$BC$31,MATCH($O8,$BC$7:$BC$31,0),MATCH(P$7,$AN$7:$BC$7,0)),"")
G8,G21G8=player_12
G9,I28G9=player_11
G10,I27G10=player_1
G11,I26G11=player_17
G12,I25G12=player_16
G13,I24G13=player_7
G14,I23G14=player_14
G15,I22G15=player_20
G16,I21G16=player_9
G17,G22G17=player_15
G18,G23G18=player_2
G19,G24G19=player_23
I8,I29I8=player_24
I9,I30I9=player_10
I10,I31I10=player_4
I11,I32I11=player_19
I12,G32I12=player_21
I13,G31I13=player_22
I14,G30I14=player_3
I15,G29I15=player_6
I16,G28I16=player_5
I17,G27I17=player_13
I18,G26I18=player_8
I19,G25I19=player_18
Named Ranges
NameRefers ToCells
'24teams'!player_1='24teams'!$C$8I27, G10
'24teams'!player_10='24teams'!$C$17I30, I9
'24teams'!player_11='24teams'!$C$18I28, G9
'24teams'!player_12='24teams'!$C$19G21, G8
'24teams'!player_13='24teams'!$C$20I17, G27
'24teams'!player_14='24teams'!$C$21I23, G14
'24teams'!player_15='24teams'!$C$22G22, G17
'24teams'!player_16='24teams'!$C$23I25, G12
'24teams'!player_17='24teams'!$C$24I26, G11
'24teams'!player_18='24teams'!$C$25I19, G25
'24teams'!player_19='24teams'!$C$26I32, I11
'24teams'!player_2='24teams'!$C$9G23, G18
'24teams'!player_20='24teams'!$C$27I22, G15
player_21='24teams'!$C$28I12, G32
player_22='24teams'!$C$29I13, G31
player_23='24teams'!$C$30G24, G19
player_24='24teams'!$C$31I29, I8
'24teams'!player_3='24teams'!$C$10I14, G30
'24teams'!player_4='24teams'!$C$11I31, I10
'24teams'!player_5='24teams'!$C$12I16, G28
'24teams'!player_6='24teams'!$C$13I15, G29
'24teams'!player_7='24teams'!$C$14I24, G13
'24teams'!player_8='24teams'!$C$15I18, G26
'24teams'!player_9='24teams'!$C$16I21, G16
Cells with Conditional Formatting
CellConditionCell FormatStop If True
O8:X31Expression=$P8=$H$5textNO
F9:M604Expression=$AA9=1textNO
F8:M8Expression=$AA8=1textNO
Cells with Data Validation
CellAllowCriteria
H5:I5List=$C$8:$C$31
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
Formula base is what in your file
VBA base is apply macro that written in VBA window, hidden running and paste value or format in sheet only.
What is the logic in your program?
For instant, there are 4 teams A,B,C,D. what the outcome look like? How many matchs?
 
Upvote 0
Ideally I'd be able to change the number of teams reasonably easily so I could use it each year depending on the size of my class. I just want them to play each other once.
 
Upvote 0
Is there a case:
Gabriel - Hanna
Hanna - Gabriel
?

As request from #4, how is the results of 4 teams look like?
 
Upvote 0

Forum statistics

Threads
1,215,054
Messages
6,122,895
Members
449,097
Latest member
dbomb1414

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