Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Kim Kim is offline
external usenet poster
 
Posts: 284
Default auto update to multiple worksheets

I have created an Excel workbook which contains multiple worksheets of
financial data. what I need to know is How do I get the financial data
totals from work sheet 1 to auto-populate into worksheet # 2, from worksheet
#2 to #3, etc. ?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,522
Default auto update to multiple worksheets

Maybe a redesign?

If desired, send your file to my address below. I will only look if:
1. You send a copy of this message on an inserted sheet
2. You give me the newsgroup and the subject line
3. You send a clear explanation of what you want
4. You send before/after examples and expected results.

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"kim" wrote in message
...
I have created an Excel workbook which contains multiple worksheets of
financial data. what I need to know is How do I get the financial data
totals from work sheet 1 to auto-populate into worksheet # 2, from
worksheet
#2 to #3, etc. ?


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default auto update to multiple worksheets

Copy/paste this UDF to a general module in your workbook.

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

Example of usage...................

Say you have 12 sheets, sheet1 through sheet12...........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, 5 Apr 2010 14:47:46 -0700, kim
wrote:

I have created an Excel workbook which contains multiple worksheets of
financial data. what I need to know is How do I get the financial data
totals from work sheet 1 to auto-populate into worksheet # 2, from worksheet
#2 to #3, etc. ?


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
Auto Update worksheet references as new worksheets are added Rick Excel Worksheet Functions 1 January 12th 09 10:00 PM
Auto update worksheets J James Excel Worksheet Functions 6 July 1st 08 04:32 AM
Auto Update the formula values without opening the link worksheets Siva Excel Worksheet Functions 1 August 13th 06 12:31 PM
How do i update multiple data ranges across multiple worksheets? mwah Excel Discussion (Misc queries) 0 July 6th 06 04:57 AM
Sharing data between worksheets (auto-update) RUSH2CROCHET Excel Discussion (Misc queries) 1 June 22nd 06 07:31 PM


All times are GMT +1. The time now is 10:45 PM.

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

About Us

"It's about Microsoft Excel"