This is a series of articles about filtering, which is the temporary removal of rows you don’t want to see, so that you can see those rows which contain data you specify.
Previous articles talked about setting up a filter, and then filtering a text column.
This article will investigate filtering a date column, and finally filtering on colors.
Clicking on the drop-down filter box shows the date data. At first, all you can see are the years, but you can click the + box to show the months, then the dates, hours, minutes and all the way down to the seconds.
As before, you can select multiple dates by clicking the appropriate check boxes.
In this way, you can de-selecting “(Select All)” to remove all the check boxes, and then click on “July” within “2014” to select 28, 29 and 30 July 2014 (and any other dates in July 2014 that may be there – did you see that “Not all items showing” sign?)
Alternatively, you can use the Date Filters. These are a series of pre-defined searches, together with one where you can define your own searches.
The searches are:
It sounds like “Equals” should be fairly simple to define, but is actually pretty complex. That’s because it’s not based on the value that a cell actually IS, but is based on what it displays.
Therefore, how your cells are formatting is very important to this “Equals”, but also to the next 4 searches.
Custom Filter… - this is shown at the very bottom of the list. It is less useful with date data columns than for text data, but one of the major uses is that it allows you to do “Is before or equal to” and “Is after or equal to”. Another use is to use two ranges, such as Before 1 Jan 2013 or After 1 Jan 2015.
The next set of searches are ranges based on today’s date:
Clicking on “All Dates in the Period” gives you the following options: Quarter 1-4, and an individual month.
It should be noted that this does not restrict the search based on a particular year. So “February” would give you all rows which had a date in February 2012 or 2013 or 2014 etc. For a particular year, you should use the “Between…”.
New to Excel 2007, you can filter on the colors used.
You can either filter by “Cell Color”, which is the background color, or by “Font Color”, which is the foreground color.
You can only filter on one color at a time, so if you want to filter on both a forecolor and a backcolor, then you should copy that column into another column, so you can filter on the original column using the forecolor and the new column using the backcolor filter at the same time.
That’s all for this series of articles. If you found this interesting, you may also be interested in how to create PivotTables, which can also use filters to narrow down the information.