+ Reply to Thread
Results 1 to 2 of 2

Nested IF statement 3 conditions 3 outcomes

  1. #1
    Registered User
    Join Date
    11-16-2008
    Location
    Dubai
    Posts
    73

    Nested IF statement 3 conditions 3 outcomes

    Hi all

    I have a simple table with columns A B and C i am looking for an IF statement that if their is a value in Column A greater than 1 return 1 in Column D, If their is a value in column A and B greater than 1 return 2 in Column D and if their is a value in Column A B & C greater than 1 it will return 3 in Column D.

    Fairly straight forward but is causing me a problem.

    Can anyone help
    Last edited by Nick_in_Dubai; 03-16-2009 at 02:22 AM.

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Nested IF statement 3 conditions 3 outcomes

    Perhaps:

    =IF(AND(A1>1,B1>1,C1>1),3,IF(AND(A1>1,B1>1),2,IF(A1>1,1,0)))

+ 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