Excel 2007 Filters

How to Use Filters in Excel 2007

by on January 28, 2011

in Excel,Microsoft Office Training,Online Training

Excel 2007’s Filters tool is right at home with large tables of data. 

You can use filters to limit the data displayed in your table to only that which meets one or more criteria you specify.

When your data is filtered Excel hides the rows that do not meet your criteria.

You can apply filters to more than one column, with each additional filter being added to the current filter(s) to further reduce the set of data displayed.

For this Excel Filters tutorial I’ve borrowed some data from Phil (my husband).

You see Phil is a keen Eve fan.  No, Eve is not another woman, although I do sometimes feel a bit widowed by Eve.  Eve is an online sci-fi computer game where you fly fantasy space ships, in a fantasy galaxy, fighting fantasy battles to feed your obsession with geeky stuff. 

I won’t bore you with anymore details on how the game works, other than to say there’s a lot of buying a selling of (fantasy) commodities and as a result the game generates large tables of data.  Perfect for filters.

How to Insert Filters in Excel 2007

1.       First make sure your data is in a tabular format. That means there are column headings or labels, but no row labels, and preferably no blank columns within your table.

2.       On the Data tab in the Ribbon go to the Sort & Filter section and click on the Filter button.

How to insert a filter in Excel 2007

3.       Down arrows will appear in each column heading like this:

Filter drop down arrows

That’s it. Your filters are now inserted!

How to Use Filters in Excel 2007

You can create 3 types of filters using the filter buttons:

1.       Filter your table by numerical values – available when the column contains numbers

2.       Filter your table by text that meets a certain criteria – available when the column contains text

3.       Filter your table by cells that meet a format style – available when the column has font or cell formats.

Clicking on any of the filter arrows opens a menu of tools where you can select from the different types of filters relevant to the type of data in the column.

How to use filters in Excel 2007

Note: The icon on the filter button changes when you have a filter in place.

How to tell you have a filter in place

Tip: To see what filter is applied hover your mouse over the filter icon and a screen tip will appear.

How to tell what filter is applied

Text Filter Options

1.       Sorting by A to Z and vice versa is as it suggests. Just be aware that once you select one of these sort options you cannot undo it.

2.       Sort by Colour is great if you’re using Conditional Formatting, or even if you just have different coloured text or cell fill.

3.       Filter by colour allows you to only display rows that meet the colour criteria you choose, whether it be the font colour or the cell colour.

4.       Or simply tick or un-tick the items you want to filter from the list.

5.       Text Filters (see menu below) allow you to specify criteria that matches a text value.

How to insert a text filter in Excel 2007

From the menu above I selected Text Filter > Equals and the window below opens to allow you to specify your criteria.

How to insert a custom filter in Excel 2007

Number Filter Options

If you select Filters on a number column (see image below) you get slightly different menu options, including Less Than, Greater Than, Top 10, and Averages to name a few.

How to insert a number filter in Excel 2007

How to Filter Dates or Times

When you apply a filter on a column containing dates you are presented with different options in the menu (see image below)

How to filter dates and times in Excel 2007

You will notice in the list that the dates are grouped by year, then month and so on.

You can either select specific dates from this list or you can select a time sensitive filter by clicking on Date Filters > and then selecting from the options available.

The time sensitive filters, like Today, Tomorrow, Next Month etc. are dynamic, meaning they will automatically update as time goes on. Each time you open the workbook Excel will reapply the filters based on the current date on your computer.

Tip: if you use a date filter it’s a good idea to format your dates based on the filter. For example; if you’re filtering by month, format the date column as mmm-yy.

How to Apply a Quick Filter

You can apply a quick filter based on the criteria that matches the active cell (see image below).

For example; my active cell below contains the text ‘Rens’ in a red font with pink fill. When I right click on the cell, and select Filter, Excel brings up a list of options based on the active cell.

How to apply a quick filter in Excel 2007

How to Clear Filters

To remove a Filter from a column simply click on the filter button and select ‘Clear Filter’.

Or to clear all filters from your worksheet click on the Data tab of the ribbon and select ‘Clear’ from the Sort & Filter group.

So, you can see from the options available in the windows above that there is a vast range of criteria you can specify. I recommend you have a play around with it. Since most of it is self explanatory I won’t bore you now.

Download the practice workbook here.

Excel Filter Warnings!

1.       Summing filtered data with the SUM, COUNT, AVERAGE, MIN, and MAX formulas (and some others) results in Excel including both the hidden and visible cells in your formula. If you only want to sum the visible cells in a filtered set of data you need to use the SUBTOTAL Formula.

2.       When you use the Find tool to search filtered data Excel will only search the data that is visible. To search all of your data you need to clear your filters.

3.       Using the sort options in the filter is not reversible.

4.       You cannot apply more than one filter to one column. Each filter is mutually exclusive.

5.       Make sure each column only contains one type of data. E.g. don’t have dates and text in the same column. The filter can only be applied to one type of data in each column.

FREE PDF Download
100 Excel Tips & Tricks

Excel Tips & Tricks E-Book
Just enter your details below

Leave a Comment

{ 8 comments… read them below or add one }

Tarun October 17, 2011 at 6:00 pm

Great

Reply

Mynda Treacy October 17, 2011 at 8:04 pm

Thanks Tarun. I appreciate your feedback.

Reply

vamshi January 23, 2012 at 7:52 pm

Thanks

Reply

vamshi January 23, 2012 at 8:25 pm

thanks for the pdf.

Reply

Philip Treacy January 23, 2012 at 9:27 pm

You’re welcome :)

Reply

BC April 27, 2012 at 11:54 am

Helpful tips. Thanks.

Reply

Mynda Treacy April 30, 2012 at 10:26 pm

Cheers, BC :)

Reply

Shekar May 13, 2012 at 7:46 pm

Excel Filter Warnings!

6. Reiterating what Mynda mentioned above regarding \no blank columns within your table\:

Filtering data with merged cells is not a good idea.

Reply

Previous post:

Next post: