• Home
  • Windows
    • Windows 10
    • Windows 11
  • Mac
  • iOS
  • iPad
  • iPhone
  • Social Media
  • News
Saturday, April 1, 2023
HowToFixIssue
Advertisement
  • Home
  • Windows
    • Windows 10
    • Windows 11
  • Mac
  • iOS
  • iPad
  • iPhone
  • Social Media
  • News
No Result
View All Result
  • Home
  • Windows
    • Windows 10
    • Windows 11
  • Mac
  • iOS
  • iPad
  • iPhone
  • Social Media
  • News
No Result
View All Result
HowToFixIssue
No Result
View All Result
Home Software

How To Use Filter Function On Google Sheets (Detailed Guide)

October 12, 2022
in Software
Reading Time: 13 mins read
How To Use Filter Function On Google Sheets (Detailed Guide)

InterestingPosts

How to Hide Recent Apps in Stage Manager on iPad

How to Fix HTTP Error 431

How To Use Filter Operate On Google Sheets (Detailed Information).

Because the identify suggests, the filter perform on Google Sheets filters particular knowledge in your spreadsheet.

Utilizing it, you’ll be able to simply view the specified part of a giant dataset with out trying to find it manually. Additionally, it lets you enter a number of circumstances, which additional helps in narrowing down the information.

On this article, we clarify how one can create a filter perform and the way it works intimately.

How to Use the Filter Operate on Google Sheets?

Earlier than you progress on to alternative ways to make use of the filter perform, we advocate you perceive its syntax.

Syntax:

=FILTER(vary, condition1, [condition2,…])

The filter perform accepts two forms of arguments; vary and situation.

  • Vary: Vary of values in a column block you need to view after filtering. (can comprise a number of columns)
  • Situation 1: Row or column that returns an array of boolean values (True or False)
  • Situation 2: Optionally available circumstances you’ll be able to add to slender down the filter outcomes.

Utilizing Filter Operate with a Single Situation

Right here, we enter just one situation together with the vary argument contained in the filter perform.

Syntax:

=FILTER(vary, situation)

To get a transparent image, let’s take a look at an instance.

Single-Condition-Example-Google-Sheets-Filter-Function
Single Situation Instance

