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.
 

Some videos you may like

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.

StephenCrump

Well-known Member
Joined
Sep 18, 2013
Messages
3,634
Office Version
365
Platform
Windows
One alternative: =SUMPRODUCT(--ISERROR(OFFSET(AX7,,,NoOfRows)))
 

mikerickson

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

Watch MrExcel Video

Forum statistics

Threads
1,089,880
Messages
5,410,935
Members
403,335
Latest member
ddaveryos

This Week's Hot Topics

Top