How to add average column to pivot table??

krusha

New Member
Joined
Jul 17, 2008
Messages
8
Hi guys,
I am having trouble with what seems pretty simple. I would like to add 2 columns to the right of my pivottable as shown in the uploaded file here:
HTML:
http://foxweb.marist.edu/users/kcdhl/pivotquestion.xls
, one that will be an average of the last 5 days volume, and one that will be the average volume for the past 100 days. I cannot figure out how to properly add the extra fields, any help would be GREATLY appreciated.

Thanks all.
 

Some videos you may like

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.

Ketan

Board Regular
Joined
Dec 11, 2008
Messages
102
I understood the last "five days" are w.r.t. current date.

I would like to suggest following steps :

1)In cell A2, put fomula : =today()
2)In cell B2 put formula : =$A$2-B4 where B4 having the date from pivot table. Copy the formula till CM2
3)For last 5 days average for person A, put the formula in CO5 : =SUMIF($B$2:$CM$2,"<6",B5:CM5)/5(for last five days)
4)drage the formula for preson B and C

Check the data and share your experience
 

Watch MrExcel Video

Forum statistics

Threads
1,127,519
Messages
5,625,278
Members
416,086
Latest member
CaptainGD

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
Top