There's no need to use -- if you're going to multiply the arrays before
you pass the result to SUMPRODUCT.
See
http://www.mcgimpsey.com/excel/doubleneg.html
In article , <Andy B wrote:
I reckon SUMPRODUCT is what you need. Something like
=SUMPRODUCT(--(A2:A1000="DO")*--(B2:B1000="RD11"))