That shouldn't give an error here, it just fails to match. You are more
likely to get a #VALUE! error if I2:I490 has a text item, try this
=SUMPRODUCT(--(D2:D490="John"),I2:I490)
--
HTH
Bob Phillips
(replace somewhere in email address with gmail if mailing direct)
"John21" wrote in
message ...
Hi
I have some problems with the function SUMPRODUCT, because when using
and expression like =SUMPRODUCT((D2:D490="John")*(I2:I490)) if there is
any empty cell it returns #VALUE so how do I set a condition for a
complete series of columns, something to eliminate de blank cells and
put 0 on it in orther to make the function works.
--
John21
------------------------------------------------------------------------
John21's Profile:
http://www.excelforum.com/member.php...o&userid=36983
View this thread: http://www.excelforum.com/showthread...hreadid=569994