Sumproduct Formula to counts multiple criteria in two columns?

E

EricB

Hi

say:
Column A
Approved
Declined
Settled

Column B
System
Smart
EB
FT
NK

I need to count "Approved" in column 'A' if data in Column 'B' = EB,FT,NK
(excluding System & Smart)

When using <> to exclude 'System & Smart' the Sumproduct seems to count the
blank cells.

Regards
Ericb
 
B

Bob Phillips

Just add a test

=SUMPRODUCT(--(A2:A20="Approved"),--(B2:B20<>"Smart"),--(B2:B20<>"System"),--(B2:B20<>""))
 
Top