Hello,
I am trying to build a program that pairs golfers equally in groups of 4 and 5 players based on their "power ranking". The query selects the players that are playing that day as follows:
[Player] [Power Ranking]
Name1 50
Name2 45
Name3 37
Name4 36
Name5 28
Name6 25
Name7 23
Name8 18
Name9 11
I would like to have the data grouped so each group has about the same amount of ranking points. In this example, there would be one group of 4 and one group of 5. Any idea how to do that?