Dynamic pivot table structure

Cferron

New Member
Joined
May 20, 2011
Messages
44
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
  2. MacOS
Hello all,

I would like to know if it is possible to get a column added automatically in a dynamic table. I explain with images.
I have columns with dates. These are not yet in a pivot table ,but every day the header changes based on today's date.

1643032590760.png


The data in these columns are put in a pivot table but when a date disappears in the sheet, so it does in the pivot table (this is fine).
However I was hoping the pivot table could automatically add the new column with a new date at the end.

1643033312105.png


1643043668133.png

Is there a way this can be achieve in Pivot table?

Hope this is clear enough.

Thanks
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
isn't it easier to have header like today, today+1, today+2, etc.
This days don't change, so no problems for the pivottable.
Above the pivottable VBA pastes a new adapted header with the real values of today, etc.

or

is that date a column in your sourcedata and with a slicer you can choose between today and today+9
Can you show 1 or more lines of the sourcedata ?
 
Upvote 0
isn't it easier to have header like today, today+1, today+2, etc.
This days don't change, so no problems for the pivottable.
Above the pivottable VBA pastes a new adapted header with the real values of today, etc.

or

is that date a column in your sourcedata and with a slicer you can choose between today and today+9
Can you show 1 or more lines of the sourcedata ?
Thanks, I think Option A would perfectly fit my need. Thanks for putting brain power into this!
 
Upvote 0

Forum statistics

Threads
1,214,653
Messages
6,120,752
Members
448,989
Latest member
mariah3

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