Auto Increment INDIRECT Column Reference

dwgnome

Active Member
Joined
Dec 18, 2005
Messages
441
The formula below sums across worksheets:

Code:
[COLOR="Navy"]=[SIZE="2"]SUMPRODUCT(SUMIF(INDIRECT("'"&T11:T18&"'!CE35"),">0"))[/SIZE][/COLOR]

Where T11:T18 houses the worksheet names. The formula works fine.

How can I get the CE35 to increment by one column to the right as I drag the formula to the right. That is CF35, CG35 etc.

Your assistance is appreciated.
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
Try this...

=SUMPRODUCT(SUMIF(INDIRECT("'"&$T11:$T18&"'!"&ADDRESS(ROW($CE35),COLUMN(CE35))),">0"))
 
Upvote 0
Both Aladin and #NAME's formulas work perfectly. Thank you gentlemen. :cool:

What I find amazing is that CELL (with "address" info type) acts like an increment source - similar to ROW or COLUMN. Yet could not have gathered that from Microsoft Help. It simply states "Returns information about the formatting, location, or contents of the upper-left cell in a reference."

Again thank you for that insight.
 
Upvote 0

Forum statistics

Threads
1,215,359
Messages
6,124,488
Members
449,165
Latest member
ChipDude83

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