Forum Discussion
CharlieWR
Jun 25, 2023Copper Contributor
How to change formula automatically when copying down 1 row.
Could anyone help with how I can change date automatically in the formula below when I copy this formula down in excel. =GETPIVOTDATA(" Total sales",'5.Rev-cost food'!$A$1,"Date",DATE(2023,6,24)) A...
- Jun 25, 2023Thanks for the solution I used this and found it does a great job
SergeiBaklan
Jun 25, 2023Diamond Contributor
Most probably PivotTable has Date, like
If so formula could be
=GETPIVOTDATA("Total Sales",'5.Rev-cost food'!$A$1,"date",'5.Rev-cost food'!$A2)
and drag it down
CharlieWR
Jun 25, 2023Copper Contributor
Thanks for the solution I used this and found it does a great job
- SergeiBaklanJun 26, 2023Diamond Contributor
CharlieWR , you are welcome