League Scheduler

Hoosier605

New Member
Joined
Feb 27, 2024
Messages
2
Office Version
  1. 365
Platform
  1. Windows
I know this has been asked many times, but I couldn't find what I was looking for. Most of the league scheduler questions are something like 21 teams for 20 weeks and looking for a random scheduler where all teams will play each other once and only once. I however do not want total randomness as I have 28 teams, only 20 weeks, and I want certain teams to play each other. I just need a semi-random schedule to be generated from a pairings table and teams that do play each other only play each other once. I'm sure this is simple, but unfortunately when it comes to excel, I'm fairly simple...thanks in advance.

See below: Team 1 would play teams 3,4,5,7,9,11,12, etc Team 2 3,6,7,8,10, etc 14 matches each week for 20 weeks

The first two weeks "could" look like this:

Tee1Tee2Tee3Tee4Tee5Tee6Tee7Tee8Tee9Tee10Tee11Tee12Tee13Tee14
Week 11-32-45-67-98-1011-1312-1415-1716-1819-2120-2223-2524-2627-28
Week 225-264-281-272-35-76-89-1011-1412-1513-1617-1918-2021-2322-24

Preferred Pairings 2024
TEAM
12345678910111213141516171819202122232425262728
111111111111111111111
211111111111111111111
3
11111111111111111111
411111111111111111111
511111111111111111111
611111111111111111111
711111111111111111111
811111111111111111111
911111111111111111111
1011111111111111111111
1111111111111111111111
1211111111111111111111
1311111111111111111111
1411111111111111111111
1511111111111111111111
1611111111111111111111
1711111111111111111111
1811111111111111111111
1911111111111111111111
2011111111111111111111
2111111111111111111111
2211111111111111111111
2311111111111111111111
2411111111111111111111
2511111111111111111111
2611111111111111111111
2711111111111111111111
2811111111111111111111

1709056059044.png
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
I would look up Free Swiss Tournament software as that sounds similar to what you want
 
Upvote 0
This is not a simple problem as it requires an algorithmic solution, possibly it could be programmed using VBA macros, but personally I would not try to solve it in Excel. I believe the following schedule will work for you:

18 27 22 26 5 23 2 24 3 17 6 10 1 21 8 13 4 9 14 28 7 15 19 25 11 20 12 16
13 16 20 21 17 22 12 24 10 26 3 7 5 25 2 15 8 28 1 27 11 19 9 18 4 14 6 23
20 28 11 14 16 26 10 17 23 25 3 12 7 27 15 22 2 4 5 8 1 9 13 18 6 24 19 21
1 14 8 22 3 15 24 28 5 21 11 17 18 26 25 27 4 19 20 23 7 12 9 16 6 13 2 10
10 28 19 27 1 23 3 21 2 8 4 26 24 25 9 11 12 14 5 6 16 20 7 17 13 15 18 22
13 20 1 11 12 15 8 9 6 16 2 25 17 21 5 27 24 26 7 19 3 28 10 23 4 22 14 18
10 24 9 23 1 16 6 25 3 4 11 27 5 14 15 18 19 28 21 26 13 17 2 7 20 22 8 12
18 28 8 15 10 14 11 16 5 9 12 19 7 20 17 27 2 22 4 25 1 13 3 24 21 23 6 26
12 23 22 25 20 26 5 17 11 21 1 7 15 28 4 10 18 24 13 27 9 14 3 16 6 8 2 19
10 20 3 11 17 19 16 24 5 13 23 27 6 28 1 22 4 18 8 14 15 25 2 12 9 21 7 26
10 16 2 14 11 15 22 24 3 25 7 13 9 26 4 12 8 18 21 27 6 20 17 23 1 19 5 28
7 25 3 27 9 13 2 28 1 4 8 21 6 22 5 11 16 18 15 19 14 20 23 26 10 12 17 24
8 16 2 18 4 11 6 14 12 21 10 27 9 15 25 26 23 28 17 20 13 19 5 24 1 3 7 22
22 28 13 21 14 26 10 18 9 27 11 23 2 16 1 15 8 20 3 19 5 7 6 12 17 25 4 24
20 24 6 27 7 11 14 19 26 28 3 9 15 17 12 22 1 25 10 13 16 21 4 8 5 18 2 23
1 20 13 22 15 23 11 25 6 18 14 24 2 3 5 19 8 17 10 21 7 9 26 27 4 16 12 28
14 16 15 21 9 19 2 11 10 22 12 26 1 17 4 6 13 25 3 5 18 20 8 24 7 23 27 28
1 12 24 27 7 21 16 28 3 23 4 20 8 26 2 6 9 17 14 22 10 25 5 15 18 19 11 13
19 23 21 25 3 13 1 18 7 24 12 20 2 26 16 22 14 15 4 5 6 17 8 27 11 28 9 10
8 10 3 6 13 23 21 24 4 28 11 22 7 14 16 19 17 26 15 27 1 5 9 25 12 18 2 20


