Can I use NOT with COUNTIF?

J

JALunceford

Can I use NOT with COUNTIF?

I have a column with values of "Complete" an "Not Complete". I don't want
to add the "Not Complete" in the count. I've racked my brains for a few
hours now and can't seem to get it right. I figured this would be simple,
but I'm stumped. I'm not sure if this is the right formula to use since NOT
returns TRUE or FALSE. Please help.

Column F
Row 3 Complete
Row 4 Not Complete

=COUNTIF(F3:F4,NOT("Not Complete"))

I'm looking for a result of 1.

Thanks,
Jake
 
P

Per Jessen

Hi

=COUNTIF(F3:F4,<>"Not Complete")

Or maybe better:

=COUNTIF(F3:F4,="Complete")


Hopes this helps.
 
F

FSt1

hi
confused. try this and see if it's what you want.....
=COUNTIF(F3:F4,"Complete")

or did i misunderstand.
Regards
FSt1
 
P

Per Jessen

Forget my last post.

=COUNTIF(F3:F4,"Complete")

Or if you want to count entires different from Not Complete you can use
this:

=SUMPRODUCT(--(F3.F4<>"Not Complete"))

Best regards,
Per
 
P

PJ

Can I use NOT with COUNTIF?

I have a column with values of "Complete" an "Not Complete".  I don't want
to add the "Not Complete" in the count.  I've racked my brains for a few
hours now and can't seem to get it right.  I figured this would be simple,
but I'm stumped.  I'm not sure if this is the right formula to use since NOT
returns TRUE or FALSE.  Please help.

              Column F
Row 3     Complete
Row 4     Not Complete

=COUNTIF(F3:F4,NOT("Not Complete"))

I'm looking for a result of 1.

Thanks,
Jake

Something along the lines of this?
=COUNTIF(E5:E6,"<>"&"Not Complete")
 
P

PJ

Something along the lines of this?
=COUNTIF(E5:E6,"<>"&"Not Complete")- Hide quoted text -

- Show quoted text -
Sorry should be
=COUNTIF(F3:F4,"<>"&"Not Complete")-
 
T

T. Valko

Try it like this:

=COUNTIF(F3:F4,"<>Not Complete")

The <> operator means "not equal to".

Note that it will count all cells not equal to Not Complete and this
includes empty/blank cells.
 

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