WeCodeAcademy
❮ INDEX MATCHFILTER ❯

SORT

Returns a table sorted by a column (1 for smallest first, -1 for largest first). The result fills the empty cells below and beside the formula.

Group: Dynamic arrays

Syntax

SORT(range, [sort_column], [order])

Example

Exampleexcel
Open in editor »

← All of Excel Function Reference