How to use the FILTER function in Google Sheets

The FILTER function in Google Sheets allows you to filter data and return rows that meet specific criteria. Below is how to use the FILTER function in Google Sheets .

  • Google Sheets - Google Sheets
  • Google Sheets for iOS
  • Google Sheets for Android

Overview of the Filter function formula in Google Sheets

By using this Google Sheets function, you can get multiple matches. Because the data is filtered using the function, the results will be updated automatically.

How to use the FILTER function in Google Sheets

The Google Sheets Filter function formula includes: Range - Range, Condition 1 - Condition 1, and [Condition 2…]. The first two factors are mandatory, while the second and subsequent conditions are optional. Google Sheets does not limit the number of conditions in the Filter function.

=filter(range, condition 1, [condition 2]…)
  • Range : Range to filter data in an array. It can contain any number of rows or columns.
  • Test condition 1 : Condition that determines whether a value is true or false in a column or row.
  • [Condition 2…] : It refers to additional rows or columns containing logical values: TRUE or FALSE according to the criteria in the filter.

Example of using the Filter function in Google Sheets

You can find information about sales and profits of each item in different states in the US when using the Filter function in Google Sheets. When a column containing the state name is condition 1, you can create a drop-down list for it.

Create drop-down lists for test conditions

1. Right-click a cell to open the drop-down menu.

How to use the FILTER function in Google Sheets

2. Scroll down and go to the Data validation section .

How to use the FILTER function in Google Sheets

3. In the data validation section, set the criteria to List from a range.

How to use the FILTER function in Google Sheets

4. Click the squares in the criteria section to select a range or formula.

How to use the FILTER function in Google Sheets

5. In this case, the States column will be the range. You need to select items from cells A2 to A13 here.

How to use the FILTER function in Google Sheets

6. Save the Data Validation settings by clicking Save .

How to use the FILTER function in Google Sheets

This action will create a drop-down menu containing items specific to the selected range.

How to use the FILTER function in Google Sheets

Now that you have created the drop-down menu, start filtering Grocery Items, Sales and Profit by States using the Filter function on Google Sheets.

Implement the Filter function

Here the range is data in 3 columns: Sales, Grocery items and Profit. Now select cells B2 to D13 in the first argument of the Filter function.

How to use the FILTER function in Google Sheets

Suppose you want to add more data to the column selected as a range. Remember the second value in the open range. You can do this by deleting the number of cells, here it is 13.

How to use the FILTER function in Google Sheets

As soon as a new value is added, the Filter function will calculate these values ​​without requiring you to filter them again.

The condition value in this example is the States column. Select the States column and set the condition that that column = with the data in cell G5.

How to use the FILTER function in Google Sheets

In this example, Range Area B2:D has the same height as condition area A2:A.

After pressing Enter to deploy the formula, it will filter the data in the Grocery items, Sales, Profits columns according to the given conditions.

How to use the FILTER function in Google Sheets

Also, note that the Google Sheets Filter function only includes valid values. If the value checks true, its value in the array is considered, otherwise the function ignores it and moves on to the next step.

In this example, when you select Utah from the drop-down list, you'll see the related data in the filter area.

How to use the FILTER function in Google Sheets

Filter data by checking multiple conditions

Now we'll update the Google Sheets Filter function to include values ​​greater than 5000 as the second condition. To filter data that meets both conditions, you need to add a new condition to the filter formula.

1. Go to cell F8 where you added the formula earlier.

How to use the FILTER function in Google Sheets

2. Select the Profit column as the range for the second condition, the new formula is as follows:

=Filter(B2:D,A2:A=G5,D2:D>5000)

How to use the FILTER function in Google Sheets

3. Press Enter to execute the formula.

How to use the FILTER function in Google Sheets

The profit from selling flour in Utah is 1240, which does not meet the second condition, so the Filter function of Google Sheets ignored it. Similarly, you can filter this data by trying more conditions.

Above is how to use the Filter function in Google Sheets . Hope the article is useful to you.

Leave a Comment

How to Completely Uninstall Microsoft Edge from Windows 11 in 2026

How to Completely Uninstall Microsoft Edge from Windows 11 in 2026

Master how to completely uninstall Microsoft Edge from Windows 11 in 2026. Step-by-step, no-trace removal for gamers seeking max performance. Say goodbye to bloatware!

How to Reset Microsoft Edge to Default Settings in 2026

