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
Solved

Consolidating in Excel

Posted on 2014-03-27
6
141 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
  • 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
Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

 

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

INDEX and MATCH can be used to great effect to replace HLOOKUP and VLOOKUP as it does not have the limitation of needing the data to be sorted so that the reference value is in the first column or row. It also has the ability to perform a bi-directi…
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

839 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