Countif

  • Thread starter Thread starter Carroll
  • Start date Start date
C

Carroll

Need help...

I have several columns of information. I need to: =countif(columnA,"<>X")
AND if (columnB,"=M")

What syntax do I use?
 
=SUMPRODUCT(--(A1:A100<>"X"),--(B1:B100="M"))

You can add more columns ...

Change 1 and 100 to your first and last row...
 
Thank You!! I worked perfectly.
--
Carroll


Sheeloo said:
=SUMPRODUCT(--(A1:A100<>"X"),--(B1:B100="M"))

You can add more columns ...

Change 1 and 100 to your first and last row...
 
Hi,

If you are using 2007:

=COUNTIFS(A1:A100,"<>X",B1:B100,"M")
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top