Table of Contents
The FILTER function in Google Sheets allows users to extract specific data from a range of cells based on certain criteria. By using the AND operator, multiple conditions can be applied to further refine the data being filtered. This allows for more precise and targeted data extraction, making it a useful tool for data analysis and organization. To use the FILTER function with the AND operator, simply add the conditions separated by commas within the function’s syntax. This will result in a filtered dataset that meets all of the specified criteria. Overall, the combination of the FILTER function and the AND operator provides a powerful way to manipulate and analyze data in Google Sheets.
Google Sheets: Use FILTER Function with AND
You can use the following basic syntax in Google Sheets to use the FILTER function with AND logic:
=FILTER(A1:C10, A1:A10="A", C1:C10<20)
This filter returns the rows in the range A1:C10 where the value in column A is equal to “A” and the value in column C is less than 20.
The following example shows how to use this syntax in practice.
Example: How to Use Filter Function with AND in Google Sheets
Suppose we have the following dataset in Google Sheets that contains information about various basketball players:

We can use the following formula to filter for all rows where the team is equal to “A” and the points is less than 20:
=FILTER(A1:C10, A1:A10="A", C1:C10<20)
The following screenshot shows how to use this formula in practice:

The only rows returned are the ones where the team is equal to “A” and the points is less than 20.
We can also use more commas in the FILTER function to apply even more AND operators.
For example, we can use the following syntax to filter for rows where the team is equal to “A” and the position is “Forward” and points is greater than 24:
=FILTER(A1:C10, A1:A10="A", B1:B10="Forward",C1:C10>24)
The following screenshot shows how to use this formula in practice:

Cite this article
stats writer (2024). How can I use the FILTER function in Google Sheets with the AND operator?. PSYCHOLOGICAL SCALES. Retrieved from https://scales.arabpsychology.com/stats/how-can-i-use-the-filter-function-in-google-sheets-with-the-and-operator/
stats writer. "How can I use the FILTER function in Google Sheets with the AND operator?." PSYCHOLOGICAL SCALES, 25 Jun. 2024, https://scales.arabpsychology.com/stats/how-can-i-use-the-filter-function-in-google-sheets-with-the-and-operator/.
stats writer. "How can I use the FILTER function in Google Sheets with the AND operator?." PSYCHOLOGICAL SCALES, 2024. https://scales.arabpsychology.com/stats/how-can-i-use-the-filter-function-in-google-sheets-with-the-and-operator/.
stats writer (2024) 'How can I use the FILTER function in Google Sheets with the AND operator?', PSYCHOLOGICAL SCALES. Available at: https://scales.arabpsychology.com/stats/how-can-i-use-the-filter-function-in-google-sheets-with-the-and-operator/.
[1] stats writer, "How can I use the FILTER function in Google Sheets with the AND operator?," PSYCHOLOGICAL SCALES, vol. X, no. Y, ص Z-Z, June, 2024.
stats writer. How can I use the FILTER function in Google Sheets with the AND operator?. PSYCHOLOGICAL SCALES. 2024;vol(issue):pages.
