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

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.

StephenCrump

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

mikerickson

MrExcel MVP
Joined
Jan 15, 2007
Messages
22,967
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,090,334
Messages
5,413,847
Members
403,504
Latest member
rosebo

This Week's Hot Topics

Top