Ottley Kitts
New Member
- Joined
- Jul 7, 2012
- Messages
- 5
I'm trying to create a 5 day golfing schedule for 12 players - this means there are 60 cells to fill. I want everyone to play with each other once but then have the minimum of repeats. I've tried the MRAND with INDEX which is great for each day's play but then find there are a lot of repeat groups on other days. Any advice VERY welcome. I'm using A through to L to represent the players names.
Using this formula: =INDEX($A$2:$A$13,MRAND()+1,,TRUE)
To try to explain this graphically I have used the MRAND to randomly generate my players each day so I use all 12 players and then copied it across to the other remaining days. This works to an extent but if you scroll down you will then see, just taking Player A as an example, he plays with the two same players three times (H & I), yet he doesn't player with one player (K) at all.
[TABLE="width: 500"]
<tbody>[TR]
[TD]
[TABLE="width: 403"]
<tbody>[TR]
[TD]PLAYERS
[/TD]
[TD]Wed
[/TD]
[TD]Thu
[/TD]
[TD]Fri
[/TD]
[TD]Sat
[/TD]
[TD]Sun
[/TD]
[/TR]
[TR]
[TD]A
[/TD]
[TD]L
[/TD]
[TD]K
[/TD]
[TD]G
[/TD]
[TD]H
[/TD]
[TD]A
[/TD]
[/TR]
[TR]
[TD]B
[/TD]
[TD]E
[/TD]
[TD]E
[/TD]
[TD]I
[/TD]
[TD]E
[/TD]
[TD]E
[/TD]
[/TR]
[TR]
[TD]C
[/TD]
[TD]J
[/TD]
[TD]H
[/TD]
[TD]A
[/TD]
[TD]L
[/TD]
[TD]I
[/TD]
[/TR]
[TR]
[TD]D
[/TD]
[TD]K
[/TD]
[TD]C
[/TD]
[TD]H
[/TD]
[TD]A
[/TD]
[TD]D
[/TD]
[/TR]
[TR]
[TD]E
[/TD]
[TD]F
[/TD]
[TD]A
[/TD]
[TD]B
[/TD]
[TD]C
[/TD]
[TD]C
[/TD]
[/TR]
[TR]
[TD]F
[/TD]
[TD]G
[/TD]
[TD]J
[/TD]
[TD]L
[/TD]
[TD]G
[/TD]
[TD]L
[/TD]
[/TR]
[TR]
[TD]G
[/TD]
[TD]D
[/TD]
[TD]I
[/TD]
[TD]D
[/TD]
[TD]F
[/TD]
[TD]B
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]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Played with: H 3 times
[/TD]
[TD]H
[/TD]
[TD]3 times
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]I
[/TD]
[TD]3 times
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]E
[/TD]
[TD]2 times
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Not Played:
[/TD]
[TD]K
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 403"]
<tbody>[TR]
[TD]Any suggestions would be greatly appreciated.
Many thanks
Ottley
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Using this formula: =INDEX($A$2:$A$13,MRAND()+1,,TRUE)
To try to explain this graphically I have used the MRAND to randomly generate my players each day so I use all 12 players and then copied it across to the other remaining days. This works to an extent but if you scroll down you will then see, just taking Player A as an example, he plays with the two same players three times (H & I), yet he doesn't player with one player (K) at all.
[TABLE="width: 500"]
<tbody>[TR]
[TD]
[TABLE="width: 403"]
<tbody>[TR]
[TD]PLAYERS
[/TD]
[TD]Wed
[/TD]
[TD]Thu
[/TD]
[TD]Fri
[/TD]
[TD]Sat
[/TD]
[TD]Sun
[/TD]
[/TR]
[TR]
[TD]A
[/TD]
[TD]L
[/TD]
[TD]K
[/T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TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Player:
[/TD]
[TD]A
[/TD]
[TD]A
[/TD]
[TD]A
[/TD]
[TD]A
[/TD]
[TD]A
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]H
[/TD]
[TD]J
[/TD]
[TD]I
[/TD]
[TD]H
[/TD]
[TD]E
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]C
[/TD]
[TD]I
[/TD]
[TD]G
[/TD]
[TD]E
[/TD]
[TD]I
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]B
[/TD]
[TD]F
[/TD]
[TD]H
[/TD]
[TD]L
[/TD]
[TD]D
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Played with: H 3 times
[/TD]
[TD]H
[/TD]
[TD]3 times
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]I
[/TD]
[TD]3 times
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]E
[/TD]
[TD]2 times
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Not Played:
[/TD]
[TD]K
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 403"]
<tbody>[TR]
[TD]Any suggestions would be greatly appreciated.
Many thanks
Ottley
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]