View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
[email protected] kansaskannan@gmail.com is offline
external usenet poster
 
Posts: 18
Default Pivot Table: Totals for "Last 12 months" and "Preceding 12 months"

I have a Pivot Table which shows revenues for each month in a rolling
24-month period. (That is, the 24 months are not two calendar years,
but start any month and end 24 months later). I need to add:
subtotals for the last 12 months, and the 12-months prior to the last
12 months.

Apr -2001 $2,471,802
May-2001 $2,637,046
...
...
...
Feb-2002 $2,323,360
Mar-2002 $1,328,335

Last 12Month ????????
Prec 12Month ????????

How do I do this with VBA in the Pivot Table itself? Or will I have to
do this in Excel, after the Pivot has been calculated?

Thank you!