[mso] Re: Using =IF(AND not working as I think it should- Exc el 2000

Also note that you do not need the "=true"

The AND() function will only return true if all of its arguments are true

Regards
Norman Pearce 
IT Training Manager
Ealing Hospital NHS Trust 
UK
Developing the foundations for your success
 
-----Original Message-----
From: Thornton, Dennis (Sudbury) [mailto:dthornton@xxxxxxxx] 
Sent: 20 December 2005 11:53
To: 'mso@xxxxxxxxxxxxx'
Subject: [mso] Re: Using =IF(AND not working as I think it should- Exc el
2000

=IF(AND(C3=29,G3=0)=TRUE,"Ly Problem","ok")
---------------------------------
In my sheet,
C3 contains the value 29 it obtained from a drop down list.
E3 also contains the value 29 it obtained from a drop down list.
G3 contains the value 0 (Zero).
H3 contains the value 0 (Zero).

I tried to put an =IF(AND(... statement and it is baffling me. In I3, I
said:
=IF((AND((C3=29,G3=0)),"LY PROBLEM","OK")

Didn't work, so I tried:
=IF(AND(((C3=29),(G3=0))),"LY PROBLEM","OK")

I get Invalid Statement.

Does anyone see my mistake? I just don't, maybe I have looked at it too
*************************************************************
You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or
MicrosoftOffice@xxxxxxxxxxxxxxxx

To send mail to the group, simply address it to mso@xxxxxxxxxxxxx

To Unsubscribe from this group, send an email to 
mso-request@xxxxxxxxxxxxx with the word "unsubscribe" (without the quotes)
in the subject line.

Or, visit the group's homepage and use the dropdown menu.  This will also
allow you to change your email settings to digest or vacation (no mail).
http://www.freelists.org/webpage/mso

To be able to use the files section for sharing files with the group, send a
request to mso-moderators@xxxxxxxxxxxxx and you will be sent an invitation
with instructions.  Once you are a member of the files group, you can go
here to upload/download files:

http://www.smartgroups.com/vault/msofiles
*************************************************************
*************************************************************
You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or 
MicrosoftOffice@xxxxxxxxxxxxxxxx

To send mail to the group, simply address it to mso@xxxxxxxxxxxxx

To Unsubscribe from this group, send an email to 
mso-request@xxxxxxxxxxxxx with the word "unsubscribe" (without the quotes) in 
the subject line.

Or, visit the group's homepage and use the dropdown menu.  This will also allow 
you to change your email settings to digest or vacation (no mail).
http://www.freelists.org/webpage/mso

To be able to use the files section for sharing files with the group, send a 
request to mso-moderators@xxxxxxxxxxxxx and you will be sent an invitation with 
instructions.  Once you are a member of the files group, you can go here to 
upload/download files:
http://www.smartgroups.com/vault/msofiles
*************************************************************

Other related posts: