Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Excel Filter Between Dates: Step-by-Step Guide

· 6 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

To filter between dates in Excel, click the filter arrow in your date column header, select Date Filters, and choose Between. This allows you to define a start and end date to isolate a specific time range in your dataset. This process is essential for generating monthly reports, analyzing quarterly trends, or auditing transactions within a specific window of time.

What You'll Need

  • A Microsoft Excel workbook containing a table or range of data.
  • A column dedicated specifically to dates.
  • Dates that are formatted as actual Date values in Excel, not as plain text.
  • The Filter feature enabled on your data header row.

Step-by-Step

  1. Prepare Your Data: Ensure your data is organized in a tabular format. Each column must have a unique header (e.g., "Transaction Date", "Order Date"), and there should be no completely empty rows or columns within the dataset. This ensures Excel recognizes the entire block as a single data range.
  2. Enable the Filter: Click any cell inside your data range. Navigate to the Data tab on the top ribbon and click the Filter button. Alternatively, you can use the keyboard shortcut Ctrl + Shift + L. You will now see small drop-down arrows appearing in the bottom-right corner of each header cell.
  3. Open the Date Filter Menu: Click the drop-down arrow in the header of the column that contains your dates. A menu will appear. Instead of checking or unchecking individual dates in the list, hover your mouse over the Date Filters option. Note that if you see "Text Filters" instead of "Date Filters," Excel does not recognize your data as dates (see Troubleshooting).
  4. Select the Between Operator: From the Date Filters fly-out menu, select Between... This will open the Custom AutoFilter dialog box.
  5. Set the Start Date: In the dialog box, you will see two input fields. In the first row, ensure the first dropdown says "is after or equal to". In the corresponding empty box to the right, either type your start date (e.g., 01/01/2023) or click the calendar icon to select the date from a visual picker.
  6. Set the End Date: In the second row of the dialog box, ensure the dropdown says "is before or equal to". In the empty box to the right, type your end date (e.g., 03/31/2023) or use the calendar picker.
  7. Apply the Filter: Click OK. Excel will instantly hide all rows that fall outside of this date range, leaving only the records that occurred on or between your two chosen dates.
  8. Clear the Filter: To return to the full view of your data, click the filter icon in the column header (which now looks like a small funnel) and select Clear Filter From [Column Name], or go to the Data tab and click Clear.

Common Mistakes

One of the most frequent errors is entering dates in a format that Excel does not recognize. For example, if your system is set to US English (MM/DD/YYYY) but you type dates in UK format (DD/MM/YYYY), Excel may either throw an error or, worse, filter the wrong dates without warning. Always ensure your input matches your regional system settings.

Another common mistake is including blank rows in the dataset. If you have a completely empty row between your headers and your data, or in the middle of your list, clicking the Filter button may only apply the filter to the top section of your data. This leads to incomplete results where some records are ignored by the filter entirely.

Users also frequently confuse the "Between" filter with the "Date Filters" presets like "This Month" or "Last Quarter". While presets are faster, they are dynamic and change based on today's date. If you need a static range (e.g., specifically January 15th to February 10th), you must use the "Between" option rather than a preset.

Tips

For those who frequently filter the same date ranges, consider using a Table. By selecting your data and pressing Ctrl + T, you convert the range into an official Excel Table. Tables automatically expand their filters when you add new rows at the bottom, meaning you don't have to re-apply the Filter button every time your dataset grows.

If you are working with a massive dataset, using a Slicer is often more intuitive than the drop-down menu. While Slicers are typically used for categories, you can create a "Timeline" slicer if your data is formatted as a Table or PivotTable. Go to the Insert tab and select Timeline. This provides a visual slider that lets you drag and drop the date range you want to see, which is much faster than typing dates into a dialog box.

To ensure your dates are truly dates, select the column and look at the "Number Format" dropdown on the Home tab. If it says "General" or "Text," you may encounter issues. Change it to "Short Date". If the dates do not align to the right of the cell after this change, they are likely stored as text and will need to be converted using the "Text to Columns" tool.

Troubleshooting

Problem: I see "Text Filters" instead of "Date Filters" in the menu.
This happens when Excel perceives the dates as strings of text rather than numeric date values. To fix this, select the date column, go to the Data tab, and select Text to Columns. Click Next twice to get to Step 3 of the wizard. Under "Column data format," select Date and choose the format that matches how your data is currently written (e.g., MDY). Click Finish. The filter menu should now show "Date Filters".

Problem: The filter is not showing all the dates I expect.
Check for hidden characters or trailing spaces in your date cells. A cell that looks like "2023-01-01 " (with a space at the end) is treated as text. You can use the TRIM function in a helper column to remove extra spaces, then copy and paste the values back over the original dates.

Problem: The "Between" filter is returning zero results.
Verify that your start date is actually before your end date. It sounds simple, but it is a common slip. Additionally, check if your dates include time stamps. If a cell contains "2023-12-31 11:59 PM", and you filter "before or equal to 2023-12-31", Excel may treat the filter date as "2023-12-31 00:00 AM", effectively excluding everything that happened on the final day. To fix this, set your end date to the following day (e.g., 2024-01-01) and use "is before".

Frequently Asked Questions

Can I filter between dates using a formula instead of the menu?

Yes, you can use the FILTER function in newer versions of Excel. The formula would look like =FILTER(A2:C100, (B2:B100 >= DATE(2023,1,1)) * (B2:B100 <= DATE(2023,3,31))). This creates a dynamic list that updates automatically.

Does filtering between dates delete the other data?

No, filtering only hides the rows that do not meet your criteria. The data is still in your workbook; it is simply not visible. You can bring it back by clearing the filter.

Can I filter by multiple non-consecutive date ranges?

The "Between" filter only supports one continuous range. To filter multiple separate ranges, you must use the checkboxes in the main filter menu or create a helper column with a formula that marks the desired dates as "Yes" or "No", then filter for "Yes".

Why are my dates showing up as numbers like 45123?

Excel stores dates as sequential numbers (where 1 is January 1, 1900). If you see a five-digit number, the cell is simply formatted as a Number. Change the cell format to "Short Date" via the Home tab to see the readable date.

Will the date filter work if I have dates in different formats in one column?

No. If some dates are "01/01/2023" and others are "Jan 1, 2023" but stored as text, the Date Filter will only work on the cells Excel recognizes as dates. You must standardize the column format first.