Right here, we need to use the filter perform to get solely the names of individuals whose wage is larger than 2000.

  1. First, kind =FILTER( to make use of the filter perform.
    Start the Filter function Google Sheets
  2. Then, enter the vary (column blocks) that you simply need to view after performing the filter perform. Right here, we solely need the names. However, it’s also possible to choose a number of columns (Identify and Position).Select range filter function google sheets
  3. Now, enter a spread to test the required situation. Right here, we’re implementing our situation on a single column known as “Wage”.
    Condtion column block google sheets filter
  4. Shut the bracket and press Enter.
  5. The filtered consequence will spill throughout rows and columns subsequent to the cell with the filter perform.
    Google sheets filter  single condition result

Notice:

Once you enter the vary argument, be certain it matches the peak of the situation column. In any other case, you will get a #N/A error. If you happen to hover over the error, you will get a full description of the error.

Utilizing the Filter Operate with A number of Circumstances

Typically a single situation isn’t sufficient, and it’s possible you’ll must have a number of circumstances to extract the required values. And, since you might have a number of circumstances, you even have a number of circumstances.

Utilizing AND Situation

The AND situation returns solely the values that match all of the circumstances. Whereas specifying them on the filter perform, you separate them with a comma signal to make use of the AND situation. Let’s use AND in our instance to get a greater image.

First, let’s filter the names of individuals with the “Supervisor” position and whose wage is larger than 1000.

  1. Choose a spread that may return desired values after filtering. Right here, we need to show the identify solely.
    google sheets filter select-range-and-operator
  2. Choose the respective ranges (position and wage columns) to specify circumstances and filter out values the place the position is “Supervisor” and the wage is larger than 1000. Additionally, separate them with a comma.google sheets filter-names-with-both-conditions
  3. Right here, the method turns into =FILTER(A5:A9,B5:B9="Supervisor",C5:C9>1000)
    • A5:A9 represents the identify column.
    • B5:B9 ="Supervisor" seems to be for the “Supervisor” textual content contained in the Position column (B5:B9).
    • C5:C9 > 1000 seems to be for numbers better than 1000 contained in the Wage column(C5:C9).
  4. Press enter, and the consequence will spill throughout rows and columns.
    google sheets filter AND-operator-result

Right here, we now have two folks with the supervisor position (Jack and Jello), and all folks besides Jack have wage better than 1000. So, the one worth matching each circumstances is Jello.

Utilizing OR Situation

The OR situation returns values that match no less than one of many circumstances. Whereas specifying a number of circumstances on the filter perform, you separate them with a plus signal to make use of the OR situation.

Now, if we need to filter names with both the supervisor position or wage better than 1000, we use the OR operator.

We are able to simply repeat the method just like the steps above within the AND part. Nonetheless, as an alternative of the comma signal, we use the plus signal and enclose every situation with parentheses.

The filter perform now turns into:

=FILTER(A5:A9,(B5:B9="Supervisor")+(C5:C9>1000))

Right here, the plus signal represents the OR operator.

Google-Sheets-filter-OR-condition-example
OR operator instance Google Sheets filter

The consequence after making use of the OR operator is as follows.

Google-Sheets-filter-OR-operator-result
OR operator Google Sheets filter consequence

Right here, all of the folks have a wage better than 1000 besides Jack. Nonetheless, Jack satisfies the Supervisor position situation. Subsequently, all of the names are displayed within the ultimate consequence.

How to Use the Filter Operate with Different Capabilities?

You may even use the filter perform together with different features, such because the SORT perform or every other.

Let’s have a look at an instance the place we kind the values after performing a filter perform.

  1. Enter your FILTER perform.
  2. Enclose the above perform with the SORT perform. i.e., SORT(FILTER()).
    Enclose-Filter-with-SORT-function
  3. Press Enter.

Regardless that SORT seems first whereas writing the method, it’s calculated solely after performing the FILTER perform. It is because the innermost perform will get solved first and is used as an argument for the subsequent outward perform.

Alternatively, you’ll be able to even use one filter perform as an enter (argument) for the opposite filter perform.

Associated Questions

How to Use Filter Textual content that Accommodates a Particular Letter or Word?

You may enclose the word or letter contained in the double quotes to seek for texts that comprise a selected word. Nonetheless, the textual content is case-sensitive, which suggests “Apple” and “apple” aren’t the identical.

Alternatively, you’ll be able to create a customized filter perform to get values that don’t comprise a specific textual content however is a bit of advanced. Subsequently, it’s essential to use an extra perform known as “REGEXMATCH.”

For instance, if you wish to exclude values that don’t comprise the final identify “Smith.”

Text-does-not-contain-Smith-Google-Sheets-filter
Google Sheets filter Textual content doesn’t comprise

 So, the method turns into =FILTER(A5:A9, REGEXMATCH(A5:A9, "Smith")=FALSE)

REGEXMATCH-on-Google-Sheets-Filter-Function
REGEXMATCH-on-Google-Sheets-Filter-Operate


Check out more article on – How-To tutorial and latest highlights on – Technical News


Tags: DetailedFilterFix Software IssueFix Software IssuesFunctiongoogleGoogle SheetsGuideHow To FixHow To Fix IssueHow-To-1SheetsSoftwareTechnical Troubleshooting

Recommended.

How to Fix the “This App Can’t Be Activated When UAC Is Disabled” Error on Windows

How to Fix the “This App Can’t Be Activated When UAC Is Disabled” Error on Windows

October 20, 2022
3 Ways the Windows Services Menu Is Actually Useful

3 Ways the Windows Services Menu Is Actually Useful

October 20, 2022

Trending.

No Content Available
  • About
  • Advertise
  • Privacy & Policy
  • Contact
All about technical, android, mobile, windows relating website. We provide you with the latest technology straight from the industry.

© 2023 How To Fix Issue - All rights reserved.

No Result
View All Result
  • Home
  • Windows
    • Windows 10
    • Windows 11
  • Mac
  • iOS
  • iPad
  • iPhone
  • Social Media
  • News

© 2023 How To Fix Issue - All rights reserved.

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept All”, you consent to the use of ALL the cookies. However, you may visit "Cookie Settings" to provide a controlled consent.
Cookie SettingsAccept All
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
SAVE & ACCEPT
This website uses cookies. By continuing to use this website you are giving consent to cookies being used. Visit our Privacy and Cookie Policy.
Go to mobile version