where the 20 rows are rounds. (18 27) is tee 1 week 1, (22 26) is tee 2 week 1, etc..
 
Upvote 0
This is not a simple problem as it requires an algorithmic solution, possibly it could be programmed using VBA macros, but personally I would not try to solve it in Excel. I believe the following schedule will work for you:

18 27 22 26 5 23 2 24 3 17 6 10 1 21 8 13 4 9 14 28 7 15 19 25 11 20 12 16
13 16 20 21 17 22 12 24 10 26 3 7 5 25 2 15 8 28 1 27 11 19 9 18 4 14 6 23
20 28 11 14 16 26 10 17 23 25 3 12 7 27 15 22 2 4 5 8 1 9 13 18 6 24 19 21

1 14 8 22 3 15 24 28 5 21 11 17 18 26 25 27 4 19 20 23 7 12 9 16 6 13 2 10
10 28 19 27 1 23 3 21 2 8 4 26 24 25 9 11 12 14 5 6 16 20 7 17 13 15 18 22
13 20 1 11 12 15 8 9 6 16 2 25 17 21 5 27 24 26 7 19 3 28 10 23 4 22 14 18
10 24 9 23 1 16 6 25 3 4 11 27 5 14 15 18 19 28 21 26 13 17 2 7 20 22 8 12
18 28 8 15 10 14 11 16 5 9 12 19 7 20 17 27 2 22 4 25 1 13 3 24 21 23 6 26
12 23 22 25 20 26 5 17 11 21 1 7 15 28 4 10 18 24 13 27 9 14 3 16 6 8 2 19
10 20 3 11 17 19 16 24 5 13 23 27 6 28 1 22 4 18 8 14 15 25 2 12 9 21 7 26
10 16 2 14 11 15 22 24 3 25 7 13 9 26 4 12 8 18 21 27 6 20 17 23 1 19 5 28

7 25 3 27 9 13 2 28 1 4 8 21 6 22 5 11 16 18 15 19 14 20 23 26 10 12 17 24
8 16 2 18 4 11 6 14 12 21 10 27 9 15 25 26 23 28 17 20 13 19 5 24 1 3 7 22
22 28 13 21 14 26 10 18 9 27 11 23 2 16 1 15 8 20 3 19 5 7 6 12 17 25 4 24
20 24 6 27 7 11 14 19 26 28 3 9 15 17 12 22 1 25 10 13 16 21 4 8 5 18 2 23

1 20 13 22 15 23 11 25 6 18 14 24 2 3 5 19 8 17 10 21 7 9 26 27 4 16 12 28
14 16 15 21 9 19 2 11 10 22 12 26 1 17 4 6 13 25 3 5 18 20 8 24 7 23 27 28

1 12 24 27 7 21 16 28 3 23 4 20 8 26 2 6 9 17 14 22 10 25 5 15 18 19 11 13
19 23 21 25 3 13 1 18 7 24 12 20 2 26 16 22 14 15 4 5 6 17 8 27 11 28 9 10

8 10 3 6 13 23 21 24 4 28 11 22 7 14 16 19 17 26 15 27 1 5 9 25 12 18 2 20

where the 20 rows are rounds. (18 27) is tee 1 week 1, (22 26) is tee 2 week 1, etc..
Thank You!!! Can you point me in the right direction of how you accomplished this? I will have to do this annually and may even need to recreate this schedule with only 26 teams instead of 28...
 
Upvote 0
@Hoosier605 In future please do not mark a post as the solution when it does not contain one. Thanks
I have unmarked post#3 as it does not have a solution.
 
Upvote 0
@Fluff I don't understand, the OP specified a problem very precisely, I offered a perfect solution and they accepted. I am not feeling very welcome here.
 
Upvote 0
What solution, you just posted a series of numbers with no explanation of where they came from, or how to do it.
 
Upvote 0
It is most definitely 'a solution' to the problem as stated and @Hoosier605 recognized it as such. An explanation is something entirely different. As I suggested above I have created an algorithm outside of Excel to arrange the 280 pairs in a 20x14 grid within the constraints specified. I have used SAS/IML which I am sure very few of your members will know about or have access to, and so it never occurred to me to post the code.

I would have been perfectly happy to discuss more details of my algorithm here, however, I find the heavy handed moderation is just too much, so this will be my last post to this message board.

@Fluff I would ask you to share my email address with OP if they wish to contact me offline.
 
Upvote 0
I find the heavy handed moderation is just too much
All I did was ask the OP not to mark a post as the solution. In what way is that "heavy handed"?
It is most definitely 'a solution' to the problem as stated and @Hoosier605 recognized it as such
Maybe you missed what the OP said here
Can you point me in the right direction of how you accomplished this? I will have to do this annually and may even need to recreate this schedule with only 26 teams instead of 28...
Therefore it is not a solution.
I would ask you to share my email address with OP if they wish to contact me offline.
Absolutely not as that is against the rules.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,175
Members
453,021
Latest member
Justyna P

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