Sum referenced cells in Sheet range using SUM(INDIRECT()) #REF! ERROR

chappy

New Member
Joined
Jul 18, 2006
Messages
42
Office Version
  1. 365
Platform
  1. Windows
Hi

I would like to create a sum formula referencing cell ranges that are constructed from multiple cells (one cell for the sheet range, one for the column, on for the row). In the example pictured below I am attempting to sum a specific cell from all of the sheets between the "START" sheet and the "END" sheet. I would like to use cell references to define the ranges as I will have a large number of formulas built up in this way and it would be easier to control the structure. The sheet range will be static, but the columns and rows will change. I have attempted to use the following formula which results in a #REF! error:

Excel Formula:
=(SUM(INDIRECT($W$101&BE$74&W$92)))

Cell $W$101 is the sheet range "START:END"
Cell BE$74 is the column "LZ"
Cell W$92 is the row "153"

The formula works if entered directly as a formula without referencing the cells listed above
Excel Formula:
=SUM(START:END!LZ$153)
but not as I have attempted. I have tried to search through other posts in the forum but haven't been able to figure out what is causing the #REF! error.

Any assistance would be very much appreciated!

SUM(INDIRECT()).JPG
 
Ok, how about
Excel Formula:
=LET(v,VSTACK(Start:End!A1:LZ300),SUM(INDEX(v,SEQUENCE(ROWS(v)/300,,W92,300),BE74)))
Change BE74 to the cell that has the column number, so for col LZ it would have 338
 
Upvote 0
Solution

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
Thanks very much for your help. I will test a bit more using your solution.
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,224,818
Messages
6,181,150
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