HomeGoogle DocsSpreadsheetHow to Filter by Month Using the Filter Menu in Google Sheets

How to Filter by Month Using the Filter Menu in Google Sheets

Published on

Learn the tricks to filter by month using the filter menu in Google Sheets. You can filter a dataset two ways in Google Sheets. One using the Filter Menu command and the other one using the Filter Functions.

Filter functions? Yes! To filter a dataset in Google Sheets, you can use the function Filter or Query. Both are very handy for filtering data.

I normally use the Query function to filter my data because I am very much familiar with that. But the fact is that we can’t always depend on functions to filter data. Why?

The reason, the functions extract the data in a new range. If you don’t want that, the only choice is using the Filter Menu in Google Sheets.

The Filter menu in Google Sheets is also flexible as it accepts custom formulas similar to conditional formatting rules.

In this Google Sheets tutorial, I am going to give you a custom formula that you can use in the Filter function custom formula field to filter by month.

Note: By the term filter by month I meant to say how to filter a column between two given months.

If you are looking for month wise grouping, I have one perfect example. Here is that link.

Must Read: How to Group Data by Month and Year in Google Sheets

Custom Formula to Filter by Month Using the Filter Menu in Google Sheets

Sample Data:

Custom formula to use in Filter menu in Google Sheets

How do I filter column B for the month falls between June and July?

Steps to Filter by Month Using the Filter Menu in Google Sheets:

1. Select the data range, here A1: C7.

2. Go to the menu Data and Select Filter then “Create a filter”

3. Click on the Field Label “Date of Birth”. There click “Filter by condition” and under “Custom formula is” apply my below custom formula.

How to apply filter by month formula in filter menu

Formula:

=if(month(B2:B)>=6,month(B2:B)<=7)

That’s all. This custom formula is to filter the dates in Colum B between 01/06/2018 to 31/07/2018. In other words, my above custom formula is to filter the month of June and July.

As said, you can use this custom formula to filter by month using the filter menu in Google Sheets. Just change the month number in the formula to filter any months.

Anybody who wants to filter the column B using a formula in a new range, here is that Filter formula.

=filter(A2:C,month(B2:B)>=6,month(B2:B)<=7)

Related:

1. Regexmatch in Filter Criteria in Google Sheets [Examples]

2. Multiple Conditions in Same Column Filtering in Google Sheets

3. Automatically Add Total to a Filtered Data 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.

Creating Sequential Dates in Equally Merged Cells in Google Sheets

Do you know how to create sequential dates in equally merged cells across a...

Running Total By Month in Excel

This tutorial demonstrates how to calculate the running total by month in a range...

SORT and SORTBY – Excel Vs Google Sheets

While Excel offers the SORT and SORTBY functions for sorting a table, Google Sheets...

Get Top N Values Using Excel’s FILTER Function

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

More like this

Creating Sequential Dates in Equally Merged Cells in Google Sheets

Do you know how to create sequential dates in equally merged cells across a...

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

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.