Function Problems

Create Random Golf Teams by Handicap Rank in Excel

Tauseeq MagsiTauseeq Magsi Dec 2, 2026 869 views

Question details

Create random golf teams with one player from each handicap rank, using every golfer once and accommodating changes to the list.

Create Random Golf Teams by Handicap Rank in Excel
Product
Microsoft Excel
Device & OS
not provided
Scenario
A tournament organizer needs three- or four-player teams selected from ranked groups of golfers.
Observed behavior
Each team should contain one golfer from each required rank, and no golfer should appear more than once.
Before you start

Put each golfer's name and rank in separate columns, using consistent labels such as A, B, C, and D. To use every golfer once in equal-sized teams, make sure each required rank has the same number of golfers; for three-player teams, all golfers must belong to the three included ranks.

Solution 1Recommended

Generate ranked teams with dynamic formulas in Excel

Use this method in a version of Excel that supports FILTER, SORTBY, and RANDARRAY.

Each formula filters one rank and randomly sorts its golfers. The golfer in each row of the output belongs to the same team as the golfers beside them.

1
Set up the source list

Enter golfer names in A2:A1000 and their ranks in B2:B1000. Leave enough empty rows in the output area for all teams.

2
Generate the first rank

In D2, enter =SORTBY(FILTER($A$2:$A$1000,($B$2:$B$1000=D$1)*($A$2:$A$1000<>"")),RANDARRAY(ROWS(FILTER($A$2:$A$1000,($B$2:$B$1000=D$1)*($A$2:$A$1000<>""))))) after entering A in D1.

3
Add the other ranks

Enter B and C in E1 and F1, then copy D2 into E2:F2. For four-player teams, enter D in G1 and copy the formula into G2. Each formula spills its shuffled rank list down the column.

4
Keep the draw

When you like the teams, select the complete output range, copy it, and use Home > Paste > Values in an empty area or on another sheet.

Generate ranked teams with dynamic formulas in Excel
Random results recalculate: RANDARRAY can reshuffle the teams when Excel recalculates. Extend the source ranges if the list grows beyond row 1000, and ensure every included rank has at least one golfer.
Build teams in WPS Spreadsheets

Create a Random Golf Team Draw in WPS Spreadsheets

Use random numbers and sorting in WPS Spreadsheets to shuffle each handicap group, then combine the lists into teams.

  1. 1. Organize the golfers: In WPS Spreadsheets, put each rank's golfer names on a separate sheet, with one name per row.
  2. 2. Add random values: In the adjacent column, enter =RAND() beside the first golfer and fill it down the list on each sheet.
  3. 3. Shuffle each rank: Select the names and random values together, then use Data > Sort to sort by the random-value column. Repeat for each rank.
  4. 4. Make the teams: Copy each sorted name list and paste it as values into adjacent columns on a team sheet. Read across each row to see a team.
Shuffle each handicap rank independently for balanced teamsPaste the final team lists as values to preserve the drawOpen and edit Microsoft Excel XLSX and XLS filesWork with a familiar spreadsheet interface
microsoft office alternative - wps office

Frequently Asked Questions

Can I make three-player teams instead of four-player teams?

Yes. Use the A, B, and C rank lists only. To use every golfer once, all golfers must be in those three ranks and the groups must have equal counts.

Why do my teams change when I edit the workbook?

RAND and RANDARRAY are volatile and can recalculate. Copy the completed team list and use Home > Paste > Values in an empty area to preserve a draw.

What if the handicap groups have different numbers of golfers?

Complete teams with one golfer from each rank require equal group sizes. Adjust the rank assignments or team rules before drawing if you need to include everyone.

Will the formula include new golfers?

Yes, if their names and ranks are entered within A2:A1000 and B2:B1000. Extend both ranges in the formulas if the list grows beyond row 1000.

Why does the formula show a spill error?

The results need empty cells below each formula. Clear any entries blocking the output columns, then check that each rank header matches the labels in the source list.