HomeGoogle DocsSpreadsheetFilter by Date Range Using Filter Menu in Google Sheets

Filter by Date Range Using Filter Menu in Google Sheets

Published on

This tutorial on Sheets elaborates on how to filter by date range using filter menu in Google Sheets. That means narrow down a dataset based on date criteria.

Using the filter command, you can conditionally narrow down a dataset in Google Sheets. To access the filter command, click on the menu Data > Create a filter.

To filter a date column by date range using the filter menu in Sheets, there are two options. What are they?

  1. Filter using built-in rule.
  2. Filter using custom formula.

You can either use the built-in rule “Is between” or use a custom formula in the filter command.

Options - Filter by date range using the filter menu

To filter by date range using the filter menu command, you need at least two criteria. They are the start date and end date.

Filter by Date Range Using Built-In Rule in Sheets

I have the following sample data to filter based on “Receipt Date” which is in column F.

You can see the required two criteria to filter a date range in cell H1 and J1. Keep the criteria in the first row. Otherwise, it may be got hidden while filtering.

Sample data with date column for filtering using menu

Filter Is Between

I want to filter the “Receipt Date” column to only display the items received between 01/07/2019 and 02/07/2019 (both the dates inclusive).

Steps:

  1. Select the range A1:F and go to Data > Create a filter.
  2. Click on the filter drop-down in cell F1 and click “Filter by condition”.
  3. Then From the drop-down below, select “Is between”.
  4. Enter =$H$1 in the first field and =$J$1 in the second field. The cell references must be static. That’s why I have included the $ sign with the criteria references.
  5. Click “OK”.
Filter by date range using filter menu Is between

This way you can filter a dataset by date range using the built-in rule in Google Sheets.

Filter Formula Equivalent to the Filter Is Between:

To filter by date range and then extract the data to a new range, use the FILTER function instead of the filter menu.

In a new range, for example, in cell G1 you can use the below FILTER formula for this.

=filter(A2:F18,F2:F>=H1,F2:F<=J1)

Filter Is Not Between

This is another method to narrow down a dataset based on date criteria. This is just reverse to the earlier example.

If you select “Is not between” instead of “Is between” in point # 3 in the above steps, the filter will hide the rows containing the dates in column F between 01/07/2019 and 02/07/2019.

Filter Formula Equivalent to the Filter Is Not Between:

Here is the filter formula which is equivalent to the “Is not between” menu command. Similar to earlier formula, you can use it in cell G1 to experiment.

=filter(A2:F18,(F2:F<H1)+(F2:F>J1))

Filter by Date Range Using Custom Formula in Sheets

Instead of using “Is between” you can use the below custom filter menu formula.

=(F2:F>=$H$1)*(F2:F<=$J$1)=1

What about “Is no between”?

Use this one.

=(F2:F<>$H$1)*(F2:F<>$J$1)=1

How to apply these custom formulas in the menu command?

Steps:

  1. Select A2:F and go to Filter > Create a filter.
  2. Click “Filter by condition”
  3. Select “Custom formula is”
  4. Enter either of the above custom formulas.

That’s all about filter by date range using filter menu in Google Sheets.

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.

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...

Sum Values by Categories in Excel

In Excel, the easiest way to sum values in a range by categories is...

Filter Data from the Previous Month Using a Formula in Excel

Filtering data from the previous month may be useful for comparative analysis, generating reports,...

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,...

2 COMMENTS

    • Hi, Seema,

      It works for me!

      Please note one thing.

      When you update the criteria, i.e., dates in H1 and J1, those won’t reflect in the filter.

      You should click the filter down-arrow in F1 (filter column) and click OK to reflect those changes.

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.