Skip to main content
Business LibreTexts

7.3: Sorting Data

  • Page ID
    46520
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \) \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)\(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\) \(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\)\(\newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    Learning Objectives

    • Sort data in a table.

    After data has been entered into an Excel worksheet, and even after it has been organized into a table, it can still be manipulated and reorganized. One of the easiest options is to sort the data in a particular order. For example, you can sort the data alphabetically.

    Method 1

    1. Select (by clicking and dragging) the data you wish to sort.
    2. From the Sort & Filter button in the Editing group in the ribbon, click the Sort button.
    3. From the menu, choose how you would like to sort the data. For example, A to Z or Z to A. Note that A to Z is equivalent to Smallest to Largest and Z to A is equivalent to Largest to Smallest.
    Data has been entered in Columns A and B through row 11. There is a green arrow pointing at a green box where a dropdown menu has opened up. The option to sort alphabetically is shown.

    Method 2

    1. Select (by clicking and dragging) the data you wish to sort.
    2. From the Data tab in the ribbon, click the appropriate Sort button. For example A to Z or Z to A.
    Data has been entered in Columns A and B through row 11. There is a green box showing off the sort option in excel.

    A quick note about Custom Sort: the Custom Sort option allows you to define how your data will be sorted within a column. For example, perhaps you want to sort information by clothing size, rather than alphabetically. In this case, you must create a custom list for your sort order.

    1. Select (by clicking and dragging) the data you wish to sort.
    2. Click the Sort command followed by the Custom Sort option in the dropdown menu.
    3. The Sort window will appear, allowing you to specify which column you will sort and how. You can use the default options (days of the week or months) or you can enter a new list. To create a new list, select Custom List from the Order column and then NEW LIST.
    4. If you are making a custom list, type in order the way you would like the data sorted. In our example, we are sorting by size from small to large.
    5. Click Add and your custom ordering list will appear in the original Order dropdown menu.
    6. Select your custom list and then click OK.
    A sorts dialog box is open. A custom lists dialog box is open.

    Contributors and Attributions

    CC licensed content, Original
    • Sort Data. Authored by: Shelli Carter. Provided by: Lumen Learning. License: CC BY: Attribution

    7.3: Sorting Data is shared under a CC BY license and was authored, remixed, and/or curated by LibreTexts.

    • Was this article helpful?