Create a Dynamic Excel Leaderboard Sorted by Score
Question details
Create a leaderboard that lists players, scores, and ranks in descending score order for weekly game leagues.

- 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.
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.
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.
Enter Rank, Player, and Score in D1, E1, and F1.
Select D2 and enter =LET(data,FILTER(A2:B5,B2:B5<>""),sorted,SORTBY(data,CHOOSECOLS(data,2),-1),HSTACK(SEQUENCE(ROWS(sorted)),sorted)).
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.
Rank scores and sort the full table manually
Use a rank column when your Excel version does not support the dynamic array functions or when tied scores should share a rank.
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. 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. Calculate ranks: Enter Rank in C1 and =RANK(B2,$B$2:$B$5,0) in C2. Fill the formula down through C5.
- 3. Sort by score: Select A1:C5, open Data > Sort, and sort the Score column from largest to smallest.
- 4. Update the leaderboard: Edit scores in column B as needed, then repeat Data > Sort to put the rows back in descending order.

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.




