Countif does not equal

  • Thread starter Thread starter JRD
  • Start date Start date
J

JRD

How to count the number of cells in a column which do not contain a certain
text string?
 
Alan Beban said:
More responsively,

=COUNTIF(A1:A100,"<>*apple*")

And on the off chance the OP wants case-sensitive matching, the array
formula

=COUNT(FIND("apple",range))
 
Funny thing with Excel 2003, using =countif(A1:A14,"Apple"), just doesn't seem to count at times,but changing it to "Apples" gets you a count? Is it a bug or is it about Microsoft and Apple?
 
Apple <> Apples

Try

=countif(A1:A14,"Apple*")
or
=countif(A1:A14,"*Apple*")

HTH,
Bernie
MS Excel MVP
 
Back
Top