Summing across multiple sheets using indirect

Barren_Wuffett

New Member
Joined
Aug 6, 2019
Messages
18
Hi all, trying to sum up across multiple sheets. Caveat: the cells being added up are all the same cell address as the active cell, just on different sheets. My troubles: I'd like to be able to insert rows or columns across all tabs and have the formula adjust to always be summing the equivalent cell addresses on those tabs. Example below. I'd like to sum from the Pricing >>> tab to the <<< Pricing tab, and if the active cell is B7, I'd like to sum up all B7s across that sheet range.

Thoughts?

1635382718635.png
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
If you wish to get the value from same active cell from sheet "Pricing":
In B7:
=INDIRECT("'Pricing'!"&ADDRESS(ROW(),COLUMN()))

If you wish to sum of range from sheet "Price", i.e, B7:D7 (3 columns from column B)
In B7:
=SUMPRODUCT(SUBTOTAL(9,INDIRECT("'Pricing'!"&ADDRESS(ROW(),COLUMN()+{0,1,2}))))
Book1
AB
7133
Sheet1
Cell Formulas
RangeFormula
A7A7=INDIRECT("'Pricing'!"&ADDRESS(ROW(),COLUMN()))
B7B7=SUMPRODUCT(SUBTOTAL(9,INDIRECT("'Pricing'!"&ADDRESS(ROW(),COLUMN()+{0,1,2}))))


Below image is sheet Pricing:
Book1
ABCD
71101112
Pricing


BTW, my Excel 2016 does not allow ":" in tab's name. I have no idea how you can do that.
 
Upvote 0
If you wish to get the value from same active cell from sheet "Pricing":
In B7:
=INDIRECT("'Pricing'!"&ADDRESS(ROW(),COLUMN()))

If you wish to sum of range from sheet "Price", i.e, B7:D7 (3 columns from column B)
In B7:
=SUMPRODUCT(SUBTOTAL(9,INDIRECT("'Pricing'!"&ADDRESS(ROW(),COLUMN()+{0,1,2}))))
Book1
AB
7133
Sheet1
Cell Formulas
RangeFormula
A7A7=INDIRECT("'Pricing'!"&ADDRESS(ROW(),COLUMN()))
B7B7=SUMPRODUCT(SUBTOTAL(9,INDIRECT("'Pricing'!"&ADDRESS(ROW(),COLUMN()+{0,1,2}))))


Below image is sheet Pricing:
Book1
ABCD
71101112
Pricing


BTW, my Excel 2016 does not allow ":" in tab's name. I have no idea how you can do that.
Thanks. But the ":" means I'm summing across multiple sheets. That's the issue. The ":" isn't in the tab name, it indicates that I am taking the sum of the same cell across multiple tabs.

So the issue still stands
 
Upvote 0
OK, I got it.

Book1
B
19
211
313
415
517
619
721
Sheet1
Cell Formulas
RangeFormula
B1:B7B1=SUM('Pricing>>>:Pricing<<<'!B1)


Sheet Pricing>>>
Book1
B
11
22
33
44
55
66
77
Pricing>>>


Sheet Pricing<<<
Book1
B
18
29
310
411
512
613
714
Pricing<<<
 
Upvote 0

Forum statistics

Threads
1,224,818
Messages
6,181,152
Members
453,021
Latest member
Justyna P

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