Painless Excel custom autofilter on more than 2 criteria

Painless Excel custom autofilter on more than 2 criteria

Excel filter more than 2 criteria effortlessly

If you have an Excel sheet on which you would like to filter on several criteria, you have three different ways, depending if you want to filter on one, two, or multiple criteria, in which case you need to use the advanced filter Excel in addition with Excel wildcards to refine the filters.

It is possible to use multiple filters in Excel, with Autofilter, in order to have advancedfilter applied to an open spreadsheet, and find the Excel match multiple criteria on one or more columns.

After having applied one of these tricks explained in that Excel help online article, you will be able to apply further advanced Excel functions on the result such as to count number of cells in result filtered on one criteria, to do an advanced vlookup in Excel with the double filtered data, or for example to count number of occurrences from the Excel advanced filter multiple criteria on one column applied.

1 - Excel 2013 filter on one criteria

The first and easiest way, to filter on one or maximum 2 criteria, is to apply a filter in menu Data => Filter.

With filter applied, on the column on which you want to filter, click on the arrow, and, in Search field, enter the string you are looking for including eventual Excel wildcards:

  • ABC for entries containing ABC,

  • ABC* for entries starting with ABC,

  • *ABC for entries ending with ABC.

This is also the way to do an Excel filter multiple columns, by selecting the filter to apply in each column regarding the data stored in that column.

It is even possible to do an Excel filter multiple criteria, as one criteria can be selected by column, and it can be different for each of them.

Excel: Advanced Filtering - Briar Cliff University

2 - Double filter in Excel

With filter applied, on the column on which you want to filter, click on the arrow, and, in Text Filters menu, select Contains option.

In the open box, you can then enter one or two criteria - if you select OR, both will be applied. If you select AND (by default), only entries meeting the two criteria will be selected.

Thus allowing you to do an Excel double filter on your spreadsheet, and is how to double filter in Excel on one single column.

Excel 2013: Filtering Data - GCFLearnFree – GCFGlobal.org

3 – Excel advanced filter multiple criteria one column

To be able to do an Excel filter more than 2 criteria, you have to create another column with the exact same header as the column that you want to filter - in our example, column is name - and put one search criteria by line below. All selection criteria will be applied as an OR - meaning, results will match any of them.

Then, select the column you want to filter, select the Data menu => Advanced option in Sort & Filter box, click on Criteria range icon, and select the criteria cells - not the whole column, only the criteria data starting with same column header as the data to filter.

And voilà ! See below example, a list of hotel has been filter to all hotels from either Holiday Inn, Crowne Plaza, Radisson, or Novotel, with an advanced filter Excel 2013, resulting in an Excel custom autofilter more than 2 criteria, also called an Excel advanced filter multiple criteria one column as the different criteria are applied simultaneously on the same column.

The Excel custom filter more than 2 criteria contains will result in only the entries containing any of the filters being displayed.

See below the result with Excel multiple filters applied.

Filtering and Sorting Data - Using Microsoft Excel - Research Guides

Excel custom filter on multiple criteria

It is possible in Excel to filter on more than two criteria, by setting up a column with values to search, which must be named exactly as the column on which the filter must be applied.

Then, select the column to filter. Open the menu > data > filter > advanced.

Select the criteria range, the other column with the same name, and the Excel advanced filter multiple criteria one column will be applied on the first column, filtered with the multiple criteria.

Complete 2019 Excel for Beginners in video

Similar articles


Comments (0)

Leave a comment