The following step-by-step example shows how to filter rows by a date range in Google Sheets.
Step 1: Enter the Data
First, let’s enter the following data that shows the sales for various products by date:

Step 2: Filter by Date Range
Now suppose we’d like to apply a filter to only show the rows where the date is between 1/5/2020 and 1/15/2020.
To do so, click cell A1 and then click the Data tab and then click Create a filter:

Next, click the Filter icon next to Date. Then click Filter by condition and click None.
In the dropdown menu, click Is between and then type in 1/5/2020 and 1/15/2020:

Once you click OK, a filter will automatically be applied to only show the rows where the date is between 1/5/2020 and 1/15/2020:

To remove this filter, simply click the Data tab and then click Turn off filter.
Additional Resources
The following tutorials explain how to perform other common operations in Google Sheets:
How to Calculate the Difference Between Two Dates in Google Sheets
How to Add & Subtract Days in Google Sheets
How to AutoFill Dates in Google Sheets
Maybe this is inaccurate or just old information but this does not work anymore. I’ve been searching online for a way to do this and, as far as I can tell, it can’t be done. The only thing that worked for me was setting the filter to “text ends with” and setting the value to 2024(or whatever year is necessary) but this requires you to format your date values to match the filter you set. It’s kind of “hacky” and not quite the correct way to do it, but it does work.
Hi Michael…You’re right that filtering by date range in Google Sheets can sometimes feel clunky, and the method you described (“text ends with”) is indeed a workaround, but there are better ways to achieve this. Let me share a more reliable and accurate method to filter by date range without relying on “hacky” solutions.
### Filtering by Date Range in Google Sheets
1. **Ensure Correct Date Formatting**:
– Make sure the column containing dates is formatted as a proper date. Select the column, go to **Format > Number > Date**, and choose the appropriate date format.
2. **Use the Filter Feature with a Custom Formula**:
– You can use a filter with a **custom formula** to specify a date range.
– Steps:
1. Select the data range you want to filter.
2. Click on **Data > Create a Filter**.
3. Click the filter icon on the date column header.
4. Choose **Filter by Condition > Custom Formula is**.
5. Enter a formula such as:
“`excel
=AND(A1 >= DATE(2024, 1, 1), A1 <= DATE(2024, 12, 31)) ``` Replace `A1` with the column reference for your date data. 3. **Using a Helper Column**: - If the above method feels restrictive, create a helper column to flag rows within the desired range: 1. Add a new column (e.g., "In Range") next to your data. 2. Use a formula like: ```excel =AND(A2 >= DATE(2024, 1, 1), A2 <= DATE(2024, 12, 31)) ``` Drag the formula down for all rows. 3. Filter the rows based on the "In Range" column (filter by "TRUE"). ### Why Your Workaround Works The "text ends with" solution works because dates can be represented as text in a specific format, allowing you to approximate a filter. While it’s functional, it’s prone to errors if your date values are not uniformly formatted or if additional time data is included. ### Bonus Tip: QUERY Function for Date Ranges If you're comfortable using formulas, the `QUERY` function is another powerful way to filter by date range: - Example: ```excel =QUERY(A1:D, "SELECT * WHERE A >= date ‘2024-01-01’ AND A <= date '2024-12-31'", 1) ``` Replace `A1:D` with your data range and `A` with your date column. This method creates a new filtered table based on your conditions. --- Let me know if you'd like a step-by-step walkthrough of any of these methods, or if you encounter specific issues with them! 😊