R
Richard Buttrey
I have an array formula of the usual form. i.e.
In say Cell B30 I have
=SUM(('Data'!D109999=A30)*('Data'!C10:C9999=test_cell)*('Data'!G10:G9999))
Where A 30 is a string value on the same sheet as the formula, and
test_cell is another cell on another sheet.
Everything is fine where A30 exists in the Data Sheet Range D109999.
However when the string in A30 does not exist, B30 returns a #Value!
How can I modify the array formula so that it evaluates to zero if A30
does not exist in the Data Sheet column D? I've tried building in an
If...Lookup formula test to see if it exists, as I would normally do
in an non array formula, but an array formula does not seem to like
this.
Has anyone any suggestions please.
Usual TIA
Rgds
Richard Buttrey
Grappenhall, Cheshire, UK
__________________________
In say Cell B30 I have
=SUM(('Data'!D109999=A30)*('Data'!C10:C9999=test_cell)*('Data'!G10:G9999))
Where A 30 is a string value on the same sheet as the formula, and
test_cell is another cell on another sheet.
Everything is fine where A30 exists in the Data Sheet Range D109999.
However when the string in A30 does not exist, B30 returns a #Value!
How can I modify the array formula so that it evaluates to zero if A30
does not exist in the Data Sheet column D? I've tried building in an
If...Lookup formula test to see if it exists, as I would normally do
in an non array formula, but an array formula does not seem to like
this.
Has anyone any suggestions please.
Usual TIA
Rgds
Richard Buttrey
Grappenhall, Cheshire, UK
__________________________