#1   Report Post  
Posted to microsoft.public.excel.misc
Wonder
 
Posts: n/a
Default If Statements

I am trying to create an IF statement but I can't get it to work. I
want it to say: IF Cell E4=0 and Cell F4=C, value if true, value if
false.
I don't know how to type the formula to make it work.

  #2   Report Post  
Posted to microsoft.public.excel.misc
CLR
 
Posts: n/a
Default If Statements

=IF(AND(E4=0,F4="c"),"TRUE, the conditions exist","FALSE, the conditions do
not exist")

hth
Vaya con Dios,
Chuck, CABGx3



"Wonder" wrote:

I am trying to create an IF statement but I can't get it to work. I
want it to say: IF Cell E4=0 and Cell F4=C, value if true, value if
false.
I don't know how to type the formula to make it work.


  #3   Report Post  
Posted to microsoft.public.excel.misc
guilbj2
 
Posts: n/a
Default If Statements


Give this a try...

=IF(AND(E4=0,F4="C"),Value if True, Value if False)


--
guilbj2
------------------------------------------------------------------------
guilbj2's Profile: http://www.excelforum.com/member.php...fo&userid=6043
View this thread: http://www.excelforum.com/showthread...hreadid=556919

  #4   Report Post  
Posted to microsoft.public.excel.misc
Wonder
 
Posts: n/a
Default If Statements


This is what I did:

=IF(AND(E4=0,F4="C"),"Y","N")

But I am getting N if True and Y if false....I want it the other way.
W

What am I doing wrong??

  #5   Report Post  
Posted to microsoft.public.excel.misc
CLR
 
Posts: n/a
Default If Statements

Your formula reads thusly:........."if both conditions exist at the same
time, then display Y, otherwise display N"............if you wish the
displays reversed, just reverse the positions of your Y and N.......

=IF(AND(E4=0,F4="C"),"N","Y")

Vaya con Dios,
Chuck, CABGx3



"Wonder" wrote:


This is what I did:

=IF(AND(E4=0,F4="C"),"Y","N")

But I am getting N if True and Y if false....I want it the other way.
W

What am I doing wrong??


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
Creating my own user defined function help statements Craig Excel Worksheet Functions 2 February 22nd 06 04:51 PM
UDFunctions and nested If-the-else statements JDB Excel Worksheet Functions 1 January 25th 06 03:29 PM
Linking two IF statements together trixma Excel Discussion (Misc queries) 2 September 29th 05 06:07 AM
Nested IF statements John Simons Excel Worksheet Functions 14 February 16th 05 06:17 AM
If statements Mark Excel Worksheet Functions 3 November 2nd 04 08:39 PM


All times are GMT +1. The time now is 03:45 AM.

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

About Us

"It's about Microsoft Excel"