Changing a formula in a PivotTable

kscann10

New Member
Joined
Mar 4, 2016
Messages
1
Hello,

I have a PivotTable that displays data by year in columns. It is filtered to display the four most recent years of data. There is a column that calculates the 6 year average off of the most recent 6 years of data which I need to update to get rid of 2009 and add 2015. So I want the formula to be the data from years 2010 through 2015. I'm sure the solution is simple, but I can't figure out how to change the formula for all of the cells in the column besides doing it manually. When I change the first cell of the column manually, it doesn't change the rest of the column. So right now the formula displays =('2012'+'2013'+'2014'+'2009'+'2010'+'2011')/6 and I need to change all of them to =('2012'+'2013'+'2014'+'2015'+'2010'+'2011')/6. Any help would be appreciated.

Thank you.
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.

Forum statistics

Threads
1,214,611
Messages
6,120,513
Members
448,967
Latest member
screechyboy79

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