How To Search Multiple Items in Excel Filter (2 Ways)

 

We have a simple table having a few random Persons from different Countries and their respective Favorite Sports and Favorite Player. We will filter the dataset based on different items.

Sample Dataset of Searching Multiple Items in Excel Filter


How to Search Multiple Items with Filter in Excel: 2 Methods

Method 1 – Using the Basic Filter Option

Case 1.1 – Using the Filter Directly

You will find the Filter option in the Sort & Filter section from the Data tab.

Steps:

  • Select the range of data you want to use the filter on and click Filter.

Selection of Filter Option to Search Multiple Items

  • You will find the filter icon at the bottom corner of the column’s headers.

Basic Filter Icon for Every Column

  • Click on any of the filter icons for the column you want to filter. For example, we will filter based on the Country.

Using Filter Icon to a Column

  • All the country names will be visible. Since our agenda is to use several items for filtering, we will select a few countries from there.
  • Select a country. Here we have selected Australia.

Filtering a Single Item From Filter Option

  • Repeat for other countries of your choice.

Selection of Multiple Items using a Checkmark

  • We have selected Canada and the US.
  • Click on OK.
  • The table will hide cells that don’t contain the listed countries in the appropriate cell.

Output of Filtered Data for Multiple Items

  • Let’s also filter through the Favorite Sports columns. Click the filter icon for that column.

Filtering Multiple Columns to Search Multiple Items

  • Select any of the options from there. We chose Football and Tennis.

Filtering Multiple Items From Filter Option

  • Here we will find the filtered data.

Output of Filtered Item


Case 1.2 – Using a Helper Column for Filtering

Steps:

  • List the items to find within the dataset.

Sample Dataset of Searching Multiple Items Using Helper Column

  • We have listed three countries separately from our dataset.
  • We created a helper column.

Adding New Helper Column to Search Multiple Items

  • Enter the following formula into the first cell of the column:
=COUNTIF($H$5:$H$7,C5)

H5:H7 is the range reference for our searching counties, and C5 is the first cell from Country.

Applying the COUNTIF function to count cells with criteria

  • We have found the instance number of the country (US) in the search country list.

Result of Applied Formula

  • Use AutoFill to fill in the Helper (Helping) Column. The formula puts 1 if it finds any of the listed countries in the appropriate cell in the row.

Utilizing Autofill Feature to Fill

  • Use the Filter option on the Helper (Helping) Column and select 1 from there.

Performing Filter Feature to Filter Items

  • We have found the data from our desired countries.

Output of Filtered Multiple Items using Helper Column


Method 2 – Using the Advanced Filter Option to Search Multiple Items

 

Case 2.1 – Multiple Values for Single Column

We have listed a couple of sports in a separate table to filter by.

Sample Dataset for Searching Multiple Items Using Advance Filter

Steps:

  • Make sure the search column has the same header name as the original column.
  • Click on Advanced Filter from the Sort & Filter option in the Data tab.

Utilizing the Advanced Filter Option to Filter

  • An Advanced Filter dialog box will pop up in front of you.

Advanced Filter Window to Filter Data table

  • Select the List range and the Criteria range.

Selection of List Range and Criteria Range to Filter Multiple Items

  • We put our dataset into the List range and the search column into the Criteria range.
  • Click OK.

Output with Multiple Choices Using Advanced Filter


Case 2.2 – Multiple Values for Multiple Columns

We are going to filter from the Country and the Favorite Sports columns with a few values each.

Sample Dataset for Searching Multiple Items Using Advance Filter

Steps:

  • Open the Advanced Filter and set the ranges to the respective fields.
  • We have put the dataset into the List range and the search columns into the Criteria range.
  • Click OK.

Advanced Filter Window to Filter Data table

  • This filters the dataset based on the values from our search items.

Output with Multiple Choices using Advanced Filter


Practice Workbook

You are welcome to download the practice workbook from the link below.


<< Go Back to Filter in Excel | Learn Excel

Get FREE Advanced Excel Exercises with Solutions!
Shakil Ahmed
Shakil Ahmed

My name’s Shakil. My articles are targeted to support you in enriching knowledge regarding different features related to Microsoft Excel. I am fond of literature, hope some knowledge from them will help me providing you some engaging articles even though some weary technical terms.

1 Comment
  1. thanks a lot

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo