How to Filter Multiple Columns in Google Sheets

This tutorial walks you through filtering multiple columns in Google Sheets using both the Filter menu and the FILTER function, enabling you to refine your data efficiently.

The Filter menu lets you apply filters directly to the source data, allowing you to view and modify the filtered content as needed.

The FILTER function extracts matching data into a separate range, helping you focus on specific conditions while keeping the original dataset unchanged.

Sample Data

Our sample dataset contains five columns: Order ID, Product, Region, Status, and Amount. We will apply filters to columns C (Region) and D (Status).

Filtering Multiple Columns with Multiple Conditions

We will apply two types of filters to refine the data:

  • AND Condition: Displays only the rows where the Region is “North” and the Status is “Shipped.”
  • OR Condition: Displays rows where the Region is “North” or the Status is “Shipped.”

Filter Multiple Columns Using the Filter Menu

You can filter one column at a time using the Filter menu, but to filter multiple columns, you need to use a custom formula. When writing the formula, avoid selecting the entire range; using just the first data row (the row below the header) is sufficient.

Steps:

1. Click on cell C1 (or any column header where you want to apply the filter).

2. Go to Data > Create a filter.

3. Click the drop-down arrow in cell C1 to open the Filter menu.

4. Select Filter by condition and choose Custom formula is.

Applying a custom formula to filter multiple columns in Google Sheets

5. Enter one of the following formulas:

AND Condition:

=(C2="North")*(D2="Shipped") // Filters rows where Region is "North" AND Status is "Shipped"
AND logic applied to filter multiple columns in Google Sheets

OR Condition:

=(C2="North")+(D2="Shipped") // Filters rows where Region is "North" OR Status is "Shipped"
OR logic applied to filter multiple columns in Google Sheets

6. Click OK to apply the filter.

This method allows you to filter multiple columns in Google Sheets directly within the source data.

Filter Multiple Columns Using the FILTER Function

If you want to extract the filtered data into a new range instead of modifying the original dataset, use the FILTER function.

Formula 1: AND Condition

=FILTER(A2:E, (C2:C="North")*(D2:D="Shipped"))

(Filters rows where Region is “North” AND Status is “Shipped”)

Formula 2: OR Condition

=FILTER(A2:E, (C2:C="North")+(D2:D="Shipped"))

(Filters rows where Region is “North” OR Status is “Shipped”)

The FILTER function dynamically updates your filtered data when you add new entries.

Pros and Cons of Filtering Methods

Here’s a quick overview of the advantages and disadvantages of using the Filter menu and the FILTER function for filtering multiple columns of data.

MethodProsCons
Filter MenuDirectly filters the source dataDoesn’t auto-update when new data is added
FILTER FunctionCreates a separate filtered dataset that updates dynamicallyCannot edit the filtered data directly

If you need an interactive filter, the Filter menu is useful. If you need dynamic filtering, the FILTER function is the better choice.

Resources

Prashanth KV
Prashanth KV
Your Trusted Google Sheets and Excel Expert Prashanth KV is a Diamond Product Expert in Google Sheets, officially recognized by Google for his contributions to the Docs Editors Help Community and featured in the Google Product Experts Directory. Explore his blog to learn advanced formulas, automation tips, and problem-solving techniques to elevate your spreadsheet skills.

How to Calculate Digital Root in Google Sheets

The digital root is the single-digit value you get by repeatedly summing the digits...

How to Build an Advanced Book Tracker in Google Sheets: Formulas Explained

If you're tired of forgetting what you've read, which books you rated 5 stars,...

Google Sheets Reading List Tracker Template (Free Download)

Looking for a smarter, more visual way to manage your reading goals? This Google...

Custom Order for QUERY Pivot Headers in Google Sheets

By default, when you use the PIVOT clause in a Google Sheets QUERY, the...

More like this

How to Calculate Digital Root in Google Sheets

The digital root is the single-digit value you get by repeatedly summing the digits...

How to Build an Advanced Book Tracker in Google Sheets: Formulas Explained

If you're tired of forgetting what you've read, which books you rated 5 stars,...

Google Sheets Reading List Tracker Template (Free Download)

Looking for a smarter, more visual way to manage your reading goals? This Google...

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.