Reader's Question

How To Filter Multiple Columns With Multiple Criteria In Excel

We use auto filters to filter subsets of data in Excel, but this filtering is limited to actual data. We can use Advanced Filter feature to filter multiple columns with different criteria.

Understanding with an example will be easy.

Open a workbook in Excel and copy below data into the sheet.

You can also use your own dataset instead of this data.

Click here to download the workbook sample data.

I have used the simple sorting feature of Excel to sort the data alphabetically.

To sort your data alphabetically, select the data and right click the mouse. From the menu select “Sort” option and select “Sort A to Z”. It will sort your data alphabetically.

Shortcut Key for sorting data alphabetically: Function key + O + S

See below image for reference:

Simple Filter

To filter the data on an actual basis, select the headings of your data. Go to Data Tab > Sort & Filter> Select Filter.

Each column will have a drop down list. Select your relevant options to filter multiple columns according to your need as shown in below image.

Simple filtering has its limitations and thus to filter multiple columns with multiple criteria you need to use the Advanced Filter feature.

You can use Advanced Filter feature with AND and OR operators to create complex filtering combos.

Let us apply AND and OR operators on this example one by one.

Filter Multiple Columns With Multiple Criteria

For using the Advanced Filter feature we need 2 things:

  1. List Range
  2. Criteria Range

1. Advanced Filter with AND operator

Copy the headings of the data either to another area on the same sheet or onto a different sheet.

Suppose we want to know the products that have a price range of Rs. 50 or more and have 250 or more kilograms in stock. Filtering the data here requires satisfying both the criteria.

Enter >=50 in Price column and <=250 in Stock column as criteria.

Note: While using AND criteria should be mentioned in the same row.

Click on Data Tab> Sort & Filter > Advanced.Below dailog box will appear.

Retain the default setting, Filter the List In-Place.

Enter List Range. List range is the data range. In our example, it is Sheet1!$A$1:$F$16.

Enter Criteria Range. Criteria Range will be Sheet1!$A$18:$F$19.

Click “OK”. You will get the result of filtering as shown below.

1. Advanced Filter with OR operator

Filtering data with OR operator we need to fulfill either of the criteria.

Note: Insert the in a different row to use OR operator.

Enter List Range. List range is the data range. In our example, it is Sheet1!$A$1:$F$16.

Enter Criteria Range. Criteria Range will be Sheet1!$A$18:$F$20.

Click “OK”. You will get the result of filtering as shown below.

To learn more about Advanced Filtering click on the link below:

Advanced Filtering

Additionally, you can download other accounting templates like Petty Cash Book, Simple Cash Book, and Accounts Payable Excel Templates from here.

We thank our readers for liking, sharing and following us on different social media platforms.

If you have any queries please share in the comment section below. I will be more than happy to assist you.

Shabbir Bhimani

I have worked in Excel and like to share functional excel templates at ExcelDataPro.

Share
Published by
Shabbir Bhimani

Recent Posts

Download UK VAT Taxable Turnover Calculator Excel Template

To simplify the process, we have created a simple and easy UK VAT Taxable Turnover…

4 years ago

Step By Step Guide TO UK VAT Registration Process

Every business has to register for VAT with HM Revenue and Customs if their VAT…

4 years ago

Download UK VAT Dual Currency Invoice Excel Template

We have created the UK VAT Dual Currency Invoice excel template with predefined formulas that…

4 years ago

Download UK VAT Purchase Register Excel Template

We have created a simple and easy UK VAT Purchase Register Excel Template with predefined…

4 years ago

Download UK VAT Sales Register Excel Template

We have created a simple and easy UK VAT Sales Register Excel Template with predefined…

4 years ago

Download UK VAT Progress Billing Invoice Excel Template

We have created a ready to use UK VAT Progress Billing Invoice template in excel…

4 years ago