Syntax
| Parameter | Description |
|---|---|
| number | Parameter of the RANK.EQ function. |
| ref | Parameter of the RANK.EQ function. |
| [order] | (Optional.) Parameter of the RANK.EQ function. |
Examples
Leaderboard position
=RANK.EQ(D10, $D$2:$D$100)
Lowest price rank
=RANK.EQ(C3, $C$2:$C$20, 1)
Conditional formatting helper
=RANK.EQ(B2, $B$2:$B$50) <= 3
Common Errors
The value is not found in the reference array.
Non-numeric input was provided.
Tips
RANK.EQ is functionally identical to RANK. The .EQ suffix emphasizes that ties receive equal (same) rank numbers.
Use RANK.EQ(value, range) <= N to identify the top N items. This works well with FILTER or conditional formatting.
To break ties, add a small tiebreaker: =RANK.EQ(B2,$B$2:$B$50) + COUNTIF($B$2:B2, B2) - 1 ensures every item gets a unique rank.
Try RANK.EQ in Viztab
Import your data and use RANK.EQ with 370+ other formulas. No signup required.
Open Viztab