4. Filteren met datafilters in Excel

This lesson covers working with data filters.
A data filter makes it easy to search through data files.
Data filters are particularly useful with large data files such as a customer database.

The file Klanten is used for this lesson.
Hier kun je het bestand Customers download.
Het bestand kun je dan opslaan op je eigen computer. Bijvoorbeeld in "Mijn Documenten".

Open the file Klanten

Klik op het tabblad Bestand en open via de knop Openen het bestand Klanten dat je zonet hebt opgeslagen.

Figure 4.1 The Klanten file
Het bestand Klanten, met namen, adressen en woonplaatsen.

The formatting

First we will add formatting to the table so that it looks neat.
Click the Home tab if it is not already active.

 

Figure 4.2 Home tab
Het tabblad Start met de opmaakknoppen.

Data filters can then be added to the table by clicking the "Format as Table" button.
De knop Opmaken als tabel.

A list of formats opens.
Choose a format.

Figure 4.3 Choose a format
Het keuzemenu met de beschikbare tabelstijlen.

 

Figure 4.4 Check that the table is selected
De geselecteerde gegevens met het venster Opmaken als tabel.

Check that the table has been selected correctly.
If all has gone well, the Format as Table window shows: =$A$1:$E$16
Click OK.

The result

Figure 4.5 Customer database with data filters
Tabel met namen, adressen en woonplaatsen.

Working with the data filter

In the previous exercise we added formatting and a data filter to the table.
In this exercise we are going to work with the data filter.

The formatting and the data filter have been added to the table.
The filter is visible in the row with the column headings.

Figure 4.6 The data filter
De kolomkoppen met de filterpijltjes erin.

Click the arrow next to Achternaam

Figure 4.7 Setting a filter for Surname
Het filterpijltje naast de kolom Achternaam.

Untick the (Select All) checkbox.
Tick the box next to Dirksen.


Figure 4.8 Select the desired filter
Het filtermenu, waarin je sorteert en selecteert.

The result of the filter

Figure 4.9 Filter result
Tabel met namen, adressen en postcodes.

There is now a small button with a filter icon next to Surname. This means that the Surname field has been filtered.

Click the button next to Achternaam again.
Select the option (Select All)
All customers are visible again.

Make a list of everyone from Hilversum or Amsterdam.

The result

Figure 4.10 Result of filtering on all people from Hilversum or Amsterdam
Tabel met namen, adressen en woonplaatsen.

Solution:

You filter on Hilversum and Amsterdam by clicking the arrow next to City.
Make sure that only Hilversum and Amsterdam are ticked.

Share this chapter: