

The next custom function takes care of these three issues.Ģ.

A team can't play twice in the same round, obviously.Īlso if you want the schedule to be somewhat random, this custom function is not for you. But if home and away doesn't matter this could useful.Īnother bad thing with this custom function is that it doesn't split the schedule into rounds. 'Continue with next number stored in variable iĪs you can see it is not very complicated and the first team has home matches all the time. 'Continue with next number stored in variable j 'Add 1 to the number stored in variable k and save to variable k 'Save value stored in worksheet based on variable j to array variable tmp based on variable k 'Save value stored in worksheet based on variable i to array variable tmp based on variable k 'Go from i + 1 to the number of cells in range variable rng 'Go from 1 to the number of cells in range variable rng 'Dimension variables and declare data types The following VBA code creates a schedule where each team plays once against another team. Basic scheduling - each team plays once against another team
#TOURNAMENT SCHEDULE CREATOR HOW TO#
At the very end of this post are instructions on how to use the custom functions. You can use these custom functions below for creating a table for tennis, soccer, chess, bridge, or whatever sport/competition schedule you want. Excel is a great platform for building a round-robin tournament table and keeping scores. Round-robin tournament - distributes home and away rounds evenlyĪccording to Wikipedia, a round-robin tournament is a competition where all plays all.Basic schedule - each team plays once against another team.
