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
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
Trevor Shuttleworth - Retired Excel/VBA Consultant
I dream of a better world where chickens can cross the road without having their motives questioned
'Being unapologetic means never having to say you're sorry' John Cooper Clarke
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks