#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 184
Default Yes/No Formula Help

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
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,276
Default Yes/No Formula Help

Hi,
if(and(A1=0,B1=0),"Yes","No")

"Jeremy" wrote:

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

  #3   Report Post  
Posted to microsoft.public.excel.misc
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



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default Yes/No Formula Help

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


If this post helps click Yes
---------------
Jacob Skaria


"Jeremy" wrote:

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

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 184
Default Yes/No Formula Help

Is this what I type in B1 and do I put a = in front of it?

Thank you for all of your help

"Eduardo" wrote:

Hi,
if(and(A1=0,B1=0),"Yes","No")

"Jeremy" wrote:

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



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 184
Default Yes/No Formula Help

Got it thank you all for your help

"Jeremy" wrote:

Is this what I type in B1 and do I put a = in front of it?

Thank you for all of your help

"Eduardo" wrote:

Hi,
if(and(A1=0,B1=0),"Yes","No")

"Jeremy" wrote:

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

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:14 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"