Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 12
Default presenting data on multiple sheet on one consolidated sheet

Are there any formula That can be used to pick up the totals on individual
sheets and show it in a tabular form on one sheet eg if each sheet
representing a department has expenses, say light, water, telephone for
twelve months. All I need is the total for the year for each expense for each
department on one consoludated or summary sheet. The expenses are on
identical rows for each department.

The final product should look like.
HR IT Operations

Light 100 150 200
Water 50 75 100
Telephone 80 120 130




  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,836
Default presenting data on multiple sheet on one consolidated sheet

I think this is what you want. Create a sheet named 'Summary'. Add two
command buttons. Link the first button to this macro:

Sub ListSheets()
Rows("3:101").Select
Selection.ClearContents
Range("A1").Select
Dim rng1 As Range
Dim I As Integer
Dim sh As Worksheet
Dim blnReplace As Boolean
Set rng1 = Range("A3")
For Each Sheet In ActiveWorkbook.Sheets
If (Sheet.Name) < "Summary" Then
blnReplace = False
rng1.Offset(I, 0).Value = Sheet.Name
I = I + 1
End If
Next Sheet
End Sub

That lists all the sheets in your workbook in one vertical column. Now,
link the second button to this macro:
Sub ListData10()
Dim ws As Worksheet
Dim rCopy As Range
Dim rDest As Range

Set rDest = ActiveWorkbook.Worksheets("Summary").Range("B3")
For Each ws In ActiveWorkbook.Worksheets
If ws.Name < "Summary" Then
rDest.Offset(0, -1).Value = ws.Name
With ws.Range("B39:T39")
rDest.Resize(1, .Columns.Count).Value = .Value
End With
Set rDest = rDest.Offset(1, 0)
End If
Next ws
End Sub

That copies/pastes all data from all sheets, not named 'Summary', from
B39:T39, on each sheet. I seriously doubt your data is on row B39:T39 on
each sheet, but just change the range to match the rows that have the data
that you want to see in the summary sheet.

HTH,
Ryan---


--
Ryan---
If this information was helpful, please indicate this by clicking ''Yes''.


"Jammings" wrote:

Are there any formula That can be used to pick up the totals on individual
sheets and show it in a tabular form on one sheet eg if each sheet
representing a department has expenses, say light, water, telephone for
twelve months. All I need is the total for the year for each expense for each
department on one consoludated or summary sheet. The expenses are on
identical rows for each department.

The final product should look like.
HR IT Operations

Light 100 150 200
Water 50 75 100
Telephone 80 120 130




  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default presenting data on multiple sheet on one consolidated sheet

=SUM(Sheet1:Sheet12!cellref) where cellref is the cell on each sheet that
holds the total for that sheet for HR

Same for IT and Operations.


Gord Dibben MS Excel MVP

On Wed, 7 Oct 2009 11:27:01 -0700, Jammings
wrote:

Are there any formula That can be used to pick up the totals on individual
sheets and show it in a tabular form on one sheet eg if each sheet
representing a department has expenses, say light, water, telephone for
twelve months. All I need is the total for the year for each expense for each
department on one consoludated or summary sheet. The expenses are on
identical rows for each department.

The final product should look like.
HR IT Operations

Light 100 150 200
Water 50 75 100
Telephone 80 120 130




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
Duplicate sheet, autonumber sheet, record data on another sheet des-sa[_2_] Excel Worksheet Functions 0 May 8th 08 06:56 PM
lookup single value in one sheet, return multiple results from theother sheet Chuck[_3_] Excel Worksheet Functions 1 April 4th 08 06:17 AM
Totals from Seperate Worksheets to One Consolidated Sheet RudeRam Excel Discussion (Misc queries) 6 May 25th 06 03:07 AM
update consolidated sheet when data is added to worksheets prmagpie Excel Discussion (Misc queries) 0 March 1st 06 07:35 PM
Consolidated Excel Sheet RJ Excel Worksheet Functions 1 August 2nd 05 02:57 PM


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