try this
=SUMPRODUCT((NOT(ISERROR(FIND("foo",$B$1:$B$700))) )*($D$1:$D$700=""))
--
duane
------------------------------------------------------------------------
duane's Profile:
http://www.excelforum.com/member.php...o&userid=11624
View this thread:
http://www.excelforum.com/showthread...hreadid=379321