Forum Discussion
Ross321
Mar 27, 2023Copper Contributor
Date Format: Pivot Table vs Source Data
I formatted the date column in the source data how I wanted it, which is month/ year (for example May-2015 or Jun-2022). When I created a pivot table from this data, it reformatted the date to mm/d...
Rodrigo_
Mar 28, 2023Steel Contributor
To change the date format in a pivot table in Office 365 for Enterprise on Windows 10 Pro, you can follow these steps:
- Click anywhere on the pivot table to select it.
- In the "PivotTable Analyze" or "Design" tab of the ribbon, click on "Fields, Items, & Sets" and select "Fields" or "Value Fields" depending on the type of field you want to format.
- Right-click on the date field and select "Value Field Settings" from the context menu.
- In the "Value Field Settings" dialog box, click on the "Number Format" button.
- In the "Format Cells" dialog box, select "Custom" from the category list on the left.
- In the "Type" field on the right, enter the desired date format that matches your source data. For example, if your source data is formatted as "May-2015" or "Jun-2022", you can enter "mmm-yyyy" in the "Type" field to display the date in the same format in the pivot table.
- Click "OK" to apply the changes and close the "Format Cells" dialog box.
- Click "OK" again to close the "Value Field Settings" dialog box.
Your pivot table should now display the date field in the desired format that matches your source data.
To shorten the date format in the pivot table, you can simply modify the format string in step 6 above. For example, if you want to display only the month and year in the format "mmm-yy", you can enter "mmm-yy" in the "Type" field.
- Ross321Mar 28, 2023Copper Contributor
Thanks for the instructions. When I get to step 2, there is no "fields" available to select in either the Pivot table or Pivot chart...
- SergeiBaklanMar 28, 2023MVP
- office1460Nov 15, 2023Copper Contributor