Cellgrids Cellgrids
Home › Excel formulas › Lookup and Reference › SORT

SORT Function in Excel: Syntax, Examples and Free Practice

By Rinkesh Shah, founder of Cellgrids.

SORT is an Excel Lookup & Reference function. Sorts a range automatically as a formula, without changing the original data.

SORT syntax

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

Arguments

When to use SORT

SORT is used to pull matching data from one part of a workbook into another.

Practice SORT online, free

Open the live Excel-style spreadsheet and try SORT yourself. No Excel install or sign-up needed to start.

Practice SORT now →

More Lookup & Reference functions

Frequently asked questions

What does the SORT function do in Excel?

Sorts a range automatically as a formula, without changing the original data.

What is the syntax of SORT in Excel?

The syntax is =SORT(array, [sort_index], [sort_order]). array: The range or array to evaluate; sort_index: Which column or row to sort by (optional); sort_order: How the set should be sorted (optional).

Where can I practice SORT online for free?

Open the free live spreadsheet on Cellgrids and try SORT yourself. No Excel install is needed and you can start without signing up.

All Excel formulas · Cheat sheet · Excel exercises · Lookup and Reference functions · Excel case studies · Excel tutorials · Excel shortcuts