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
You get only 4 collumn. You want to find a value in collumn 5 (E).
This is empty and so it returns zero.
Maybe that's the reason.
Notice my main language is not English.
I appreciate it, if you reply on my solution.
If you are satisfied with the solution, please mark the question solved.
You can add reputation by clicking on the star * add reputation.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks