Quickly Filter a List to Certain Records
September 06, 2022 - by Bill Jelen
Problem: I have 10,000 records in the worksheet. I need to be able to quickly find records that match a criterion, such as all East ABC records.
Strategy: You can find records that match a criterion by using the Filter feature.
Toggle on the Filter command by using either Home, Sort & Filter, Filter or selecting Data, Filter icon. As you can see below, the Filter button is three times larger than the Advanced Filter icon, which I take as evidence that Microsoft someday hopes to add enough power to Filter to eliminate the need for the Advanced Filter.
To filter your data set, follow these steps:
-
1. Make sure your data has a heading row. Select one cell within the data. Select Data, Filter. Excel will add a dropdown to each heading.
2. Select the Product dropdown. Before you can select ABC, you have to first uncheck (Select All).
3. Click the ABC check box. Click OK. You will now see just the ABC records.
4. Open the Region dropdown. Uncheck (Select All). Check East. Click OK.
You will now have only the East, ABC records. Notice the Funnel icon appears on all columns that have a filter applied.
To clear a filter, open the dropdown and choose Clear Filter from Field.
Additional Details: Excel will detect if your column is text, numeric, or dates. Each column type includes a flyout with new options.
The Date filters appear in a tree view, so you can turn on/off entire months rather than clicking all 30 dates that fall in a month. The Date Filter flyout menu offers many choices that seem like they were borrowed from Quickbooks.
Numeric columns offer a Top 10 filter, plus new choices such as Above Average.
The Top 10 Filter option allows you to specify the top or bottom “n” items or “n%” of items. The Top 10 feature was in previous versions of Excel, but all the other value filters in the figure above are new in Excel 2007.
If you have used cell colors, font colors, or icon sets, you can use the Filter by Color fly-out menu to show records that have a certain color.
Gotcha: In order for the Date Filters or Number Filters options to appear, your data needs to be predominantly dates or numbers. If you have too many blank cells or too many text cells, Excel will treat the column as text and not offer these filter options in the dropdown.
This article is an excerpt from Power Excel With MrExcel
Title photo by Annie Theby on Unsplash