Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in


How to filter rows by list of values in Excel?

If you need to filter a table (as left screenshot shown) and hide some rows by a given list of values as below screenshots shown, how do you deal with it in Excel? This article will guide you to solve it easily.

Filter rows by list of values with Advanced Filter feature

Filter rows by list of values with Kutools for Excel

Easily select entire rows based on a list of values with Kutools for Excel

With Kutools for Excel's Select Same & Different Cells feature, you can easily compare two columns of values, and then select the entire rows based on the same values or different values as below screenshot shown. And it will be easily to delete these rows after selecting in Excel. Full Feature Free Trial 60-day!

ad select entire rows by multiple values

We can apply the Advanced Filter feature to filter rows by a given list of values easily in Excel. Please do as follows:

1. Click Data > Advanced to open the Advanced Filter dialog box.

2. In the opening Advanced Filter dialog box, specify the list you will filter in the original table as List Range, and specify the given list as Criteria range. See screenshot:

3. Click the OK button. Then you will see the original table is filtered by the given list of values as below screenshot shown:

Note: This method requires the list you will filter in original table and the given list have the same title.

If you have Kutools for Excel installed, you can apply its Compare Ranges utility to find out and hide different values in a list easily. Please do as follows:

Kutools for Excel - Combines more than 300 Advanced Functions and Tools for Microsoft Excel

1. Click Kutools > Compare Ranges to open the Compare Ranges dialog box.

doc filter by list of values kte 1

2. In the opening Compare Ranges dialog box, please configure as follows:

doc filter by list of values kte 2

(1) Specify the list you will filter in original table into the Find values in box;
(2) Specify the given list into the According to box;
(3) Check the Each row option in the Based on section;
(4) Check the Different Values option in the Find section.
(5) Check the Select entire rows option.

Note: If the list you will filter in original table has different title from the title of given list, please do not select the titles in both Find values in box and According to box.

3. Click the Ok button in the Compare Ranges dialog box. And then a dialog box pops out to show how many rows have been selected. Just click the OK button to close it.

4. Now values which don’t exist in the given list are selected in the original table. Go ahead to click Home > Format > Hide & Unhide > Hide Rows.

So far we have filtered/hided rows by the give list of values already.

Kutools for Excel - Includes more than 300 handy Excel tools. Full feature free trial 60-day, no credit card required! Get it now!

In this Video, the Kutools tab and the Kutools Plus tab are added by Kutools for Excel. If need it, please click here to have a 60-day free trial without limitation!

Recommended Productivity Tools

Ribbon of Excel (with Kutools for Excel installed)

300+ Advanced Features Increase Your Productivity by 71%, and Help You To Stand Out From Crowd!

Would you like to complete your daily work quickly and perfectly? Kutools For Excel brings 300+ cool and powerful advanced features (Combine workbooks, sum by color, split cell contents, convert date, and so on...) for 1500+ work scenarios, helps you solve 82% Excel problems.

  •  Deal with all complicated tasks in seconds, help to enhance your work ability, get success from the fierce competition, and never worry about being fired.
  •  Save a lot of work time, leave much time for you to love and care the family and enjoy a comfortable life now.
  •  Reduce thousands of keyboard and mouse clicks every day, relieve your tired eyes and hands, and give you a healthy body.
  •  Become an Excel expert in 3 minutes, and get admiring glance from your colleagues or friends.
  •  No longer need to remember any painful formulas and VBA codes, have a relaxing and pleasant mind, give you a thrill you've never had before.
  •  Spend only $39, but worth than $4000 training of others. Being used by 110,000 elites and 300+ well-known companies.
  •  60-day unlimited free trial. 60-day money back guarantee. Free upgrade and support for 2 years. Buy once, use forever.
  •  Change the way you work now, and give you a better life immediately!

Office Tab Brings Efficient And Handy Tabs to Office (include Excel), Just Like Chrome, Firefox, And New IE

  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Open and create documents in new tabs of same window, rather than in new windows.
  • Help you work faster and easily stand out from the crowd! One second to switch between dozens of open documents!
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.
  • To post as a guest, your comment is unpublished.
    herme · 2 years ago
    Awesome, super helpful. Thanks for posting!!!