Hello everyone, I found a thread from a member here (MarvinP) and it's almost exactly what I am looking for. However, I am looking to generate 4-man and/or 5-man teams.
Where column A is my Player ID
E1 would be total # of players
E3 would be number of 5-somes
E4 would be number of 4-somes
Column I-M would the teams
What is the VB code for making random teams with 4-somes being the most desired and 5-somes would be only used when necessary to fill the field. i.e 22 players would be (3) 4-somes and (2) 5-somes. (20) players would be (5) 4-somes and (0) 5-somes, 21 players would be (4) 4-somes and (1) 5-some, etc... The formula I have in E3 & E4 is not working.
I also want to be able to run the macro by clicking "make teams" and having the teams populated in columns I-M. Thank you in advance for your help. Spreadsheet is attached.[ATTACH]Attachment 79776[/ATTACH]Attachment 79776
Bookmarks