FormulaCraft

RANK.EQ

RANK.EQ returns the position of a value in a sorted list, giving tied values the same (top) rank and skipping subsequent ranks. It replaces the legacy RANK function and is the standard choice when ties should share the highest rank.

Topic:RANK & statistical aggregates
Excel
=RANK.EQ(B2,B2:B5,0)
Google Sheets
=RANK.EQ(B2,B2:B5,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

How it works

  1. 1Enter the value to rank, the full list range, and 0 for descending or 1 for ascending: =RANK.EQ(B2,B2:B5,0).
  2. 2Lock the reference range with $ signs when copying down: =RANK.EQ(B2,$B$2:$B$5,0).
  3. 3Ties receive the same rank; the next rank(s) are skipped accordingly.

Need a version for your data?

Try: “Rank each salesperson's revenue from highest to lowest, with ties getting the same rank

More on RANK & statistical aggregates

See all →

Related

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

Last reviewed: