Please Note: This article is written for users of the following Microsoft Excel versions: 2007, 2010, and 2013. If you are using an earlier version (Excel 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Excel, click here: Filtering to a Date Range in the Past.
by Allen Wyatt
(last updated May 23, 2015)
Bill has a data table with fifty columns and many, many rows. One of the columns contain a record date, with dates that range over the past three years. Bill asked if there was a way to create a filter criteria to display only those records with dates between 91 and 98 days ago.
One solution is to add a new column to your data table that indicates if the record date is in the desired timeframe. Assuming the record date is in column A, the following would work:
The result is either a True or False value, depending on the record date. You could then set up the filtering based on the value of the new column. All you need to do is set up the filter so that only those records with a True in the column (those between 91 and 98 days old) would be displayed.
ExcelTips is your source for cost-effective Microsoft Excel training. This tip (10997) applies to Microsoft Excel 2007, 2010, and 2013. You can find a version of this tip for the older menu interface of Excel here: Filtering to a Date Range in the Past.
Solve Real Business Problems Master business modeling and analysis techniques with Excel and transform data into bottom-line results. This hands-on, scenario-focused guide shows you how to use the latest Excel tools to integrate data from multiple tables. Check out Microsoft Excel 2013 Data Analysis and Business Modeling today!
Filtering is a great asset when you need to get a handle on a subset of your data. Excel even makes it easy to copy the ...Discover More
The filtering capabilities of Excel are indispensable when working with large sets of data. When you create a filtered list, ...Discover More
When you use Excel to input and store information, you need to be concerned with whether the information meets your ...Discover More
FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.