How to Reset Microsoft Edge to Default Settings in 2026

Discover how to reset Microsoft Edge to default settings in 2026 effortlessly. Fix crashes, slowdowns, and pop-ups with proven step-by-step methods for a fresh, blazing-fast browser.

Troubleshooting Microsoft Edge Certificate Not Trusted Warnings

Troubleshooting Microsoft Edge Certificate Not Trusted Warnings

Tired of Microsoft Edge "Certificate Not Trusted" warnings blocking your browsing? Discover proven troubleshooting Microsoft Edge "Certificate Not Trusted" warnings steps to resolve SSL errors securely and regain smooth access. Works on latest Edge versions.

Removing Your Microsoft Edge Profile and Personal Data Safely

Removing Your Microsoft Edge Profile and Personal Data Safely

Discover how to safely remove your Microsoft Edge profile and personal data without risks. Our expert guide ensures a clean slate while protecting your important info – perfect for privacy pros!

How to Change Microsoft Edge Home Page and Startup Settings

How to Change Microsoft Edge Home Page and Startup Settings

Discover simple, step-by-step instructions on how to change Microsoft Edge home page and startup settings. Customize your browser for a faster, personalized experience today!

Troubleshooting Microsoft Edge Update Errors on Windows 11

Troubleshooting Microsoft Edge Update Errors on Windows 11

Tired of Microsoft Edge update errors crashing your Windows 11 browsing? This ultimate guide delivers proven, step-by-step fixes for common issues like 0x80070005, stuck updates, and more. Update Edge effortlessly today!

How to Fix This Site is Not Secure Error in Edge Browser

How to Fix This Site is Not Secure Error in Edge Browser

Struggling with "This Site is Not Secure" error in Edge? Discover step-by-step fixes to restore secure browsing instantly. Clear cache, update certs, and more—no tech skills needed!

How to Fix Microsoft Edge 404 Not Found Browser Error

How to Fix Microsoft Edge 404 Not Found Browser Error

Tired of the frustrating Microsoft Edge "404 Not Found" error? Discover quick, proven fixes to resolve 404 errors in Edge browser. Step-by-step guide with latest tips for smooth browsing.

How to Fix Microsoft Edge Out of Memory Error During Streaming

How to Fix Microsoft Edge Out of Memory Error During Streaming

Tired of Microsoft Edge "Out of Memory" error crashing your streaming sessions? Get step-by-step fixes to resolve it fast, boost performance, and stream smoothly without interruptions. Updated with the latest tips.

Troubleshooting Microsoft Edge Cortana and Copilot AI

Troubleshooting Microsoft Edge Cortana and Copilot AI

Struggling with Troubleshooting Microsoft Edge "Cortana and Copilot" AI? Get proven fixes for crashes, unresponsiveness, and errors in the latest Edge versions. Restore your AI assistant effortlessly!

Solving Edge Browser Clock Behind Error on Windows 11

Solving Edge Browser Clock Behind Error on Windows 11

Struggling with the Edge Browser "Clock Behind" error on Windows 11? Discover proven, step-by-step fixes to sync your clock, clear caches, and restore smooth browsing. Quick solutions that work!

Troubleshooting Microsoft Edge Video Stuttering and Frame Drops

Troubleshooting Microsoft Edge Video Stuttering and Frame Drops

Tired of Microsoft Edge video stuttering and frame drops ruining your streaming? Discover proven troubleshooting steps to restore smooth playback in this comprehensive guide. Fix it fast!

How to Fix Microsoft Edge BitLocker Recovery Loop Error

How to Fix Microsoft Edge BitLocker Recovery Loop Error

Struggling with the Microsoft Edge BitLocker recovery loop error? Discover simple, step-by-step fixes to escape the endless loop and regain access to your PC without data loss. Updated with the latest solutions.

How to Fix Microsoft Edge Core Isolation Settings Error

How to Fix Microsoft Edge Core Isolation Settings Error

Struggling with the Microsoft Edge "Core Isolation" Settings Error? Discover proven step-by-step solutions to resolve it fast, restore smooth browsing, and boost your PC security. Works on latest Windows versions.

Solving Microsoft Edge Ultimate Performance Settings

Solving Microsoft Edge Ultimate Performance Settings

Master Solving Microsoft Edge "Ultimate Performance" Settings with this expert guide. Boost speed, fix lags, and optimize for peak browsing efficiency—step-by-step now!