Learning Objectives
- Sort data in a table.
- Filter 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.
Sorting Data
Method 1
- Select the column or row 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.
Method 2
- Select the column or row 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.

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.
- Click on 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 Question
Practice Questions
Practice Question
Filtering Data
After entering data in Excel, it is also possible to filter, or hide some parts of the data, based on user-indicated categories. When using the Filter option, no data is lost; it is just hidden from view.
Method 1
- Select the column or row you wish to sort.
- From the Sort & Filter button in the Editing group in the ribbon, click the Filter button.
- When the Filter menu appears, you can choose which categories of data to hide and deselect the appropriate buttons. For example, you can deselect the button next to large and you will no longer see the large cells in your table.
Method 2
You can similarly access the Filter menu through the Data tab; the same menu will appear.
Practice Question
Licenses and Attributions