Function Problems

Create an Excel Basketball Player Ranking and Team Assignment Workbook

Muhammad TalhaMuhammad Talha Nov 22, 2026 868 views

Question details

Create a workbook that ranks basketball players by skill score and assigns their names and scores to team sheets.

Create an Excel Basketball Player Ranking and Team Assignment Workbook
Product
Microsoft Excel
Device & OS
not provided
Scenario
A user wants to score players from 1 to 5, sort them by ability, and distribute them among teams.
Observed behavior
The workbook should show players in ranked order and display each team's assigned players and scores.
Before you start

Gather the player names and their skill scores. The example below uses 12 players and three teams of four; adjust the ranges and team count for your roster.

Solution 1Recommended

Rank players and distribute them with INDEX formulas

Use this method to assign ranked players across teams and show each team's names and scores on a separate sheet.

This example assigns players in ranking order across three teams. It does not guarantee that the teams will have equal total scores.

1
Enter the roster

Rename a worksheet Ranking. Enter Name in A1 and Score in B1, then enter 12 player names in A2:A13 and their scores in B2:B13. Use unique names for the score lookup.

2
Restrict scores to 1–5

Select B2:B13, open Data > Data Validation, and set Allow to Whole number with a minimum of 1 and a maximum of 5.

3
Sort by ability

Select A1:B13, open Data > Sort, and sort the Score column from largest to smallest. Keep the names and scores together when sorting.

4
Assign ranked players

Enter 3 in D2 as the number of teams. Label E1:G1 Team 1, Team 2, and Team 3. In E2, enter =INDEX($A$2:$A$13,(ROW(A1)-1)*$D$2+1+(COLUMN()-COLUMN($E$1))), then fill it across through G2 and down through row 5.

5
Create the team sheets

Create a Team 1 sheet. In A2, enter =Ranking!E2 and fill down to A5. In B2, enter =VLOOKUP(A2,Ranking!$A$2:$B$13,2,FALSE) and fill down to B5. Repeat on Team 2 and Team 3 sheets, using Ranking!F2 and Ranking!G2 respectively for the first name reference.

Rank players and distribute them with INDEX formulas
Update the rankings: After changing a score, sort the full roster by Score again so the team assignments reflect the new ranking. For a different roster size, update the formula ranges, team count, and fill area.
Build your team workbook in WPS

Rank players and assign teams in WPS Spreadsheets

Use WPS Spreadsheets to sort player scores, distribute names with INDEX, and display each team's roster and scores on separate sheets.

  1. 1. Enter the roster: Open WPS Spreadsheets and create a sheet named Ranking. Enter 12 unique names in A2:A13 and scores from 1 to 5 in B2:B13.
  2. 2. Sort the scores: Select the name and score table, then use Data > Sort to sort Score from largest to smallest.
  3. 3. Distribute the players: Enter 3 in D2. In E2, enter =INDEX($A$2:$A$13,(ROW(A1)-1)*$D$2+1+(COLUMN()-COLUMN($E$1))), then fill across to G2 and down to row 5.
  4. 4. Build team sheets: Add a Team 1 sheet and enter =Ranking!E2 in A2. Fill down, then use =VLOOKUP(A2,Ranking!$A$2:$B$13,2,FALSE) in B2 and fill down. Repeat with columns F and G for Teams 2 and 3.
  5. 5. Save the workbook: Choose File > Save As and save the workbook as an XLSX file for Excel compatibility.
Rank and distribute players using familiar spreadsheet formulasOpen and save Microsoft Excel XLSX workbooksKeep team rosters on separate sheets in one workbookUse WPS Office for free
microsoft office alternative - wps office

Frequently Asked Questions

What does the value in D2 represent?

D2 contains the number of teams. In the example, 3 tells the INDEX formula to place successive ranked players across three team columns before moving to the next row.

Will the formulas automatically balance the teams?

No. The formulas distribute players in ranking order across the team columns, but they do not compare or equalize total team scores.

What should I do after changing a player's score?

Select the full roster on the Ranking sheet and use Data > Sort to sort Score from largest to smallest again. The team-sheet references will then reflect the sorted roster.

How can I use a different number of players or teams?

Change D2 to the team count, update the player ranges in the INDEX and VLOOKUP formulas, and fill the assignment grid across and down for the roster. The example formulas assume 12 players divide evenly into three teams.

Why does the score lookup require unique player names?

VLOOKUP returns the first matching name in Ranking!A2:B13. Give duplicate names unique identifiers, such as an initial or player number, so each team sheet retrieves the intended score.