Solved

Consolidating in Excel

Posted on 2014-03-27
6
147 Views
Last Modified: 2014-03-27
Hi,

I have 20 worksheets in EXACTLY the same format in one workbook.

There are 200 numeric fields in each sheet.

I want one SINGLE consolidated sheet with each field "summed".

What is the easiest way to consolidate?

I am aware that Excel has a consolidation function but that seems to force me to repeat keying tasks multiple times.  i.e. for each of the 200 numberic fields I would need to repeat the same actions 20 times (i.e. one for each sheet)
0
Comment
Question by:Patrick O'Dea
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 39

Expert Comment

by:nutsch
ID: 39959521
Copy one of your sheets to a new sheet, that you either place before or after your other sheets (not in the middle)

Select all your numeric fields (maybe they're grouped, maybe you'll have to use F5, Special, Constants, Numbers or something like that to select them),

Type your consolidating formula, from the first sheet to the last sheets, e.g. if they're named sheet1 to sheet20, and you're typing in cell B5

=sum(sheet1!B5:sheet20!B5)

validate with Ctrl+Enter to fill all cells

You're done.

Thomas
0
 

Author Comment

by:Patrick O'Dea
ID: 39959578
Thanks Thomas for suggestion.

It looks great ...but..

I follow the logic ... one step at time... but I am getting #VAlue!

Perhaps you could have a look at the "consol" sheet. Specifically, what is wrong with cell A1.
EEConsolidate.xlsm
0
 
LVL 39

Expert Comment

by:nutsch
ID: 39959607
Mistake on my part, sorry, the formula should be

=sum(sheet1:sheet20!B5)

or for your sample file
=sum(sheet1:sheet3!A1)

One way to get that is to type =sum(, then select your first cell of your first sheet, then while holding ctrl, select the last sheet.
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:Patrick O'Dea
ID: 39959702
Ok thanks,
One final question what if the sheet names where not the default values? E.g. Sheet 1= Paris, sheet 2= London etc.
0
 
LVL 39

Accepted Solution

by:
nutsch earned 500 total points
ID: 39959727
Same difference, only you'll need single quotes around if you have spaces or other funky characters in the sheet names, as in:

=sum('Paris:Moscow'!A1)

Also, fyi, you should be holding Shift when selecting the sheets, not Ctrl as I said earlier.
0
 

Author Closing Comment

by:Patrick O'Dea
ID: 39959828
Thanks nutsch,

works perfectly.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.

736 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question