Moving Average in a Pivot Table

Jim Cihon

New Member
Joined
Sep 13, 2010
Messages
5
I've searched through the archives and have come up empty.

I want to know if it is possible to calculate a moving average in a pivot table.

My data is formatted as:

Column headings:
Date / Part number / Shipped on time

Data fields:
5/10/11 / (text field) / 1 or 0 (1 = on time, 0 = late)

On a monthly basis i prepare several reports for delivery performance using simple pivot tables and its pretty straightforward.

I want to look at tracking a 3 month moving average of the Shipped on time column. The number of entries will be different month to month.

example:
January we ship 30 lines
February we ship 15 lines
March we ship 45 lines

For the 3 month moving average for March I want to include all of the lines for January - March.

I can do this manually but I'm hoping someone has a clever way to add some calculated fields to the pivot table to get what I'm after.

Thanks in advance!
Jim
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
Did anyone nail this?

I've searched through the archives and have come up empty.

I want to know if it is possible to calculate a moving average in a pivot table.

My data is formatted as:

Column headings:
Date / Part number / Shipped on time

Data fields:
5/10/11 / (text field) / 1 or 0 (1 = on time, 0 = late)

On a monthly basis i prepare several reports for delivery performance using simple pivot tables and its pretty straightforward.

I want to look at tracking a 3 month moving average of the Shipped on time column. The number of entries will be different month to month.

example:
January we ship 30 lines
February we ship 15 lines
March we ship 45 lines

For the 3 month moving average for March I want to include all of the lines for January - March.

I can do this manually but I'm hoping someone has a clever way to add some calculated fields to the pivot table to get what I'm after.

Thanks in advance!
Jim
 
Upvote 0

Forum statistics

Threads
1,224,560
Messages
6,179,520
Members
452,922
Latest member
nstaab07

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