SORT
Returns a sorted copy of a list.
How it’s written
SORT(range, column, direction)Example
| A | B | |
|---|---|---|
| 1 | Name | Score |
| 2 | Amara | 72 |
| 3 | Ben | 90 |
| 4 | Chloe | 65 |
| 5 | Dev | 90 |
| 6 | Elena | 83 |
=INDEX(SORT(B2:B6,1,-1),3)Result: 83
Sorted from highest to lowest, the third score is 83.
Try it yourself
Open a live sheet with this example, and type the formula yourself. It takes a moment to load.
Worth knowing
-1 sorts from highest to lowest. Your original data doesn’t change.
Practice it properly
UNIQUE and SORT gives you real tasks, with your formulas tested on data you haven’t seen.