Rank values
Give each row its position, with 1 for the highest value.
The formula
Excel and Google Sheets
=RANK.EQ(B2, $B$2:$B$100, 0)How it works
B2The value to rank.
$B$2:$B$100All values it is compared with (fixed with $).
0Descending: the largest gets rank 1. Use 1 for ascending.
Example
| A: Rep | B: Sales | C: Result |
|---|---|---|
| Ana | 900 | 1 |
| Ben | 450 | 3 |
| Cleo | 700 | 2 |
Tips
- Ties get the same rank and the next rank is skipped (1, 2, 2, 4).