J
JimS
=IF(B3="ALL",SUMPRODUCT(--(G18:G3000=C3),(J18:J3000)),IF(C3="ALL",SUMPRODUCT(--(H18:H3000=B3),(J18:J3000)),IF(B3="ALL",IF(C3="ALL",SUM(J18:J3000)))))
The first two parts of this formula work fine. If B3= all or if
C3=all, I get the desired result, but if I want both cells to = all
then I get $0.00 for an answer.
The first two parts of this formula work fine. If B3= all or if
C3=all, I get the desired result, but if I want both cells to = all
then I get $0.00 for an answer.