I'm new on this and need help with a macro I need to create. The goal is to randomly select partners for dominoes matches from a list of names.
Details:
I will have a list of players in column "B", every day could be a different amount of players and different names. In column "A" those players will have a unique number. The macro should combine those players in pairs and those partners will go against another pair both pairs randomly selected. I will specify on a cell how many times each player will play on that day. The constraints are that:
<code style="margin: 0px; padding: 0px; border: 0px; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; white-space: inherit;">8 players x 5 games per player =40/4 players each match =10
</code>Please let me know if you have any questions, Thanks.
Details:
I will have a list of players in column "B", every day could be a different amount of players and different names. In column "A" those players will have a unique number. The macro should combine those players in pairs and those partners will go against another pair both pairs randomly selected. I will specify on a cell how many times each player will play on that day. The constraints are that:
- No two players should play together on a team for the second time until all combinations have been used, and so on.
- No two same teams should play against each other for the second time until all combinations have been used.
- Column D: Team 1, (Player 1 number).
- Column E: Team 1, (Player 2 number).
- Column F: Team 2, (Player 1 number).
- Column G: Team 2, (Player 2 number).
<code style="margin: 0px; padding: 0px; border: 0px; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; white-space: inherit;">8 players x 5 games per player =40/4 players each match =10
</code>Please let me know if you have any questions, Thanks.