Function Problems

Create a Dynamic Excel Leaderboard Sorted by Score

Kushani NimanthikaKushani Nimanthika Nov 18, 2026 870 views

Question details

Create a leaderboard that lists players, scores, and ranks in descending score order for weekly game leagues.

Create a Dynamic Excel Leaderboard Sorted by Score
Product
Microsoft Excel
Device & OS
not provided
Scenario
A league organizer wants the leaderboard to reflect updated player scores each week.
Observed behavior
The desired leaderboard displays players from highest to lowest score with a rank beside each player.
Before you start

Place player names in A2:A5 and numeric scores in B2:B5, with headers in row 1. Leave room for the leaderboard output and adjust the formula ranges if you have more players.

Solution 1

Create an automatically sorted leaderboard with a dynamic array

Use this method in a version of Excel that supports LET, FILTER, SORTBY, CHOOSECOLS, HSTACK, and SEQUENCE.

1
Add output headers

Enter Rank, Player, and Score in D1, E1, and F1.

2
Enter the leaderboard formula

Select D2 and enter =LET(data,FILTER(A2:B5,B2:B5<>""),sorted,SORTBY(data,CHOOSECOLS(data,2),-1),HSTACK(SEQUENCE(ROWS(sorted)),sorted)).

3
Update scores

Change a score in B2:B5 to refresh the spilled leaderboard. Keep the cells below and to the right of D2 clear so the results can spill.

Ties and empty scores: SEQUENCE assigns consecutive positions, so tied scores receive different ranks. The formula excludes blank scores and requires at least one nonblank score.
Build a leaderboard in WPS

Rank and Sort League Scores in WPS Spreadsheet

Use a rank formula and the sort command in WPS Spreadsheet to build a leaderboard and update it as league scores change.

  1. 1. Open the score sheet: Open WPS Spreadsheet and create or open a workbook with player names in A2:A5 and numeric scores in B2:B5.
  2. 2. Calculate ranks: Enter Rank in C1 and =RANK(B2,$B$2:$B$5,0) in C2. Fill the formula down through C5.
  3. 3. Sort by score: Select A1:C5, open Data > Sort, and sort the Score column from largest to smallest.
  4. 4. Update the leaderboard: Edit scores in column B as needed, then repeat Data > Sort to put the rows back in descending order.
Rank players by score and sort the full leaderboardOpen and edit Microsoft Excel XLSX filesUse familiar spreadsheet formulas and sorting controlsWork with a free, easy-to-use office suite
microsoft office alternative - wps office

Frequently Asked Questions

Will the dynamic leaderboard update when scores change?

Yes. The dynamic array formula recalculates and reorders the output when scores in B2:B5 change. Expand the formula ranges to include additional player rows.

How do I give tied players the same rank?

Add a rank column with =RANK.EQ(B2,$B$2:$B$5,0) and fill it down. Tied scores receive the same rank, and the following rank is skipped.

Why does the leaderboard formula show a spill error?

Check the cells below and to the right of D2 and clear anything blocking the output. The formula needs an empty area for all three result columns.

Can I make a leaderboard in an older version of Excel?

Yes. Add a RANK.EQ formula beside the scores, select the entire table, and use Data > Sort to order the Score column from largest to smallest. Repeat the sort after scores change.