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 pin comments on TikTok

How to pin comments on TikTok

How to pin comments on TikTok, TikTok allows users to pin comments easily. Here's how to pin comments on TikTok videos.

Instructions for Organizing a Q&A session on Facebook

Instructions for Organizing a Q&A session on Facebook

Instructions for Organizing a Q&A session on Facebook, Recently, Facebook has launched the feature to create a Q&A session, when you post a question for everyone to answer.

Instructions for installing and recording videos with Likee

Instructions for installing and recording videos with Likee

Instructions for installing and recording videos with Likee, Likee is an application that supports extremely beautiful and impressive video recording, and is loved by many young people today. The following,

How to export the list of meeting participants in Zoom

How to export the list of meeting participants in Zoom

How to export the list of meeting participants in Zoom, How to take attendance on Zoom is not difficult, it even allows you to export the list of students participating in the class.

How to change font on Xiaomi

How to change font on Xiaomi

How to change font on Xiaomi, Want to create a new image for Xiaomi device? Just follow the instructions below to change the font style and size above

Instructions for creating a mirror image effect on Picsart

Instructions for creating a mirror image effect on Picsart

Instructions for creating a mirror image effect on Picsart, Picsart is an application where users only need to perform a few simple steps to transform the photo.

How to add new fonts to Microsoft Word

How to add new fonts to Microsoft Word

How to add new fonts to Microsoft Word, Can't find the font you want to use for documents in Microsoft Word? Don't worry, you can install new fonts for Word according to these steps

How to turn off the computer screen and still keep the computer running

How to turn off the computer screen and still keep the computer running

How to turn off the computer screen and still have the computer running, How to turn off the PC screen and still have the computer running on Win 10/11? Very simple. Here's how to turn off the computer screen

How to fix facebook error logging in 3/2024

How to fix facebook error logging in 3/2024

To fix the “An unexpected error occurred” issue when logging in to Facebook, you can try the following steps

Cant access Facebook, Messenger and Instagram, how to fix it immediately

Cant access Facebook, Messenger and Instagram, how to fix it immediately

Users reported that their Facebook, Messenger and Instagram accounts were suddenly logged out and could not be accessed again, both on the app and web version.

Instructions on how to take photos on Tiktok are extremely simple

Instructions on how to take photos on Tiktok are extremely simple

Instructions on how to take photos on Tiktok are extremely simple. Tiktok is a famous application for recording and creating short videos on social networks. However, this application also

How to find and get Instagram links

How to find and get Instagram links

How to find and get Instagram links, Instagram is one of the most popular and easy-to-use social networking platforms today. However, because it is designed specifically for mobile,

Instructions for locking the mouse cursor when playing games on BlueStacks

Instructions for locking the mouse cursor when playing games on BlueStacks

Instructions for locking the mouse cursor when playing games on BlueStacks, Instructions for turning on/off the mouse cursor lock feature when playing games in the BlueStacks App Player emulator.

Instructions for installing and using Faceapp using an emulator on PC

Instructions for installing and using Faceapp using an emulator on PC

Instructions for installing and using Faceapp using an emulator on PC, Simple and easy instructions on how to install and use the Faceapp face editing app using an emulator on PC

Instructions for creating a cover photo group on Facebook

Instructions for creating a cover photo group on Facebook

Instructions for creating a cover photo group on Facebook, Creating a cover photo group is a feature that helps users set Facebook cover photos with many different images (maximum of 6 photos).

Mastering Technical Analysis with the Stochastic Indicator on Bubinga

Mastering Technical Analysis with the Stochastic Indicator on Bubinga

Learn how to effectively use the Stochastic Indicator for technical analysis on Bubinga. Explore advanced techniques to enhance your trading strategies

Instructions for adding angel wings to photos using PicsArt

Instructions for adding angel wings to photos using PicsArt

Instructions for adding angel wings to photos using PicsArt, PicsArt is a photo editing application used by many people today. Today WebTech360 will introduce the article

How to turn off the Just accessed notification on Zalo

How to turn off the Just accessed notification on Zalo

How to turn off the Just accessed notification on Zalo. This article WebTech360 will guide you to turn off the Just accessed notification under your Zalo chat name.

Instructions for blocking and unblocking accounts on TikTok

Instructions for blocking and unblocking accounts on TikTok

Instructions for blocking and unblocking accounts on TikTok. Similar to other social networking applications, TikTok also allows users to block someone's account

How to write a long status with a colorful background on Facebook

How to write a long status with a colorful background on Facebook

How to write a long status with a colorful background on Facebook, Today, WebTech360 will introduce some steps to post a long status with a colorful background on Facebook,