Computing.Net > Forums > Office Software > Excel IF equation

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Excel IF equation

Reply to Message Icon

Name: mladams
Date: August 21, 2006 at 06:32:54 Pacific
OS: Excel 2003
CPU/Ram: Intel 2.4GHtz 1Gig RAM
Comment:

I'm using Excel 2003 and would like to know if there is any way to use an OR function along with the IF function. An example would be:
IF(B2=1 OR 2,3,4)
I have far to many conditions and I may have to rethink my approach but I thought I would see if this is a possibility.



Sponsored Link
Ads by Google

Response Number 1
Name: Jennifer SUMN
Date: August 21, 2006 at 06:44:27 Pacific
Reply:

You'd need to do a nested IF. IF statements are If this this true, then do this, ELSE do this.

A Nested IF is the way to go.

Life is more painless for those who are brainless.


0

Response Number 2
Name: Michael J (by mjdamato)
Date: August 21, 2006 at 23:10:52 Pacific
Reply:

You don't need a nested If statement, there is a operator for the OR operand.

=IF(OR(B2=1,B2=2,B2=3,B2=4),"true","false")

Michael J


0

Response Number 3
Name: Jennifer SUMN
Date: August 22, 2006 at 15:47:36 Pacific
Reply:

Oops. I stand corrected. :)

Life is more painless for those who are brainless.


0

Response Number 4
Name: Michael J (by mjdamato)
Date: August 22, 2006 at 16:24:36 Pacific
Reply:

No problem I had used the AND statement for the first time earlier that day. When I saw this message I figured there had to be a similar OR statement and checked the help file.

Michael J


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Office Software Forum Home


Sponsored links

Ads by Google


Results for: Excel IF equation

Microsoft Excel IF Statement www.computing.net/answers/office/microsoft-excel-if-statement/4444.html

Excel IF Statement Help Needed www.computing.net/answers/office/excel-if-statement-help-needed/7417.html

Excel IF Statement www.computing.net/answers/office/excel-if-statement/7742.html