I wouldlike to expand a combination generator I currently use. It is for use withfantasy football (or soccer). You must select a team of a set formation,specifically 2 goalkeepers, 5 defenders, 5 midfielders and 3 forwards.
The onlysolution I currently have is to list 20-25 players and generate allcombinations. This creates a lot of waste as many of the combinations generateddo not fit the required formation so have to be discarded.
What Iwould like is a more specific solution so I would list the player options in 4columns, one column for each player positon and would receive an output of 15 columns.
It wouldbe put to use to list thousands of combinations so I think code would be betterthan formula but I’m open to all solutions. I hope that makes sense but I canexpand if not. I hope someone is able to help.
Thanks
The onlysolution I currently have is to list 20-25 players and generate allcombinations. This creates a lot of waste as many of the combinations generateddo not fit the required formation so have to be discarded.
What Iwould like is a more specific solution so I would list the player options in 4columns, one column for each player positon and would receive an output of 15 columns.
It wouldbe put to use to list thousands of combinations so I think code would be betterthan formula but I’m open to all solutions. I hope that makes sense but I canexpand if not. I hope someone is able to help.
Thanks