Pivot table not sorting dates

CraigG

Board Regular
Joined
May 1, 2005
Messages
169
Office Version
  1. 365
  2. 2007
Platform
  1. Windows
  2. Mobile
Hi, I have a pivot table with dates in, I want it to sort by oldest to newest, but it won't do it.

I've checked the original data and all dates are formatted as dd/mm/yyyy (using format cells)
and I've done text to columns (using 'delimited' then no delimiters selected then Date: DMY)
but still no luck.

Below is an extract of the PivotTable...
20/09/2023​
05/10/2023​
21/07/2023​
08/10/2023​
29/03/2025​
30/08/2023​
25/02/2024​
02/01/2024​
26/06/2024​
19/02/2024​

Anyone any ideas how I can get it to sort dates?

Thanks
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
Show a screen-shot of your data. And also show a screen-shot of your PivotTable.
 
Upvote 0
Difficult to determine without actually seeing the workbook. Having said that, recently have seen issues with PTs that have dates that are formatted/input/imported that are text. Try re-formatting your "date" field as dates. You may have to use the Text to Columns method to ensure that they are dates (which are really numbers 1 up from 1/1/1900).
 
Upvote 0
On the back of what alansidman has said ... once you know your dates are real-dates, then recreate the PivotTable from scratch, to make sure there is nothing wrong in the PivotCache causing problems.
 
Upvote 0

Forum statistics

Threads
1,215,084
Messages
6,123,029
Members
449,092
Latest member
ikke

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top