Yes/No Formula Help

  • Thread starter Thread starter Jeremy
  • Start date Start date
J

Jeremy

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
 
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
 
Is this what I type in B1 and do I put a = in front of it?

Thank you for all of your help
 

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

Back
Top