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 Adding sums from different worksheets

I am designing a yearly sales pipeline report. Each worksheet is a different
month. How do I create a running YTD total of previous months sales totals to
the current sheet I am working on?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Adding sums from different worksheets

Suppose the monthly figure you want to bring to your summary sheet is
always in the same cell on the monthly sheets (eg M1). In the summary
sheet you need to list the names of the sheets - suppose these are in
A2 downwards, comprising Jan, Feb, Mar etc. Then put this formula in
B2:

=INDIRECT("'"&A2&"'!M1")

and then copy it down for your 12 months.

Hope this helps.

Pete

On Jul 29, 2:19*am, laurabell
wrote:
I am designing a yearly sales pipeline report. *Each worksheet is a different
month. How do I create a running YTD total of previous months sales totals to
the current sheet I am working on?


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default Adding sums from different worksheets

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 13 sheets, sheet1 through sheet13...........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 Mon, 28 Jul 2008 18:19:01 -0700, laurabell
wrote:

I am designing a yearly sales pipeline report. Each worksheet is a different
month. How do I create a running YTD total of previous months sales totals to
the current sheet I am working on?


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
Sums from different worksheets Botts Excel Worksheet Functions 0 August 1st 07 06:40 AM
Finding a value by adding certain sums in a range? Meh27 Excel Discussion (Misc queries) 2 July 16th 07 09:02 PM
adding multiple sums w/ different criteria Doug Excel Discussion (Misc queries) 6 January 19th 07 12:42 AM
Adding sums only in certain colored cells vkauahi Excel Worksheet Functions 6 January 5th 07 11:27 PM
Adding up Sums AlyG Excel Worksheet Functions 3 June 7th 05 06:31 AM


All times are GMT +1. The time now is 02:08 PM.

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"