Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Consolidating in Excel

Posted on 2014-03-27
6
Medium Priority
?
156 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
Independent Software Vendors: 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 2000 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

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

705 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