Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Cumulative totals carrying over to several spreadsheets

I'm creating an Excel spreadsheet with separate tabs for each week of the
year. I need to have cumulative totals carrying over from one week to the
next through the end of the year. Is it possible to do this?
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Cumulative totals carrying over to several spreadsheets

I'm sorry. I stated my question wrong. I really need to know if FORMULAS
will carry over across several tabs. My spreadsheets are going to have many
cum totals, and it would be too time-consuming to just add.
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,268
Default Cumulative totals carrying over to several spreadsheets

I would put 2 dummy sheets first and last and then have all the other sheet
in-between, then you can delete or add sheets to your liking


=SUM(First:Last!A31)

will sum A31 for all the sheets between First and Last


otherwise replace First with the first sheet you want to include and Last
with the last sheet


--


Regards,


Peo Sjoblom





"Schotze''''s Mom" wrote in message
...
I'm sorry. I stated my question wrong. I really need to know if FORMULAS
will carry over across several tabs. My spreadsheets are going to have
many
cum totals, and it would be too time-consuming to just add.



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default Cumulative totals carrying over to several spreadsheets

If you're willing to use a User Defined Function.......

Function PrevSheet(rg As Range)
n = Application.Caller.Parent.Index
If n = 1 Then
PrevSheet = CVErr(xlErrRef)
ElseIf TypeName(Sheets(n - 1)) = "Chart" Then
PrevSheet = CVErr(xlErrNA)
Else
PrevSheet = Sheets(n - 1).Range(rg.Address).Value
End If
End Function

Say you have 52 sheets, sheet1 through sheet52...........sheet names don't
matter.

In sheet1 you have a formula in A10 =SUM(A1:A9)

Select second sheet and SHIFT + Click last sheet

In active sheet A10 enter =SUM(PrevSheet(A10),A1:A9)

Ungroup the sheets.

Each A10 will have the sum of the previous sheet's A10 plus the sum of the
current sheet's A1:A9


Gord Dibben MS Excel MVP


On Thu, 15 Nov 2007 08:46:01 -0800, Schotze's Mom <Schotze's
wrote:

I'm creating an Excel spreadsheet with separate tabs for each week of the
year. I need to have cumulative totals carrying over from one week to the
next through the end of the year. Is it possible to do this?




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
carrying previous totals from one worksheet to another. Yvesdouce Excel Worksheet Functions 1 October 10th 07 05:47 PM
Show cumulative totals IanW[_2_] Charts and Charting in Excel 0 September 14th 07 02:00 PM
cumulative totals AOU Excel Discussion (Misc queries) 3 July 18th 07 04:28 PM
CUMULATIVE TOTALS George Excel Discussion (Misc queries) 0 November 17th 06 08:04 PM
cumulative totals in a workbook YvonneAsthma Excel Worksheet Functions 1 February 9th 06 04:12 AM


All times are GMT +1. The time now is 03:34 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"