Alternative to Indirect for relative referenced formula

BDrew

Board Regular
Joined
Jun 8, 2008
Messages
79
I am seeking to find the Instance of errors in each of 60 columns of data with a variable row limit.

This formula works for me in one column:

=SUMPRODUCT(--ISERROR(INDIRECT("AX$7:AX$"&BuildLimit)))

where BuildLimit is a variable Named Constant say: 2000

I do not look forward to editing 60 formulas to adjust the Column from A:BH.
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
Try

=SUMPRODUCT(--ISERROR(INDEX($1:$10000, 7 , colNum):INDEX($1:$10000, BuildLimit, colNum)))


where ColNum is a named value defined by =COLUMN(AX$1)

As you drag the formula right, the value of colNum will change as will the column being investigated.
 
Upvote 0
Try

=SUMPRODUCT(--ISERROR(INDEX($1:$10000, 7 , colNum):INDEX($1:$10000, BuildLimit, colNum)))


where ColNum is a named value defined by =COLUMN(AX$1)

As you drag the formula right, the value of colNum will change as will the column being investigated.

Thank You, gentlemen. That is totally workable and both techniques have merit.

Brendan
 
Upvote 0

Forum statistics

Threads
1,213,529
Messages
6,114,155
Members
448,554
Latest member
Gleisner2

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