Real dates in Pivot Table

Don2415

New Member
Joined
Dec 27, 2021
Messages
9
Office Version
  1. 2016
Platform
  1. Windows
I have multiple years of hourly data and I average it to daily in the pivot table. The table has one line with the year followed by lines for each day-month in the year, then another line with the year followed by day-month, etc. I would like to have a day-month-year format. is that possible? (A newbie here)

1640635825732.png
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
You can make a column with real dates.
N.B. The system that generated this example has regional settings of dd-mmm-yy
Format the dates to your preference.

T202112a.xlsm
ABCD
1TextDates
22007Option aOption b
316-Mar16-Mar-0716-Mar-07
417-Mar17-Mar-0717-Mar-07
518-Mar18-Mar-0718-Mar-07
65-Apr5-Apr-075-Apr-07
722-Apr22-Apr-0722-Apr-07
8
9
6a
Cell Formulas
RangeFormula
C3:C7C3=DATE($B$2,MONTH(RIGHT(B3,3)&1),MID(B3,1,FIND("-",B3)-1))
D3:D7D3=--(B3&"-"&$B$2)
 
Upvote 0
Solution
Hi Don

Ungroup the date field in the pivot table.
 
Upvote 0

Forum statistics

Threads
1,214,793
Messages
6,121,617
Members
449,039
Latest member
Mbone Mathonsi

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