Syntax
| Parameter | Description |
|---|---|
| number | Parameter of the RANK function. |
| ref | Parameter of the RANK function. |
| [order] | (Optional.) Parameter of the RANK function. |
Examples
Sales ranking
=RANK(B5, $B$2:$B$50)
Ascending rank (lowest first)
=RANK(C3, $C$2:$C$100, 1)
Rank across a row
=RANK(B2, $B$2:$F$2)
Common Errors
The number being ranked is not found in the reference range. The value must exist in the range.
Non-numeric arguments were provided.
Tips
When dragging the formula down, use $ signs on the range ($B$2:$B$50) so it doesn't shift. Only the first argument (the cell being ranked) should change.
If two values tie at rank 3, the next value gets rank 5 (rank 4 is skipped). Use RANK.AVG if you want tied values to share an averaged rank instead.
RANK and RANK.EQ are identical. RANK.EQ is the newer name that distinguishes it from RANK.AVG for handling ties.
Try RANK in Viztab
Import your data and use RANK with 370+ other formulas. No signup required.
Open Viztab