RANK function
the rank of a number in a list of numbers.
Compatibility
Where can you use it?
Teams maintaining legacy workbooks. Compare the example inputs and expected results with the formula in your workbook when checking a calculation made in an older version.
Scenario in the workbook
Check ties in a legacy ranking formula. Equal amounts share a rank.
A worked example from the workbook
| Row | A |
|---|---|
| 6 | Input |
| 7 | 10 |
| 8 | 20 |
| 9 | 20 |
Record 1
=RANK(A7,$A$7:$A$9,0)Expected result3
See the inputs and instructions for all 3 examplesCopyable formulas
English Excel · en-US
=RANK(A7,$A$7:$A$9,0)Turkish Excel · tr-TR
=RANK(A7;$A$7:$A$9;0)Compatibility function for older workbooks.
Worked examples
Check ties in a legacy ranking formula. Equal amounts share a rank.
Open the English sheet. Inputs begin at A6. F7:F9 show the live results and G7:G9 show the original results for comparison.
| Row | A |
|---|---|
| 6 | Input |
| 7 | 10 |
| 8 | 20 |
| 9 | 20 |
| Case | Formula | Expected result |
|---|---|---|
| Record 1 | =RANK(A7,$A$7:$A$9,0) |
3 |
| Record 2 | =RANK(A8,$A$7:$A$9,0) |
1 |
| Record 3 | =RANK(A9,$A$7:$A$9,0) |
1 |