SORT

Returns a sorted copy of a list.

How it’s written

SORT(range, column, direction)

Example

AB
1NameScore
2Amara72
3Ben90
4Chloe65
5Dev90
6Elena83
=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.

Start the lesson

Related functions