FormulaCraft

How to build a ranked leaderboard in Excel and Google Sheets

Topic:RANK & statistical aggregates
Excel & Google Sheets
=RANK(B2,$B$2:$B$6,0)

Try it with your data

Edit the grid or formula, then run it through a real spreadsheet engine — no signup.

Sample data — click any cell to edit

Runs server-side · free · no signup

Step by step

  1. 1Enter participant names in column A and scores in column B.
  2. 2In column C (Rank), enter =RANK(B2,$B$2:$B$6,0) and copy it down. The 0 means largest = rank 1.
  3. 3To display a sorted leaderboard elsewhere, use LARGE to retrieve scores in order and INDEX/MATCH to find the corresponding name.
  4. 4In a separate table, E2=1 down to E6=5, then F2=LARGE($B$2:$B$6,E2) and G2=INDEX($A$2:$A$6,MATCH(F2,$B$2:$B$6,0)).

Tips

Need it for your exact data?

Describe your columns in plain English and get the precise formula for your sheet, with the right Excel or Sheets syntax.

Frequently asked

How does RANK handle tied scores?

RANK assigns the same rank to tied scores and skips the next rank. Two players tied at rank 2 means no one has rank 3.

Can I rank in ascending order (lowest score wins)?

Change the third argument from 0 to 1: =RANK(B2,$B$2:$B$6,1).

More on RANK & statistical aggregates

See all →

Formulas used

Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.

Last reviewed: