How to filter data by multiple criteria in Excel?
In Excel, we can easily filter data based on one criterion with Filter function, but, a lot of times, we need to filter the data by multiple criteria in your large worksheet. Are there any quick or handy ways for us to solve this task in Excel?
Filter data by multiple criteria with Advanced Filter
Filter data by multiple criteria with Kutools for Excel
Filter data by text length with Kutools for Excel
Filter data by uppercase / lowercase with Kutools for Excel
Filter data by multiple criteria with Advanced Filter
Supposing I have the following data list need to be filtered by multiple criteria:
- Product = AAA-1 and Order < 50,
- Product = CCC-3 and Name = Helen,
- Product = EEE-5 and Total price > 5000.
And among the three criteria, the relationship is OR.
When you use this Advanced Filter function, please do as follwowing steps:
1. Create your criteria field in an area, in this example, I enter these criteria which I want to filter by at the top of my data. See screenshot:
Note: When you create your criteria, you must remember this:
(1.) To create an AND criteria, put your criteria on the same row, for example, Product = AAA-1 AND Order < 50.
Product | Order |
AAA-1 | < 50 |
(2.) To create an OR criteria, put your criteria on separate rows, for example, Product = AAA-1 OR Order < 50.
Product | Order |
AAA-1 | |
< 50 |
2. Select the data range that I want to filter, and click Data > Advanced, see screenshot:
3. And in the Advanced Filter dialog box, click button beside Criteria range to select the criteria that I have created just now, see screenshot:
4. Then click OK, and it displays the filtered results, the records that don't fit the criteria are hidden. See screenshot:
Filter data by multiple criteria with Kutools for Excel
Maybe the Advanced Filter feature is a little difficult for you, here, I have a powerful tool – Kutools for Excel, with its Super Filter utiltiy, you can filter data based on cell value with only one criterion or multiple criteria.
Note:To apply this Super Filter, firstly, you should download the Kutools for Excel, and then apply the feature quickly and easily.
After installing Kutools for Excel, please do as this:
1. Click Kutools Plus > Super Filter to open the Super Filter pane.
2. In the Super Filter Pane, apply the following settings:
(1.) Cick the button to select the data range that you want to filter.
(2.) Choose the general relationship for all the criteria by clicking Relationship drop down list, in this case, I select OR.
3. Now you can create the first group condition, Product = AAA-1 and Order < 50.
(1.) Specify the group relationship for your separate set of conditions by clicking Relationshipin Group drop down list, for example, I ues AND.
(2.) Then you can specify the criteria, click on the horizontal line beside the relationship AND, and it will appear some condition boxes, click the condition boxes and select the criterion one after one as you need, in the last condition box, enter your criterion, AAA-1. See screenshot:
(3.) Add another condition Order < 50 in this group with the same way as adding the first condition. And the first group condition has been added into the condition box.
4. Then click Add Filter button or button to add a new condition group, and repeat the step3 to add other two group conditions.
5. After adding all the criteria, please click Filter button, and you will get the results as follows:
Note: Click Clear button to cancel the filter and recover the data.
Click Super Filter to know more details about this feature.
Download and free trial Kutools for Excel Now !
Demo: Filter data by multiple criteria with Kutools for Excel
Filter data by text length with Kutools for Excel
Kutools for Excel' Super Filter utility also can help you to filter data by text or character length. For example, here, i want to filter all text which length is greater than 20. Kutools for Excel: with more than 300 handy Excel add-ins, free to try with no limitation in 30 days. Download and free trial Now! |
Filter data by uppercase / lowercase with Kutools for Excel
Kutools for Excel' Super Filter utility also can help you to filter data by upper or lower case. For example, here, i filter all text which contains uppercase. Kutools for Excel: with more than 300 handy Excel add-ins, free to try with no limitation in 30 days. Download and free trial Now! |
Best Office Productivity Tools
Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time. Click Here to Get The Feature You Need The Most...
Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier
- Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
- Open and create multiple documents in new tabs of the same window, rather than in new windows.
- Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!