Unique Pairs for 12 Players

TerrorTot38

New Member
Joined
Feb 2, 2022
Messages
21
Office Version
  1. 365
Platform
  1. Windows
  2. Mobile
  3. Web
Hi All,

I have a maths question I need your help with.

I'm trying to generate 12 unique pairs for Badminton Doubles to not have the following:
  • Player 12 not playing Player 4 three times (example Game 4, Game 5 and Game 6)
  • Player 5 not playing Player 7, 8 and 11 more than once such as 7,8, 7,11 or 8,11 but not all 3 (shown below)
This is my game sheet thus far below, as you can see all unique pairs:
Match:1Court 1Court 2Court 3
9 & 111 & 212 & 7
10 & 64 & 58 & 3
Match:2Court 1Court 2Court 3
3 & 512 & 101 & 4
7 & 811 & 62 & 9
Match:3Court 1Court 2Court 3
12 & 24 & 76 & 8
3 & 95 & 110 & 11
Match:4Court 1Court 2Court 3
1 & 312 & 810 & 2
5 & 69 & 411 & 7
Match:5Court 1Court 2Court 3
10 & 112 & 68 & 11
3 & 47 & 29 & 5

However I make changes to one thing and either no unique pairs or in my example above Player 5 against 7,8 and 11.

I have represented the data to show the players and opponents across the games.
Game 3Game 3Game 4Game 4Game 5Game 5Game 7Game 7Game 10Game 10
110629475634
2451439117126
31277812256101
41122951128101
5112784713811
691121010111372
7833551102126
81273510119495
910614122128811
10911166811734
114512106810295
1283116399472

Could anyone advise if this iteration is possible or the closest I'm going to get is what I have.
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
I suggest to google for
tournament round robin filetype:xlsm.

There is a manual approach, too: just imagine 6 tables in a row adjacent to each other, the 12 players sitting face-to-face. Each table represents a court (games for tables 4-6 have to be played at the same courts as 1-3 after those games are finished). After round 1 player 1 stays at his table and at his chair, all other players move one place in counter-clock direction, and so on.
 
Upvote 0
Here's some Round Robin code. HTH. Dave
 
Upvote 0

Forum statistics

Threads
1,223,904
Messages
6,175,295
Members
452,632
Latest member
jladair

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