Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / General Excel Questions / May 2008

Tip: Looking for answers? Try searching our database.

IF AND OR BUT NOT SURE

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
tracktor - 20 May 2008 09:16 GMT
Not sure how to compile the formula to make this happen:

If cell A1 is TRUE then cell A3 =”X”, or if cell A2 is TRUE then cell A3=”Y”
if both cells A1 and A2 are FALSE then cell A3="Z"

Any help would be appreciated.
Bob Phillips - 20 May 2008 09:34 GMT
=IF(A1,"X",IF(A2,"Y","Z"))

Signature

---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

> Not sure how to compile the formula to make this happen:
>
> If cell A1 is TRUE then cell A3 ="X", or if cell A2 is TRUE then cell A3="Y"
> if both cells A1 and A2 are FALSE then cell A3="Z"
>
> Any help would be appreciated.
Ian Grega - 20 May 2008 09:46 GMT
Tracktor,

The following equation put in cell A3 works,

=IF(A1=TRUE,"X",IF(A2=TRUE,"Y","Z"))

With the following in cells A1 and A2

=AND(B1=C1)
=AND(B2=C2)

where B1=C1 etc can be changed to whatever condition you are evaluating.

Ian Grega

> Not sure how to compile the formula to make this happen:
>
> If cell A1 is TRUE then cell A3 =”X”, or if cell A2 is TRUE then cell A3=”Y”
> if both cells A1 and A2 are FALSE then cell A3="Z"
>
> Any help would be appreciated.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.