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.

Sign up and earn $1000 a day ⋙

How To Access An Android Phone With A Broken Screen

How To Access An Android Phone With A Broken Screen

Dealing with a broken screen on your Android phone is a hassle. Although phone screens are pretty tough, one nasty drop can shatter them completely. Given that most people have a lot of irreplaceable content on their phones, it is

Find out how to find friends and family using online services

Find out how to find friends and family using online services

In today's world, where information is more accessible than ever before, finding long-lost friends or relatives has become much easier. Online services for finding people provide convenient and effective tools that allow you to restore lost connections.

IObit Uninstaller 13 - One Click to Uninstall All Unwanted Programs

IObit Uninstaller 13 - One Click to Uninstall  All Unwanted Programs

In the busy software utilities industry, the available uninstallation tools are often overshadowed by more glamorous alternatives. Nonetheless, an excellent way of removing programs on a PC is vital for optimal system performance and the elimination of unwanted applications.

Instructions for creating Moon phase trend

Instructions for creating Moon phase trend

Instructions for creating a Moon phase trend. The Moon trend is extremely popular on TikTok, creating an unprecedented fever. Through Moon phase will help you know the date

How to edit videos posted on YouTube without losing views

How to edit videos posted on YouTube without losing views

How to edit videos posted on YouTube without losing views, You forgot to blur sensitive content in videos posted on YouTube. Don't worry, here's how to adjust it

How to enable dark mode on TikTok

How to enable dark mode on TikTok

How to turn on dark mode on TikTok, How to turn on dark mode on TikTok is not difficult. The article will guide you in detail how to change the TikTok interface to black on Samsung

Shirt size chart - How to choose the most accurate shirt size

Shirt size chart - How to choose the most accurate shirt size

Shirt size chart - How to choose the most accurate shirt size, What is the shirt size chart? Shirt size means only the size and size of the shirt or pants. Shirt size varies according to direction

Instructions for drawing prizes to receive Lucky Money on ZaloPay

Instructions for drawing prizes to receive Lucky Money on ZaloPay

Instructions for drawing prizes to receive Lucky Money on ZaloPay. Recently, Zalo has launched the program "Amazing lucky money, Happy Spring Luck" taking place from January 29, 2021 to

How to view and recover Microsoft Outlook password

How to view and recover Microsoft Outlook password

How to view and recover Microsoft Outlook password, How to view Outlook password on computer is not difficult. This article will guide you how to view and recover Outlook password

Instructions for creating and searching for draft posts on Facebook

Instructions for creating and searching for draft posts on Facebook

Instructions for creating and searching for draft articles on Facebook. Currently, we can save articles that we have created but have not yet posted on Facebook. Here, WebTech360 invites

How to set up LibreOffice Writer to work like Microsoft Word

How to set up LibreOffice Writer to work like Microsoft Word

How to set up LibreOffice Writer to work like Microsoft Word, If you're planning to switch from Microsoft Word to LibreOffice Writer but want a similar experience

Instructions for turning off saving videos on TikTok are extremely simple

Instructions for turning off saving videos on TikTok are extremely simple

Instructions for turning off saving videos on TikTok are extremely simple, to help people block others from downloading and saving their videos simply and easily. So today, WebTech360

Instructions for creating genealogical and organizational charts on Google Sheets

Instructions for creating genealogical and organizational charts on Google Sheets

Instructions for creating genealogical charts and organizing them on Google Sheets. Google Sheets is an online office application that helps us easily edit online spreadsheets,

How to import and manage multiple email accounts in Gmail

How to import and manage multiple email accounts in Gmail

How to import and manage multiple email accounts in Gmail, Want to manage all emails in Gmail? Let's learn how to manage and add multiple accounts with WebTech360

Instructions for using Photoshop filters for beginners

Instructions for using Photoshop filters for beginners

Instructions for using Photoshop filters for beginners, Each filter in Photoshop has its own algorithm and uses. Below are instructions for using the internal filter

How to create automatic clicks on Macrorify

How to create automatic clicks on Macrorify

How to create automatic clicks on Macrorify, Macrorify helps you create automatic click tasks and detect images. In this article, let's find out how with WebTech360

Instructions for logging out of Instagram account remotely

Instructions for logging out of Instagram account remotely

Instructions for remotely logging out of your Instagram account. If you don't know how to remotely log out of your Instagram account, today WebTech360 would like to introduce

Instructions for remotely logging out of Tik Tok account

Instructions for remotely logging out of Tik Tok account

Instructions for remotely logging out of Tik Tok account. To help people quickly log out of Tik Tok accounts from other devices, today WebTech360

Instructions for blurring photos on B612

Instructions for blurring photos on B612

Instructions for blurring photos on B612. Recently, the B612 application has updated the image blur effect. Next, WebTech360 will introduce the article Instructions for blurring photos

How to fix the error of printing blank pages in Microsoft Excel

How to fix the error of printing blank pages in Microsoft Excel

How to fix the error of printing blank pages in Microsoft Excel. Why do some Excel documents not display data or contain blank pages when printed? Below are the reasons