Try:

=SUMPRODUCT(($D$2:$D$15="Cash")*($E$2:$E$15=1))

I tend to prefer:

=SUMPRODUCT(--($D$2:$D$15="Cash"),--($E$2:$E$15=1))

I usually end up coercing more values than I need to but, hey, it also usually works.


Regards, TMS