FormulaCraft

How to rank values in Excel and Google Sheets

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

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. 1In a new column, enter =RANK(B2, $B$2:$B$100).
  2. 2The $ signs lock the list so every row ranks against the same range.
  3. 3Copy it down. By default the largest value ranks 1.

Tips

Working on a sheet you inherited? Run the Auditor on the whole file first — it flags every #REF!, #N/A, broken column pattern, and inconsistent formula in seconds, free, no signup.

Frequently asked

How do I rank from lowest to highest?

Set the order argument to 1, e.g. =RANK(B2, $B$2:$B$100, 1). Leave it blank or 0 for highest-first.

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: