Descending rank
| A | |
|---|---|
| 1 | Score |
| 2 | 90 |
| 3 | 80 |
| 4 | 70 |
Formula: C2: =RANK(A3,A2:A4)
Result: 2
Eighty is second when the largest score ranks first.
RANK with worked examples you can test in the live grid. The argument details are in the Excel guide.
The arguments and common errors are covered in the RANK Excel guide; check the function help in Google Sheets for its own argument list.
| A | |
|---|---|
| 1 | Score |
| 2 | 90 |
| 3 | 80 |
| 4 | 70 |
Formula: C2: =RANK(A3,A2:A4)
Result: 2
Eighty is second when the largest score ranks first.
| A | |
|---|---|
| 1 | Time |
| 2 | 12 |
| 3 | 10 |
| 4 | 14 |
Formula: C2: =RANK(A2,A2:A4,1)
Result: 2
In ascending order, 10 ranks first and 12 ranks second.
| A | |
|---|---|
| 1 | Score |
| 2 | 90 |
| 3 | 80 |
| 4 | 80 |
| 5 | 70 |
Formula: C2: =RANK(A5,A2:A5)
Result: 4
The two 80s share rank 2, so the next score, 70, is ranked 4, not 3.
A tiny spreadsheet with example data. Edit the formula or any number and see the result.
Formula in F2: =RANK(C2,C2:C7)
| A | B | C | D | E | F | |
|---|---|---|---|---|---|---|
| 1 | Region | Product | Units | Price | Result | |
| 2 | East | Pen | 120 | 2.5 | 1 | |
| 3 | West | Pen | 80 | 2.5 | ||
| 4 | East | Book | 45 | 12 | ||
| 5 | North | Book | 60 | 12 | ||
| 6 | West | Lamp | 30 | 25 | ||
| 7 | East | Lamp | 15 | 25 |
Google Sheets is used here only as a descriptive product name. FormulaCamp is not affiliated with Google.
Enter — commit · F2 — edit · F4 — $ in a reference · Ctrl+C/Ctrl+V — copy and paste · Ctrl+Z — undo
Esc or F6 — leave the sheet for the «Check» button · Shift+Tab in the first cell — back to the page