HomeGoogle DocsSpreadsheetHow to Use Date Criteria in Filter Function in Google Sheets

How to Use Date Criteria in Filter Function in Google Sheets

Published on

Learn to apply date criteria in filter function in Google Sheets. The Filter is not a new term to many spreadsheet users. But Filter function may be new. In Google Sheets, in addition to the popular Filter Command, there is a Filter function. I always think Functions have an edge over Commands. The Filter function is an example to this. Here we can learn Filter Function and how to use Date Criteria in Filter Function in Google Spreadsheets.

Before going to the tutorial, if you wish to know the advantage of Filter Function over Filter Command, go to my earlier post Filter Data to Separate Sheets with Links. It’s never ever possible with Filter Menu Command.

Date Criteria in Filter Function in Google Sheets

Syntax:

FILTER(range, condition1, [condition2])

Here in this filter function syntax, “range” is the entire data range. What is Condition1, Condition 2 or Criteria in Filter?

Below on the image, I’ve marked it. The Yellow highlighted part is the filter condition or criteria and the Green highlighted part is the data range.

Filter Function Syntax Explained - Google Sheets

The formula above is a simple example of the use of Filter function with one single criterion or condition.

After going through one more example, we can go to how to use date Criteria in Filter Function in Google Sheets.

Here I’m going to tell you how to use multiple conditions or criteria in Google Sheets Filter formula.

=FILTER(A2:D7,A2:A7=”Kelvin”,B2:B7=”5-10″)

With by just putting a comma you can add multiple conditions or criteria to this filter formula as above. The yellow colored one is criterion # 1 and the red colored one is criterion # 2.

Now let us see how to use date criteria in Google Sheets Filter Function.

date criteria in filter function in google sheets

See the above example to understand how I’ve used Date as condition or criteria in Filter. You should take care of the format. Whatever the date format in your sheet, the date criteria within the formula should be as “date(yyyy,mm,dd)”.

Update:

When you just want to point to a cell, I mean the date criteria in a cell, you can use the formula like this. This’s another formula for just example.

=FILTER(A2:B10,A2:A10 = G1)

Here the cell G1 contains the date as criteria.

Here are our awesome DATE CRITERIA usage Guides in Google Sheets

1. Query – date criteria use.

2. DSUM – date criteria use.

3. SUMPRODUCT – date criteria use.

4. SUMIFS – date criteria use.

Prashanth KV
Prashanth KV
Your Trusted Google Sheets and Excel Guide Prashanth KV brings a wealth of experience in Google Sheets and Excel, cultivated through years of work with multinational corporations in Mumbai and Dubai. As a recognized Google Product Expert in Docs Editors, Prashanth shares his expertise through insightful blogging since 2012. Explore his blog for practical tips and guidance on maximizing your spreadsheet skills.

Get Top N Values Using Excel’s FILTER Function

When using the FILTER function in Excel to extract the top N values, it's...

XLOOKUP in Excel: Working with Visible Rows in a Table

In Excel, the XLOOKUP function isn't inherently designed to exclusively work with visible rows;...

SUMPRODUCT Differences: Excel vs. Google Sheets

The core purpose of the SUMPRODUCT function remains consistent across both Excel and Google...

Sum Values by Month and Category in Excel

With the help of EOMONTH, UNIQUE, and SUMIFS functions in Excel, you can efficiently...

More like this

Interactive Random Task Assigner in Google Sheets

You have multiple tasks and multiple people. Here's a fun way to randomly assign...

Google Sheets Bar and Column Chart with Target Coloring

To color each data point in the column or bar chart according to the...

Analyzing Column A Between Non-Adjacent Values in Column B: Google Sheets

This tutorial addresses a common scenario encountered in Google Sheets: how to sum, average,...

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.