I'm looking for a formula to create a swimming league of 6, 7 or 8 teams (depending on how many enter) where each team has one home gala and plays away an even number of times against the other teams. With an even number of teams there were would and imbalance, say playing some teams twice and some teams three times. The fixture table would look something like this:
[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD]Lane 1[/TD]
[TD]Team 1[/TD]
[TD]Team 2[/TD]
[TD]Team 3[/TD]
[TD]Team 4[/TD]
[TD]Team 5[/TD]
[TD]Team 6[/TD]
[TD]Team 7[/TD]
[/TR]
[TR]
[TD]Lane 2[/TD]
[TD]Team 3[/TD]
[TD]Team 7[/TD]
[TD]Team 1[/TD]
[TD]Etc.[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Lane 3[/TD]
[TD]Team 4[/TD]
[TD]Team 5[/TD]
[TD]Team 5[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Lane 4[/TD]
[TD]Team 6[/TD]
[TD]Team 3[/TD]
[TD]Team 2[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
The home team is in the top row in lane 1 and the away teams in the rows below (lanes 2 to 4). Is there a random formula that would fit X number of teams to fill the grid?
Regards
Lev Baddley
[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD]Lane 1[/TD]
[TD]Team 1[/TD]
[TD]Team 2[/TD]
[TD]Team 3[/TD]
[TD]Team 4[/TD]
[TD]Team 5[/TD]
[TD]Team 6[/TD]
[TD]Team 7[/TD]
[/TR]
[TR]
[TD]Lane 2[/TD]
[TD]Team 3[/TD]
[TD]Team 7[/TD]
[TD]Team 1[/TD]
[TD]Etc.[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Lane 3[/TD]
[TD]Team 4[/TD]
[TD]Team 5[/TD]
[TD]Team 5[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Lane 4[/TD]
[TD]Team 6[/TD]
[TD]Team 3[/TD]
[TD]Team 2[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
The home team is in the top row in lane 1 and the away teams in the rows below (lanes 2 to 4). Is there a random formula that would fit X number of teams to fill the grid?
Regards
Lev Baddley
Last edited by a moderator: