Determine the rank of a value within a list.
The RANK function returns the position of a number in a sorted list. Its syntax is =RANK(number, ref, order). Order 0 ranks from highest to lowest (descending), while 1 ranks from lowest to highest.
Calculate the rank of cell A1 within the range A1:A6 (descending order = 0) and place the result in B1.
Click cell B1, type your formula and press Enter.
| A | B | C | D | E | |
|---|---|---|---|---|---|
| Scores | Rank | ||||
| 1 |
96
|
||||
| 2 |
33
|
||||
| 3 |
57
|
||||
| 4 |
12
|
||||
| 5 |
87
|
||||
| 6 |
27
|
||||
| 7 |