3. Sorting in Excel

In this lesson you will learn how to sort data.
The file Klanten is used for this lesson.
Here you can download the file Customers download.
You can then save the file on your own computer. In "My Documents", for example.

Via the File tab and then the Open button, you open the Customers file you have just saved.
The file opens in Excel.

Figure 3.1 The Customers file
Table with names, addresses and postcodes.

 

Sorting

Quick sorting

Go to the Data tab.

Figure 3.2 The Data tab
The Data tab in Excel, with the buttons for sorting and filtering.

With the buttons Button to sort in ascending order, from A to Z. Button for sorting in descending order, from Z to A. you can quickly sort by the column you are in

Sorting in ascending and descending order

  • You sort in ascending order from A to Z with Button to sort in ascending order, from A to Z.
  • You sort in descending order from Z to A with Button for sorting in descending order, from Z to A.

Make sure your cell pointer is in the customer list.
You can do this by clicking on "A1".

Sort the list by First name by clicking on Button to sort in ascending order, from A to Z. to click.

Figure 3.3 Sorted by First name
Table with names and addresses.

Sort by surname by placing your cell pointer on B1.

Figure 3.4 Sorted by Surname
Example Excel table with split name columns.

Advanced sorting

In some situations it can be useful to sort on several columns.
In this list there are several people with the same surname.
It would be useful to sort by surname first and, where this is the same, to look at the first name.

Make sure your cell pointer is in the customer list.

Click the Sort button:
The Sort button.

The Sort window opens.

Figure 3.5 Advanced sorting
The Sort window with the address list behind it.

 

Click the Add Level button Excel Sort window showing sorting options.

Complete the screen as in the example below:

Figure 3.6 The Sort window
The Sort window, where you choose the column.

Then click OK

The Result

Figure 3.7 Sorting by Surname and First name
Table with names and addresses.

Share this chapter: