Sum Cell in all Sheets - Without Cell#

AnetShe

New Member
Joined
Apr 27, 2017
Messages
20
HI all - any help would be amazing!
I've got a workbook with mulitple sheets and have a 'total' sheet were I am trying to sum the total of a cell across all the sheets.
I am stuck as I want to do this without having to reference that exact cell#, I want to use a table reference (or something?) if possible instead.
The formula I am using is =SUM(Sheet 1:Sheet 5'!AB6).
The AB6 cell is referring to the size XS cell for row# 6 - the issue is that the some columns in the sheet may be deleted, which is throwing off the total sheet.
Is an efficiant formula that can sum the size XS column, row 6 for in all sheets (sheets 1 to 5) without having to reference the cell# (eg. XS6?)

I've had a read and can't see anything - thank you for having a look!!
Let me know if I can help with anymore info.
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
Hi - AnetShe - Welcome to MrExcel !

Yes, this is possible through "Named Ranges" - set the column or cell you wish to reference and sum it through calling it... like the below.

=SUM(XS_1,XS_2,XS_3,XS_4)

Used XS_1 as named range for AB column on each sheets.

If any further help is required, please do share the scenario's for better understanding.
 
Upvote 0
Post some rows of your data using below xl2bb link.
 
Upvote 0
Hi - AnetShe - Welcome to MrExcel !

Yes, this is possible through "Named Ranges" - set the column or cell you wish to reference and sum it through calling it... like the below.

=SUM(XS_1,XS_2,XS_3,XS_4)

Used XS_1 as named range for AB column on each sheets.

If any further help is required, please do share the scenario's for better understanding.

Is using the name manager something that can be automated? I've got about 100 sizes and up to 2,000 rows for those sizes in a sheet and then could have up to 50 sheets. If it's manual that is a lot of naming!
 
Upvote 0
Okay. Have you tried it with INDIRECT function to return the total on your total sheet ?

for example, if you have sheets named : Total, Cal1, Cal2, Cal3 and so on... and each of your sheets holding the same value in AB6 (sum) - then,

SheetsValues
Cal1=INDIRECT(E2&"!AB6")
Cal2=INDIRECT(F2&"!AB6")
Cal3=INDIRECT(G2&"!AB6")

Here, E2, F2 & G2 referencing the sheets name.
 
Upvote 0
Post some rows of your data using below xl2bb link.
The form looks like this - all sheets are the same but:
- sheets names order 1 to order 10 have units entered in size column
- I need sheet names Total Orders to bring in the total units into each size column
- I don't want to reference the cell# because columns can be deleted in the sheets (sheet names order 1 to order 10), I want to reference only the column name (eg. XXXS)

1674242823191.png
 
Upvote 0
See if this helps:

Total Orders:

Book6
ABCDEFGHIJKL
1Look Book OrderCategoryStyle ColorTotal UnitsSize ScaleXXXSXXSXSSML
2LW2DPMS420000
3LW2DTOS8100000
4LW1EIBS000000
5
6
Total Orders
Cell Formulas
RangeFormula
F2:K4F2=SUM(SUMPRODUCT(('Order 1'!$B$2:$B$5=$B2)*('Order 1'!$F$1:$K$1=F$1)*'Order 1'!$F$2:$K$5),SUMPRODUCT(('Order 2'!$B$2:$B$5=$B2)*('Order 2'!$F$1:$K$1=F$1)*'Order 2'!$F$2:$K$5))



Order 1

Book6
ABCDEFGHIJK
1Look Book OrderCategoryStyle ColorTotal UnitsSize ScaleXXXSXXSXSSML
2LW2DPMS21
3LW2DTOS56
4LW1EIBS
5
6
Order 1


Order 2

Book6
ABCDEFGHIJKL
1Look Book OrderCategoryStyle ColorTotal UnitsSize ScaleXXXSXXSXSSML
2LW2DPMS21
3LW2DTOS34
4LW1EIBS
5
6
Order 2
 
Upvote 0

Forum statistics

Threads
1,214,587
Messages
6,120,405
Members
448,958
Latest member
Hat4Life

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