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

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.

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,966
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,119
Messages
5,412,544
Members
403,432
Latest member
cr2141

This Week's Hot Topics

Top