Count If

M

Mike H

Hi,

Like this

=COUNTIF(A1:A20,"<>Something")

Change something to whatever you want

same for checking numbers in a range

=COUNTIF(A1:A20,"<>2")

mike
 
J

Jacob Skaria

'If you mean a value;
=COUNTIF(A1:A10,"<>5")
=COUNTIF(A1:A10,"<>YES")

'If you mean blank
=COUNTBLANK(A1:A10)

If this post helps click Yes
 
P

p45cal

Eán;488808 said:
Can I do a count formula to say 'count if does not contain'?

Many thanks

Eán
Well I took 'contain' literally, so looked for a string withi
strings.
Case Sensitive:
=SUMPRODUCT(--(ISERROR(FIND("Get",C12:C18))))

Case insensitive:
=SUMPRODUCT(--(ISERROR(SEARCH("Get",C12:C18)))
 
J

Jacob Skaria

You can use COUNTIF() itself as;

=COUNTIF(A:A,"<>*YES*")

If this post helps click Yes
 

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