AND function using COUNTIF

  • Thread starter Walter L. skinner
  • Start date
W

Walter L. skinner

I would like to count entries in column "B" that equal a criteria and also
meet a criteria in column "A".

For EX:

If entry in column "A" equals "Walt" and entry in column "B" equals "x" then
count

Note: I think I had a solution a few years ago that used the -- function.

Please help me solve this again.

Thanks
 
G

Gav123

Hi Walter,

You could try something like this..


=SUMPRODUCT(--(A1:A1000="Walt"),--(B1:B1000="X"))

Hope this helps,

Gav.
 
D

David Biddulph

=SUMPRODUCT((A1:A100="Walt")*(B1:B100="x")) or
=SUMPRODUCT(--(A1:A100="Walt"),--(B1:B100="x"))
 
Top