This seemed to work using your data.
=SUMPRODUCT(--(A1:A11="H"),--(C1:C11200),(D1:D11))
The total was 95,950.
Cheers,
Steve
--
SteveG
------------------------------------------------------------------------
SteveG's Profile:
http://www.excelforum.com/member.php...fo&userid=7571
View this thread:
http://www.excelforum.com/showthread...hreadid=496758