Excel Pivot Table Date Filter Not Working (2 Possible Solutions)

Reason 1 – All Cells of a Column Are Not in Date Format

One of the most common reasons the pivot table date filter might not work is that all the data are not in the proper date format. Although a cell containing a date might look like a date-formatted one at a glance, it can actually be in text format.

Reason 2 – The AutoFilter Grouping Date Option Is Not Enabled

Another big reason for the pivot table date filter not working is that the group dates option in the auto filter menu is disabled. This option status is found in the Advanced tab of Excel Settings.


Pivot Table Date Filter Not Working Issue: 2 Solutions

We have a dataset of five days’ worth of dates, sales, and profits.

Sample Dataset

We have created a pivot table according to this dataset.

Pivot Table to Fix Pivot Table Date Filter Not Working

When we tried to apply the date filter in the pivot table, it did not work properly.


Fix 1 – Ensure the Date Format for the Entire Column

Case 1.1 – Fix the Format Manually

Steps:

  • Click on the B5 cell. Go to the Home tab and, in the Number group, note the format inside the Number Format text box. The B5 cell’s value is in the Date format.

Note the Format of B5 Cell

  • Repeat this process for all the Date column cells. At the B8 cell, you can see that the value is in the Text format.

B8 Cell has Text Format

  • With the cell selected, click on the drop-down arrow inside the Number Format text box and choose the Short Date option from the listed options.

Make the B8 Cell as Date Format to Fix Pivot Table Date Filter Not Working


Case 1.2 – Using the ISTEXT Function

Steps:

  • Create a new column next to the pivot table named Check Cell Format.

New Column of Pivot Table

  • Select the E5 cell and insert the following formula.
=ISTEXT(B5)
  • Press the Enter button.

Insert Formula to Check if B5 Cell is in Text Format

  • You can see that FALSE is written in the E5 cell because the B5 cell has a date format value, not a text value.
  • Place your cursor on the bottom-right corner of the E5 cell.
  • The fill handle (plus icon) will appear. Drag the fill handle down to the E9 cell.

Drag Fill Handle to Copy Same Formula

  • The E8 cell returns the TRUE value. And you can find that the B8 cell has the text format value.

B8 Cell has Text Format

  • Select the B8 cell, click on the drop-down arrow in the Number Format text box, and select the Short Date option.

Change the B8 Cell Format to Fix the Pivot Table date Filter Not Working


Fix 2 – Enable the AutoFilter for Grouping Dates

Steps:

  • Go to the File tab.

Access the File Tab

  • Select Options (it could be under More at the bottom).

Access the Options Window to Fix Pivot Table Date Filter Not Working

  • The Excel Options dialog box will appear. Go to the Advanced tab.
  • Check the option Group dates in the AutoFilter menu.
  • Click on the OK button.

Tick the Following Option to Fix Pivot Table Date Filter Not Working


Download the Practice Workbook


Related Articles


Get FREE Advanced Excel Exercises with Solutions!
Tanjim Reza
Tanjim Reza

Md. Tanjim Reza Tanim, a BUET graduate in Naval Architecture & Marine Engineering, contributed over one and a half years to the ExcelDemy project. As an Excel & VBA Content Developer, he authored 100+ articles and, as Team Leader, reviewed 150+ articles. Tanim, leading research, ensures top-notch content on MS Excel features, formulas, solutions, tips, and tricks. His expertise spans Microsoft Office Suites, Automating Finance Templates, VBA, Python, and Developing Excel Applications, showcasing a multifaceted commitment to the... Read Full Bio

10 Comments
  1. This still doesn’t work – ONE PC recognize file and dates, another just not.

    • Hello ALEKS,
      Thanks for reaching out to us. Make sure that all the cells in the date column of the Pivot table are in the accurate date format. Only then the date filter will work properly. Moreover, ensure the Excel option mentioned in the second solution of the article is ticked. Hope this helped.
      Reach out to us again for any further queries.
      Regards,
      Aung

  2. Hello,
    I have applied all your steps and it is still not working. This PT was working with data from 2022, 2023 and it stopped working with data from 2024. Help!!

    • Reply Mahfuza Anika Era
      Mahfuza Anika Era Feb 27, 2024 at 11:48 AM

      Hello Andrea!

      You could follow these alternative solutions below to solve your problem:
      Remove any blank cells or non-date entries in the date column. Filter out non-date values and ensure that all cells in the date column contain valid date data.
      Click on the drop-down arrow in the date filter, and check the filtering options. Make sure the desired date range or specific dates are selected. Adjust the filter criteria accordingly.
      Refresh the pivot table to ensure it reflects the most recent changes in your data. Right-click on the pivot table and select Refresh.
      Create a new pivot table and see if the date filter works. If it does, the original pivot table may be corrupted. Copy your settings to the new pivot table or recreate it.
      Ensure that you are using a compatible Excel version for the features you are trying to use. Update Excel to the latest version if possible.
      If your problem is not yet solved, please join our ExcelDemy Forum and post this problem with your Excel file attached to it.

      Regards,
      Nafis
      ExcelDemy

  3. You say “This may happen for several reasons. In this article, I will discuss those reasons”, then proceed to only mention two of them. Two is very different than “several”. Besides, two of the comments that failed to accomplish the task using these two option get a response of “try again”.
    I’m here searching all over for help with my issue and I can only find basic and obvious “solutions” like yours.
    Don’t say “I will discuss those reasons” if you are only mentioning the two most basic ones. And people, don’t reply with elaborate “try again” answers.

    • Reply Lutfor Rahman Shimanto
      Lutfor Rahman Shimanto May 7, 2024 at 12:43 PM

      Hi Nat

      Thanks for your patience and feedback. We apologize for any confusion. While the article covers two common reasons for date filter issues, other factors might be at play in your case.

      You mentioned trying the two solutions and not getting the desired results. We recommend joining our ExcelDemy Forum. You can post your question there and attach your Excel file for a more detailed look.

      Regards
      Lutfor Rahman Shimanto
      ExcelDemy

  4. The best solution I have found is to create a new Excel file and then import the file you are facing the date issue with and it will categorize the dates in years and months format.

    • Hello Umeeksha Sharma,

      Thank you for sharing your solution! Creating a new Excel file and importing the problematic file is indeed a practical approach. This method can help ensure the dates are correctly categorized in years and months format. If you need further assistance or have any other tips to share, feel free to let us know!

      Regards
      ExcelDemy

  5. BUON GIORNO
    ho eseguito le istruzioni verificando tutto passo passo. La colonna data è correttamente in formato data.
    Nonostante ciò nella tabella pivot le date escono solo giornaliere Non riesco a raggrupparle per mesi, anni

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo