View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.misc
Bernie Deitrick Bernie Deitrick is offline
external usenet poster
 
Posts: 5,441
Default Yes/No Formula Help

JEremy,

It depends on how you want to handle blanks:

=IF(AND(A1<"",A1=0),"Yes","No")
or
=IF(A1="","", IF(A1=0,"Yes","No"))
or
=IF(A1=0,"Yes","No")

HTH,
Bernie
MS Excel MVP


"Jeremy" wrote in message
...
I am wanting to create a formula to where if 0 is in A1 B1 will say yes and
if there is anything else in A1, B1 would say No. Note: If there is no 0 in
a 1 it will be because someone typed text in it.

Thank you
Jeremy