Randomly generate 26 people into teams of 4 people playing 4 matches over 4 days

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
Hi @THECAPTAINEGHAM , you wrote your question without much desire to find an answer, without examples of how your data is, without examples of how you want the result, but what if in the following ones you find the answer.




 
Upvote 0
Sorry. I can clarify further, I hit the enter button so did not finish my message. This is for lawn bowls.
I need to select 24 from 26 and rest 2 of 26 and there are 4 matches
the 24 at each match are split over teams of 4 and we select a different team of 24 for each match with nobody playing with the same people more than once
 
Upvote 0
In a regular module paste :

VBA Code:
Sub refresh()
    Worksheets("Team Generator").Calculate
End Sub

Attach the above to a button on Sheet1.
Sheet one should look like below image.

Range G2:J7 each have a different formula that create the team members. The formula for one of the cells is :

Code:
=IFERROR(IF(G$1<>"",INDEX(Table1[Names],INDEX(Table1[Rank],G$1+$E$2*(ROWS($F$2:F2)-1))),""),"")

You can download the example workbook here : Internxt Drive – Private & Secure Cloud Storage

Best wishes ...
 

Attachments

  • Teams.jpg
    Teams.jpg
    113 KB · Views: 9
Upvote 0

Forum statistics

Threads
1,223,905
Messages
6,175,297
Members
452,633
Latest member
DougMo

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