EXCEL SORT FUNCTION

SORT is a function that sorts the contents of a range or array.

Syntax :

=SORT (array, [sort_index], [sort_order], [by_col])

Parameters :

  • array – To sort, use a range or array.
  • sort index – [obligatory] Sorting with a column index. The default value is 1.
  • sort order – [obsolete] 1 denotes ascending, -1 denotes descending. Ascending order is the default.
  • by col – [obligatory] TRUE if you want to sort by column. TRUE if you want to sort by row. The default value is FALSE.

Step By Step Guide of SORT Function

Example :

The SORT function extracts all values and sorts them by score in decreasing order.

Sort Function
  • this function available in excel version Excel 365.

Related Functions

HLOOKUP Function

HLOOKUP Function

Explore Now

VLOOKUP Function

VLOOKUP Function

Explore Now

INDEX Function

INDEX Function

Explore Now

MATCH Function

MATCH Function

Explore Now

DATE Function

DATE Function

Explore Now

IF Function

IF Function

Explore Now

OR Function

OR Function

Explore Now

AND Function

AND Function

Explore Now

RANK Function

RANK Function

Explore Now

SUMIF Function

SUMIF Function

Explore Now

XIRR Function

XIRR Function

Explore Now

WORKDAYS Function

WORKDAYS Function

Explore Now