=sumproduct((a1:a5="apples")*(b1:b5=0)*(b1:b5))
sums items in b1:b5 =0 where corresponding entry in column a is
"apples"
--
duane
------------------------------------------------------------------------
duane's Profile:
http://www.excelforum.com/member.php...o&userid=11624
View this thread:
http://www.excelforum.com/showthread...hreadid=383010