View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Don Guillett Don Guillett is offline
external usenet poster
 
Posts: 10,124
Default AND function using COUNTIF

=sumproduct((a2:a22="Walt")*(b2:b22="x"))

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Walter L. skinner" wrote in
message ...
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