Learning Outcomes
- 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
- Select (by clicking and dragging) the data you wish to sort.
- From the Sort & Filter button in the Editing group in the ribbon, click the Sort button.
- 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.](https://s3-us-west-2.amazonaws.com/courses-images/wp-content/uploads/sites/3559/2020/02/26034549/sortingdata1.png)
Method 2
- Select (by clicking and dragging) the data you wish to sort.
- 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.](https://s3-us-west-2.amazonaws.com/courses-images/wp-content/uploads/sites/3559/2020/02/26034827/sortingdata2.png)
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.
- Select (by clicking and dragging) the data you wish to sort.
- Click the Sort command followed by the Custom Sort option in the dropdown menu.
- 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.
- 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.
- Click Add and your custom ordering list will appear in the original Order dropdown menu.
- Select your custom list and then click OK.
Practice Questions
Contribute!
Did you have an idea for improving this content? We’d love your input.