How to Filter by List in Another Sheet in Excel – 2 Methods

This is the sample dataset.

excel filter by list in another sheet by advance filter

and a list for filtering in the List for Filter sheet.

excel filter by list in another sheet by advance filter

 

Method 1 – Filter by List in Another Sheet Using the Advance Filter

Steps:

  • Select the entire data set including headers and go to Data > Advanced.

excel filter by list in another sheet by advance filter

  • Select the list you want to filter in the other sheet, and click OK.

  • The header must be the same as the header in the current dataset.
  • This is the output.

excel filter by list in another sheet by advance filter


Method 2- Using the COUNTIF Function to Filter by List in Another Sheet

The COUNTIF function filters data based on a list in another sheet.

Steps:

  • Enter the following formula in G5.
=COUNTIF('List for Filter'!$C$5:$C$9, B5)

excel filter by list in another sheet by COUNTIF Function

  • Press ENTER.

excel filter by list in another sheet by COUNTIF Function

  • Drag down the Fill Handle to see the result in the rest of the cells.

  • Select the entire dataset and press CTRL+SHIFT+L.

excel filter by list in another sheet by COUNTIF Function

  • Select 1 in Filter Count.
  • Click OK.

  • This is the output.

excel filter by list in another sheet by COUNTIF Function


Practice Section

Practice here.

excel filter by list in another sheet by COUNTIF Function

Practice with this sheet.


Download Practice Workbook


<< Go Back to Filter in Excel | Learn Excel

Get FREE Advanced Excel Exercises with Solutions!
Mahbubur Rahman
Mahbubur Rahman

MAHBUBUR RAHMAN is a leather engineer with a talent for Excel and a passion for VBA programming. To him, programming is like a time-saving wizard, making data manipulation, file handling, and internet interactions a breeze. His skill set extends to SPSS, STATA, Deep Neural Networks, and Machine Learning. Holding a B.Sc in Leather Engineering from Khulna University of Engineering & Technology, he's shifted to become a content developer. In this role, he crafts technical content centred around Excel... Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo