Countif

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?
 
S

Sheeloo

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

You can add more columns ...

Change 1 and 100 to your first and last row...
 
C

Carroll

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...
 

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

Top