Smart Systems for Home

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

Excel Date Filter: How to Filter Dates in Your Data

· 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 put a date filter in Excel, select your data range, go to the Data tab, and click the Filter button; then, click the drop-down arrow in the date column header to select specific dates, ranges, or timeframes. This process allows you to isolate specific time periods—such as a single month, a specific quarter, or everything after a certain date—without deleting the rest of your data, making it essential for analyzing trends, managing deadlines, or auditing financial records.

What You'll Need

  • A computer with Microsoft Excel installed (Windows or macOS).
  • A dataset containing at least one column specifically dedicated to dates.
  • Dates that are formatted as "Date" cells rather than plain text.

Step-by-Step

  1. Prepare Your Data: Ensure your data is organized in a table format. This means you should have a header row (e.g., "Date," "Customer Name," "Amount") and that there are no entirely blank rows or columns within the dataset. Blank rows can break the filter range, causing Excel to only filter the top section of your list.
  2. Select the Data Range: Click any single cell within your data set. Excel is usually smart enough to detect the boundaries of your data. Alternatively, you can click and drag to highlight the entire range, including the headers.
  3. Apply the Filter Toggle: Navigate to the top ribbon. Click on the Data tab. In the Sort & Filter group, click the Filter button. You will now see small drop-down arrows appear in the bottom-right corner of every header cell in your selected range. (Note: Menu labels may vary slightly depending on your version of Excel or region).
  4. Open the Date Filter Menu: Click the drop-down arrow located in the header of the column containing your dates. A menu will appear. If Excel recognizes the data as dates, it will automatically group them into a hierarchy (Years > Months > Days).
  5. Choose Your Filtering Method: You have two primary ways to filter these dates:
    • Checkbox Method: Uncheck "(Select All)" and then check the boxes for the specific years, months, or days you want to see. This is best for selecting non-consecutive dates.
    • Date Filters Menu: Hover over or click the Date Filters option. This opens a submenu with powerful predefined logic, such as "Tomorrow," "This Week," "Next Quarter," or "Between..."
  6. Using Custom Date Ranges: If you need a specific window (e.g., January 15th to March 10th), select Date Filters > Between.... A dialog box will appear. In the first box, enter your start date; in the second box, enter your end date. Click OK.
  7. Clear the Filter: To return to the full view of your data, you can either click the filter icon in the column header and select Clear Filter From [Column Name], or go back to the Data tab and click the Clear button next to the Filter toggle.

Common Mistakes

The most frequent mistake users make is entering dates as text rather than using the Date format. If you type "Jan 1st 2023" and Excel treats it as a string of text, the Date Filters submenu (with options like "This Month" or "Between") will not appear. Instead, you will only see a long list of individual text entries with checkboxes. To fix this, you must convert the column to a Date format via the Home tab's number formatting dropdown.

Another common error is leaving empty rows in the middle of the dataset. When you click the Filter button, Excel scans downward until it hits a completely empty row. If your data has a gap, the filter will only apply to the rows above that gap, leaving the bottom half of your data unfiltered and potentially leading to inaccurate analysis.

Users also often confuse "Filtering" with "Sorting." Filtering hides rows that don't meet your criteria, while sorting rearranges the order of the rows. If you want to see your dates in chronological order, use the Sort Oldest to Newest option in the filter menu, but remember that sorting does not hide any data.

Tips

For those working with massive datasets, consider converting your data range into an official Excel Table (Ctrl + T on Windows or Cmd + T on Mac). Tables automatically apply filter buttons to the headers and, more importantly, they expand the filter range automatically whenever you add new rows to the bottom of the list.

If you frequently need to change date filters based on today's date, explore the Slicer feature (available for Tables). Slicers provide a visual button-based interface for filtering that is much faster than clicking through drop-down menus, especially for presentations or dashboards.

To quickly find dates that are overdue, use the Date Filters > Before... option and enter today's date. This instantly isolates all entries that occurred in the past, which is a highly efficient way to manage task lists or payment tracking.

Troubleshooting

The "Date Filters" menu is missing: This happens when Excel does not recognize the cells as dates. First, check if the dates are left-aligned in the cell (a sign they are text) or right-aligned (a sign they are numbers/dates). To fix this, select the column, go to the Data tab, select Text to Columns, click Next twice to reach Step 3, select Date from the column data format dropdown, and click Finish. This forces Excel to re-evaluate the text as actual dates.

Some dates are missing from the filter list: Check for inconsistent formatting. If some dates are written as 01/01/2023 and others as 2023-01-01, Excel might struggle to group them. Ensure the entire column is set to a single date format via the Home tab.

The filter button is greyed out: This usually occurs if the worksheet is protected. Go to the Review tab and check if it says Unprotect Sheet. If the sheet is locked, you cannot apply filters unless the person who protected the sheet enabled "Use AutoFilter" in the protection settings.

Filtering doesn't seem to hide any rows: Ensure you haven't accidentally applied multiple filters across different columns that conflict with each other. For example, if you filter for "January" in the Date column but "Completed" in a Status column, and no January entries are completed, you will see a blank screen. Clear all filters and apply them one by one.

Frequently Asked Questions

Can I filter by multiple date ranges at once?

Using the standard filter drop-down, you can only select one "Between" range. However, you can use the checkbox method to select multiple non-consecutive months or years. For complex multiple-range requirements, you may need to create a "Helper Column" with a formula that marks rows as "Keep" or "Hide."

Does filtering delete the data that is hidden?

No, filtering only hides the rows that do not match your criteria. The data remains in the workbook and will reappear as soon as you clear the filter or select "(Select All)" in the menu.

How do I filter for dates that are blank?

Open the filter drop-down menu for the date column. Scroll to the very bottom of the list of dates, and you will find a checkbox for (Blanks). Uncheck everything else and select only this box to see rows with missing dates.

Can I filter dates automatically based on today's date?

The built-in "Dynamic Date Filters" (like "Today," "This Week," or "This Month") update automatically every time the workbook is opened. However, if you need a custom automatic range (like "last 14 days"), you will need to use a formula in a helper column or use an Advanced Filter.

Why are my dates showing as numbers like 45123?

Excel stores dates as sequential serial numbers. If you see a five-digit number, the cell is simply formatted as a "General" or "Number" instead of a "Date." Select the cells and change the format to Short Date in the Home tab to restore the readable date.