In this lesson, we'll show you how to filter data using more than one column.
Let's take a look.
Here we have a table that contains 300 property listings. Each entry has information for price, address, property type, bedrooms, baths, square footage, cost per square foot, year built, and date listed.
Let's use Excel's filter tools to explore this information.
First, we need to enable filter mode. Select any cell in the table, then click the Filter button on the Data tab of the ribbon. You can also use the keyboard shortcut control-shift-L to toggle filter mode on and off.
Let's start by filtering to show only properties below $500,000. First, click the arrow in the price column to display filter settings. Then, choose Number Filters and select "Less Than...". Enter 500000 in the dialog and click OK to apply.
The table is now filtered, and the status bar tells us how many records are displayed.
Now let's filter the list to show only Single family homes. Click select all to to deselect all types, then click Single Family.
There are now 135 properties visible.
Let's further restrict listings to show only properties with 4 bedrooms or more, and with at least 2 baths. Both of these filters use Greater than or Equal to, in the Number filters menu.
Finally, let's filter to show only properties listed in 2013. The date listed column holds a date, so we see a Date Filters item in the filter settings. The Date Filters menu contains a huge list of options for relative time periods. But we can also use the Date tree below to select all dates in 2013.
Now, based on the 5 filters we've set, there are 11 out of 300 properties displayed. You can hover over any filter button to see a description of the applied filter.
You can clear filters one at a time by selecting Clear Filter in each column
You can also use the Clear button in the ribbon to clear all filters at once.
Let's undo and look at one more way to clear all filters at one time.
When you want to reset a table with multiple filters in place, you can also just click the Filter button on the menu. This clears all filters and disables filter mode altogether.