+ Reply to Thread
Results 1 to 3 of 3

Combining 3 IF/AND statements with OR

  1. #1
    Registered User
    Join Date
    10-08-2012
    Location
    Indiana
    MS-Off Ver
    Office 2013
    Posts
    40

    Combining 3 IF/AND statements with OR

    I need to combine the following statements and am getting stuck:

    IF W36="Constant Value"

    AND...

    W38="Value1" OR...
    W38="Value2" OR...
    W38="Value3"

    Enter "X", Else "Y"

    Thanks in advance!

  2. #2
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Combining 3 IF/AND statements with OR

    Try

    =IF(AND(OR(W38={1,2,3}),W36=32),"X","Y")

    Note: I replaced your "values" with real values because I assumed they are numbers.
    Last edited by jeffreybrown; 11-25-2012 at 12:54 AM.
    HTH
    Regards, Jeff

  3. #3
    Registered User
    Join Date
    10-08-2012
    Location
    Indiana
    MS-Off Ver
    Office 2013
    Posts
    40

    (SOLVED) Combining 3 IF/AND statements with OR

    Perfect, thanks!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1