Pivot Table Issues

How to Format the Date Axis in an Excel PivotChart

Kushani NimanthikaKushani Nimanthika Nov 20, 2026 869 views

Question details

Format the date axis in an Excel PivotChart without displaying the year.

How to Format the Date Axis in an Excel PivotChart
Product
Microsoft Excel
Device & OS
not provided
Scenario
A user wants PivotChart axis labels to display dates in a format such as day and month.
Observed behavior
The PivotChart continues to display the year after the date format is changed in the chart.
Before you start

Locate the PivotTable connected to the PivotChart and identify the date field used on the chart axis. Check whether the dates are grouped by year, as grouping can affect the labels shown.

Solution 1Recommended

Change the Date Format in the Related PivotTable

Use the PivotTable field settings when changing the PivotChart axis format does not remove the year.

1
Open the date field settings

In the related PivotTable, right-click a date in the field used for the chart axis and select Field Settings.

2
Choose a number format

Select Number Format, then choose Date or Custom. For a day-and-month display, enter dd.mm in the Custom format box.

3
Apply the format

Select OK to close the format dialog, then select OK again to apply the field settings. Check the PivotChart axis labels.

4
Refresh if needed

If the labels have not updated, right-click the PivotTable and select Refresh, then check the PivotChart again.

Change the Date Format in the Related PivotTable
Check date grouping: A separate Years field or grouped dates can still display year labels. If needed, right-click a grouped date in the PivotTable and select Ungroup, then review the chart layout. Ungrouping changes the PivotTable's grouping.
Free Microsoft Office alternative

Work With Date-Based Spreadsheets in WPS Office

WPS Office is a free, lightweight alternative for working with spreadsheets in a familiar interface. Its Microsoft Excel format compatibility helps you move existing files into WPS Spreadsheets; it does not change settings in Microsoft Excel.

Format date values in spreadsheetsOpen and edit Microsoft Excel XLSX and XLS filesUse a familiar spreadsheet interface for an easier transitionWork with a free, lightweight office suite
QA img-9

Frequently Asked Questions

Why does my PivotChart still show the year after I change the axis format?

The date labels may follow the related PivotTable field format or include a separate Years grouping. Right-click a date in the PivotTable, select Field Settings, and check Number Format and any date grouping.

What custom format shows only the day and month?

In the PivotTable date field's Field Settings, select Number Format, choose Custom, and enter dd.mm. This displays a date such as 5 March as 05.03 without changing the underlying date.

What should I do if the chart labels do not update?

Right-click the related PivotTable and select Refresh. Then check whether a separate Years field is still included in the PivotTable or PivotChart layout.

Does hiding the year change the dates used in the PivotTable?

No. A custom number format changes how dates are displayed, not their underlying values. Dates from different years can therefore appear with identical day-and-month labels.