Mar 27 2023 12:47 PM - edited Mar 27 2023 12:48 PM
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/dd/yyyy (for example 4/7/2014).
Question: how do I get the date format in the pivot table to match the source data? Or alternatively, how can I change the date format in the pivot table?
I need to shorten the date format, it's taking up too much room to display properly.
Using Office 365 for Enterprise on Windows 10 Pro
thanks,
Ross
Mar 28 2023 01:48 AM
To change the date format in a pivot table in Office 365 for Enterprise on Windows 10 Pro, you can follow these steps:
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.
Mar 28 2023 11:21 AM
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...
Nov 15 2023 10:56 AM
Nov 16 2023 08:13 AM
Perhaps you have texts which looks like date, not dates which are actually (in behind) numbers.
Jan 30 2024 05:05 PM - edited Jan 30 2024 05:07 PM
@SergeiBaklan What if one of the things being sorted on is an aggregated group name abbreviation that comes out to something like "JAN" and the pivot table seems to be auto interpreting it as "January" despite all data types being set appropriately as Text and non-pivot tables with the same Data Type settings are sorting alphabetically appropriately?
example:
Some Screenshots below:
Data Source unsorted:
Data Source Sorted:Pivot Table Sorted:
Is something like this just an extremely native limitation of current Excel and its ability to respect Data Types when creating a pivot table with source data at the moment? Doesn't seem like there are many resources specifically about this sorting issue and seems like you can't edit the default 3 letter sort list for the months in Excel's advanced options.
Jan 31 2024 03:37 AM
In PivotTable
More Sort Options->More Options->disable Sort Automatically->choose No Calculations
Jan 31 2024 10:25 AM
Feb 01 2024 04:40 AM
@OrinWhitener2787 , you are welcome
Mar 27 2024 11:57 AM
@office1460 hii is it working date formatting