A list which don not include zero

M

Manos

Dear all

I have in column A accounts. In column C i have the values. Let's say that
all values should be zero.
The lines are more than 15.000.

I need to search all values in column C and find out if there is a value
different from zero.
I do not want ot use filters. I need a function in order to bring in a cell
the status OK all values are zero. (as check box for the user).
Any clever way to do it.
 
M

Ms-Exl-Learner

Try this…

=IF(COUNT(C:C)-COUNTIF(C:C,0)=0,"OK","NOT OK")

OR

=IF(COUNTA(C:C)-COUNTIF(C:C,0)=0,"OK","NOT OK")

Remember to Click Yes, if this post helps!
 
B

Bernd P

Hello,

Array-enter in Excel 2007:
=IFERROR(MATCH(TRUE,C:C<>0,0),"OK")

Any version before array-enter:
=IF(ISERROR(MATCH(TRUE,C:C<>0,0)),"OK",MATCH(TRUE,C:C<>0,0))

This will give an OK if and only if all values are 0 - or the row
number of the first cell <> 0

Regards,
Bernd
 
M

Manos

Thank you very much

Ms-Exl-Learner said:
Try this…

=IF(COUNT(C:C)-COUNTIF(C:C,0)=0,"OK","NOT OK")

OR

=IF(COUNTA(C:C)-COUNTIF(C:C,0)=0,"OK","NOT OK")

Remember to Click Yes, if this post helps!
 

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