Rolling average in pivot tables

Gojia_matt

New Member
Joined
Apr 23, 2017
Messages
1
Hi all,

After years of stalking this forum for solutions, I've finally come across a problem that I couldn't find the answer to. Thank you very much in advance for your help.

I am trying to add a rolling average to my pivot table. In the example below, 'chronic load' is a rolling four week average of the previous four weeks' values in the 'sum of load' column. I did these calculations outside of the pivot table (i.e., the 'chronic load' column is on the side of the pivot table). However, I would like to be able to do the calculations within the pivot table - presumably by using the 'calculated field' function. My issue is that I do not know the formula for using values from other rows in my formula. Please let me know if you need any more information.

Any help very much appreciated.

Values
Chronic load
DateSum of Load
20-03-17 - 26-03-17840
27-03-17 - 02-04-17
1330
03-04-17 - 09-04-17
1159
10-04-17 - 16-04-17
729
17-04-17 - 23-04-177131014.50
24-04-17 - 30-04-17180982.75
695.25
540.67
446.50
180.00

<colgroup><col><col><col></colgroup><tbody>
</tbody>
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December

Forum statistics

Threads
1,216,105
Messages
6,128,859
Members
449,472
Latest member
ebc9

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