Open links in new tab
  1. Help from Microsoft

    When sorting information in a worksheet, you can rearrange the data to find values quickly. You can sort a range or table of data on one or more columns of data. For example, you can sort employees —first by department, and then by last name.

    Icon image

    Select the data to sort

    Select a range of tabular data, such as A1:L5 (multiple rows and columns) or C1:C80 (a single column). The range can include the first row of headings that identify each column.


    Icon image

    Sort quickly and easily

    1. Select a single cell in the column you want to sort.

    2. On the Data tab, in the Sort & Filter group, click A to Z command in Excel that sorts A to Z or smallest number to largest to perform an ascending sort (from A to Z, or smallest number to largest).

    3. Click Z to A command in Excel that sorts Z to A or largest number to smallest to perform a descending sort (from Z to A, or largest number to smallest).

    Icon image

    Sort by specifying criteria

    Use this technique to choose the column you want to sort, together with other criteria such as font or cell colors.

    1. Select a single cell anywhere in the range that you want to sort.

    2. On the Data tab, in the Sort & Filter group, click Sort to display the Sort popup window.

    3. In the Sort by dropdown list, select the first column on which you want to sort.

    4. In the Sort On list, choose Values, Cell Color, Font Color, or Cell Icon.

    5. In the Order list, choose the order that you want to apply to the sort operation—alphabetically or numerically, ascending or descending (that is, from A to Z (or Z to A) for text, or lower to higher, or higher to lower for numbers).

    See moreSee more
    See lessSee less
  1. How to Use SORT Function in Excel? - ExcelDemy

    Jul 10, 2024 · How to use the SORT function in Excel. Learn to use the SORT function to sort any range of cells according to any row or column of your wish.

  2. SORT function in Excel (How to - 6 Examples) - Excel Off The Grid

      1. SORT returns an array of rows and columns. In this example, a single formula sorts the values in …
      2. SORT by another column in descending order. Example 2 shows how to sort by the second column …
      3. SORT expands automatically when linked to a Table. The animation below shows how the SORT …
      4. Using SORT to return a top 5 and specific columns. Example 4 shows how to create a top 5 and …
      5. Combining FILTER and SORT. The dynamic array functions can be nested within each other. This …
  3. How to Use the Microsoft Excel SORT Function

    Nov 9, 2022 · While Microsoft Excel offers a built-in tool for sorting your data, you may prefer the flexibility of a function and formula. We'll show you how to use the Excel SORT function with helpful examples.

  4. Excel SORT function | Exceljet

    Nov 2, 2023 · In this video, we’ll look at how to sort by multiple columns with the SORT and SORTBY functions. In this worksheet, we have a list of names, projects, values, and regions.

  5. SORT function in Excel - Step by Step Tutorial

    Learn how to use the SORT function in Excel 365/2021 to sort your data by one or more columns. See examples, arguments, spilling, and SORTBY function.

  6. People also ask
  7. Excel SORT function - auto sort data using formula

    Mar 14, 2023 · Learn how to use the SORT function in Excel to sort data arrays dynamically by columns or rows, in ascending or descending order. See examples of basic and advanced usage, tips and notes, and common issues.

  8. Mastering the Excel SORT Function: The Ultimate Guide

    Mar 28, 2025 · With its non-destructive, real-time sorting capabilities and dynamic arrays, this comprehensive guide covers everything: from basic syntax to advanced multi-column sorting, error handling, and troubleshooting.

  9. Excel SORT Function: Sort Excel Data Using a Formula …

    Aug 30, 2024 · Learn how to use the SORT function to sort data in ascending or descending order by one or more columns in Excel. See examples, tips, and limitations of this dynamic array function and how to combine it with other …

  10. How to Use the SORT Function in Excel (With Examples) …

    Using different examples, let’s learn the SORT function syntax and applications for vertical and horizontal sorting. Whether you are a beginner or an advanced user, this article is all you need to master the SORT function.