Creating a running total sheet + Pivot Tables

Nobby

Board Regular
Joined
Feb 25, 2002
Messages
68
I am creating a workbook with 12 sheets representing monthly data. The coumns will remain constant but the number of rows will change each month.

Based on this monthly data, I am creating 3 separate Pivot Tables/Charts.

So, the help I need is on the following points:

1. I want to also create an annual running total sheet. Can anyone help me with a macro that will copy the current month's data and paste it in the first empty row on the Annual Summary sheet? Ideally, the macro would contain a question box allowing me to enter the name of the month so that the data from the correct worksheet is copied across.

2. Is there a way of setting up the Pivot Table so that I can change the data range easily by amending the month name, thereby having the Pivot Table/Chart showing data from the current month only?

Thanks

Nobby
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
Hi Nobby


I think you will find the answer to the changing month range here:

http://www.ozgrid.com/Excel/DynamicRanges.htm

The total by month could then easily be handled via a Pivot Table that is grouped by Month.

_________________
Kind Regards
Dave Hawley
OzGrid Business Applications
Microsoft Excel/VBA Training
OzGrid.BusApp.170x45.gif

This message was edited by Dave Hawley on 2002-04-08 02:50
 
Upvote 0

Forum statistics

Threads
1,214,412
Messages
6,119,369
Members
448,888
Latest member
Arle8907

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