Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
mmarshall@sagamore
 
Posts: n/a
Default rolling up several spreadsheets into one

I have approx 6 spreadsheets I need to merge into one document to receive a
final result. Each spreadsheet will be worked by a different indiviudual.
The spreadsheets are being used to produce auditing scores for several areas
and merged into one final soreadsheet rolling up all of the totals.

I'm unsure at this point what is the best way to go about this. Any
feedback is very appreciative.

Thank you.
  #2   Report Post  
Posted to microsoft.public.excel.misc
Ron Coderre
 
Posts: n/a
Default rolling up several spreadsheets into one

Try this:

You might be able to use MS Query to consolidate the Excel ranges from your
multiple wkbks/wkshts. This also works for consolidating data from the
active workbook (Just save it first so Excel can find it):

This example uses 5 named ranges in 5 different workbooks.
(Each range contains 4 columns: Dept, PartNum, Desc, Price)

Assumptions:
The data in each wkbk is structured like a table:
---Col headings (Dept, PartNum, Desc, Price)
---Columns are in the same order.

The data in each wkbk must be in named ranges.
---I used rng1111Data for dept 1111's data, rng2222Data for dept 2222, etc
---You may use the same range name in different wkbks.

(Note: MS Query may display warnings about it's ability to show the query
....ignore them and proceed.)

Starting with an empty worksheet:
1)Select the cell where you want the consolidated data to start

2)DataImport External DataNew Database Query
Databases: Excel Files


Browse to one of The files, pick The data range to import.
---Accept defaults until the next step.

At The last screen select The View data/Edit The Query option.

Click the [SQL] button

Replace the displayed SQL code with an adapted version of this:

SELECT * FROM `C:\Dept1111`.rng1111Data
UNION ALL
SELECT * FROM `C:\Dept2222`.rng2222Data
UNION ALL
SELECT * FROM `C:\Dept3333`.rng3333Data
UNION ALL
SELECT * FROM `C:\Dept4444`.rng4444Data
UNION ALL
SELECT * FROM `C:\Dept5555`.rng5555Data

Return the data to Excel.

Once that is done....to get the latest data just click in the data range
then DataRefresh Data.
(You can edit the query at any time to add/remove data sources and/or fields.)

Does that help?

***********
Regards,
Ron

XL2002, WinXP-Pro


"mmarshall@sagamore" wrote:

I have approx 6 spreadsheets I need to merge into one document to receive a
final result. Each spreadsheet will be worked by a different indiviudual.
The spreadsheets are being used to produce auditing scores for several areas
and merged into one final soreadsheet rolling up all of the totals.

I'm unsure at this point what is the best way to go about this. Any
feedback is very appreciative.

Thank you.

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
Combine information about products from 2 spreadsheets wstaylor81 Excel Worksheet Functions 1 December 15th 05 12:38 AM
Spreadsheets are cut off when you paste and link? Clint Lovell Excel Worksheet Functions 1 November 25th 05 06:10 PM
Excel Charts Linked to Spreadsheets Rich Charts and Charting in Excel 1 July 4th 05 04:36 PM
Z Chart i.e. top rolling annual bottom rolling monthly middle cum. wat prin Excel Worksheet Functions 0 January 28th 05 03:43 PM
How do I get my actuarial spreadsheets to comply with SOx? Steven Geordie Boy Excel Discussion (Misc queries) 0 December 22nd 04 03:55 PM


All times are GMT +1. The time now is 11:42 AM.

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"