Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default transfer total from one sheet to another

I have a workbook with about 10 sheets. In each sheet there are total in j2,
h2, and L2 (same in each sheet). I want these totals to appear in a total
sheet; say with name of sheet then the three totals. I can seem to do this.
pls help.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,572
Default transfer total from one sheet to another

One way would be to list your sheet names down a column.
If they're the default XL names, say you enter:
Sheet1
in A1.
Then, simply drag down to copy and automatically increment the names.

Enter this formula in B1:
=INDIRECT(A1&"!H2")

Enter this formula in C1:
=INDIRECT(A1&"!J2")

Enter this formula in D1:
=INDIRECT(A1&"!L2")

NOW, select *all 3*, B1, C1, and D1,

And drag down the 3 cell selection to copy as needed.
--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------

"Trace" wrote in message
...
I have a workbook with about 10 sheets. In each sheet there are total in
j2,
h2, and L2 (same in each sheet). I want these totals to appear in a total
sheet; say with name of sheet then the three totals. I can seem to do
this.
pls help.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,124
Default transfer total from one sheet to another

if you wanted the sum from all intervening sheets
=sum(firstsheet:lastsheet!j2)

but if you want the sheet name too
Sub eachwsi()
For i = 1 To Worksheets.Count
with sheets(i)
If.Name < "Total" Then
Cells(i, "c") =.Name
Cells(i, "d") =.Range("j2")
Cells(i, "e") =.Range("h2")
Cells(i, "f") = .Range("l2")
End If
end with
Next i
--
Don Guillett
SalesAid Software

"Trace" wrote in message
...
I have a workbook with about 10 sheets. In each sheet there are total in
j2,
h2, and L2 (same in each sheet). I want these totals to appear in a total
sheet; say with name of sheet then the three totals. I can seem to do
this.
pls help.


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
how do I transfer information from one sheet to another? Dan B. Excel Discussion (Misc queries) 2 April 14th 06 01:33 PM
Transfer/Copy Sheet, Dynamically linked Sheet 0-0 Wai Wai ^-^ Excel Discussion (Misc queries) 2 December 23rd 05 10:04 PM
Transfer A Row From Sheet 1 To 2 GeorgeF Excel Worksheet Functions 1 June 21st 05 08:36 PM
Transfer From one to another sheet Jay Excel Worksheet Functions 1 March 12th 05 02:33 PM
Transfer data from sheet to sheet Jenn Excel Discussion (Misc queries) 4 January 20th 05 03:07 PM


All times are GMT +1. The time now is 05:56 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"