Pivot Table Issues

Fix February 29 in an Excel PivotTable for Non-Leap Years

Khadija KhanKhadija Khan Nov 25, 2026 869 views

Question details

Determine why February 29 appears in an Excel PivotTable for a non-leap year and adjust the date display.

Fix February 29 in an Excel PivotTable for Non-Leap Years
Product
Microsoft Excel PivotTable
Device & OS
not provided
Scenario
Dates are grouped by day in a PivotTable with Show items with no data enabled.
Observed behavior
The PivotTable may display February 29 in a year that does not have a leap day, even though the source data contains no such date.
Before you start

Check the source date column for unexpected values and confirm which PivotTable date field is grouped. Note whether you need to keep other dates with no data visible.

Solution 1Recommended

Turn off empty items for the grouped date field

Use this approach when you do not need the PivotTable to display dates with no source data.

When dates are grouped and empty items are shown, Excel may display possible grouped day items even when they do not correspond to a valid date in the selected year.

1
Open field settings

Right-click an item in the grouped date field in the PivotTable and select Field Settings.

2
Hide empty items

On the Layout & Print tab, clear Show items with no data, then click OK.

3
Refresh the PivotTable

Right-click the PivotTable and select Refresh, then check the non-leap year again.

Turn off empty items for the grouped date field
Other empty dates may disappear: Turning off this setting also hides other date items that have no data for the field.
Free Microsoft Office alternative

Explore PivotTable data with WPS Spreadsheets

WPS Office is a free, lightweight alternative with a familiar spreadsheet interface and Microsoft Office format compatibility for an easier transition. It does not repair the grouped-date behavior in Microsoft Excel.

Analyze date-based data using spreadsheet and PivotTable toolsOpen and edit Microsoft Excel XLS and XLSX filesWork in a familiar, easy-to-use interfaceMove existing Office documents into a lightweight suite
microsoft office alternative - wps office

Frequently Asked Questions

Why does February 29 appear for 2017 in my PivotTable?

Grouped date fields can display possible day items when Show items with no data is enabled. This does not necessarily mean February 29, 2017 exists in the source data.

Where can I turn off Show items with no data?

Right-click an item in the grouped date field, select Field Settings, and clear Show items with no data on the Layout & Print tab. Click OK and refresh the PivotTable.

Can I filter out February 29 without changing the field setting?

If the PivotTable offers a distinct February 29 item, open the row field filter and clear that item. Check the result carefully: filtering a day number such as 29 may also hide the 29th of other months or a valid leap day in another year.

What should I do if the date still appears after changing the setting?

Right-click the PivotTable and select Refresh, then check the source dates and the settings for each grouped date field. If the behavior persists, prepare a small representative data sample for further investigation.