#1   Report Post  
Posted to microsoft.public.excel.misc
Portuga
 
Posts: n/a
Default If Statement - Basic


Bit of basic question.

If A1 = 0 then B1=No, else B1=Yes

How can I do this using an if statement?

Thanks


--
Portuga
------------------------------------------------------------------------
Portuga's Profile: http://www.excelforum.com/member.php...fo&userid=6385
View this thread: http://www.excelforum.com/showthread...hreadid=504091

  #2   Report Post  
Posted to microsoft.public.excel.misc
 
Posts: n/a
Default If Statement - Basic

Hi

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

Andy.

"Portuga" wrote in
message ...

Bit of basic question.

If A1 = 0 then B1=No, else B1=Yes

How can I do this using an if statement?

Thanks


--
Portuga
------------------------------------------------------------------------
Portuga's Profile:
http://www.excelforum.com/member.php...fo&userid=6385
View this thread: http://www.excelforum.com/showthread...hreadid=504091



  #3   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips
 
Posts: n/a
Default If Statement - Basic

In B1 enter =IF(A1,"Yes","No")

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"Portuga" wrote in
message ...

Bit of basic question.

If A1 = 0 then B1=No, else B1=Yes

How can I do this using an if statement?

Thanks


--
Portuga
------------------------------------------------------------------------
Portuga's Profile:

http://www.excelforum.com/member.php...fo&userid=6385
View this thread: http://www.excelforum.com/showthread...hreadid=504091



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


Similar Threads
Thread Thread Starter Forum Replies Last Post
SET statement tutorial Daminc Excel Discussion (Misc queries) 13 January 17th 06 04:47 PM
Linking to Visual Basic for Applications Help Files Glynn Excel Discussion (Misc queries) 0 October 8th 05 01:29 AM
If statement Matt Montagliano Excel Discussion (Misc queries) 1 September 8th 05 08:47 PM
Do I need a sumif or sum of a vlookup formula? PeterB Excel Worksheet Functions 0 June 1st 05 12:23 PM
IF Statement Brent New Users to Excel 3 April 29th 05 04:24 PM


All times are GMT +1. The time now is 01:12 AM.

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"