Alternative to Indirect for relative referenced formula

BDrew

Board Regular
Joined
Jun 8, 2008
Messages
78
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.
 

mikerickson

MrExcel MVP
Joined
Jan 15, 2007
Messages
22,814
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.
 

BDrew

Board Regular
Joined
Jun 8, 2008
Messages
78
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
 

Forum statistics

Threads
1,082,576
Messages
5,366,419
Members
400,888
Latest member
Cdim7

Some videos you may like

This Week's Hot Topics

Top