Efficient Summing Across Tabs

mountainman88

Board Regular
Joined
Jun 22, 2019
Messages
109
Office Version
  1. 2016
Platform
  1. Windows
I have inherited a huge financials file with hundreds of country P&L tabs which pull from a data table. These country tabs are then summarised by identically laid out region tabs using a basic sum function linking to the relevant cells on the country tabs

Eg. EMEA region tab cell A1 = Sum(France!a1,Germany!a1,Italy!a1)

Using this method if i was to add another country to EMEA it would be very cumbersome to update every formula to for example = Sum(France!a1,Germany!a1,Italy!a1,Denmark!a1)

Ive tried using 3DSUM and SUMPRODUCT methods but they slow the sheet down too much. Can any one think of a way to update the SUM functions easily for additional country tabs added to a region?

Thanks
 
A agree with the database suggestions.
If the data is not too extensive, you may be able to use one Data sheet and a Report page.
With good data, you could use Pivot Tables, Filters, Excel formulas, etc.

or
You can consider the following that uses a named list of relevant sheets.

3d Sumif 2021.xlsm
A
1012
1112
Summary
Cell Formulas
RangeFormula
A10A10=SUMPRODUCT(N(INDIRECT("'"&Sheets&"'!A1")))
A11A11=SUMPRODUCT(N(INDIRECT("'"&Sheets&"'!"&CELL("address",A1))))
Named Ranges
NameRefers ToCells
Sheets=Summary!$F$2:$F$4A10:A11
I’ve used something like this before and unfortunately it will be too slow in the workbook I’m using. I tried this method and 3DSum with slow results.

Is there some VBA I could run that updates all the ‘total’ tabs based on a list of tabs it needs to sum.

Maybe I just click a button for that and it’s quicker?

Thanks
 
Upvote 0

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.

Forum statistics

Threads
1,215,006
Messages
6,122,666
Members
449,091
Latest member
peppernaut

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top