+ Reply to Thread
Results 1 to 4 of 4

IF Function with 3 outcomes

  1. #1
    Registered User
    Join Date
    02-29-2012
    Location
    Ireland
    MS-Off Ver
    Excel 2016
    Posts
    68

    IF Function with 3 outcomes

    Hi

    I have written the formula below into column C5 but its not quite right as when B5 is blank it still returns Pending...

    =IF(B5>"","",IF(Q5="","Pending","Shipped"))

    What I am trying to achieve is the following

    IF B5 is blank then C5 will be blank
    IF Q5 is populated then C5 will state Shipped
    IF Q5 is not populated but B5 is then CS will state Pending

    Thanks for looking

  2. #2
    Valued Forum Contributor
    Join Date
    09-09-2009
    Location
    Liverpool, England
    MS-Off Ver
    W: 2021 H: 365
    Posts
    940

    Re: IF Function with 3 outcomes

    Hi McCaughley7,

    Try:

    =IF(B5="","",IF(Q5<>"","Shipped",IF(AND(B5<>"",Q5=""),"Pending","")))

    Regards,

    Snook
    Last edited by The_Snook; 07-06-2016 at 12:02 PM.

  3. #3
    Registered User
    Join Date
    02-29-2012
    Location
    Ireland
    MS-Off Ver
    Excel 2016
    Posts
    68

    Re: IF Function with 3 outcomes

    Excellent - works perfect

    Thanks

  4. #4
    Valued Forum Contributor
    Join Date
    09-09-2009
    Location
    Liverpool, England
    MS-Off Ver
    W: 2021 H: 365
    Posts
    940

    Re: IF Function with 3 outcomes

    You're welcome, cheers for the rep points.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Using IF Function with AND and Multiple Outcomes
    By winninbird in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-17-2015, 09:27 PM
  2. IF function - two outcomes
    By Leahsco in forum Excel General
    Replies: 4
    Last Post: 08-06-2014, 11:29 AM
  3. If function with Three Possible Outcomes
    By cpalmer72 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 10-20-2013, 10:49 PM
  4. [SOLVED] An IF function with 4 outcomes
    By Lija in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-05-2013, 04:34 AM
  5. [SOLVED] If function with 3 outcomes. As well as 2nd IF function to factor positive or negitive
    By Danimal615 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-05-2013, 02:36 PM
  6. Help with IF function for 3 outcomes
    By randr in forum Excel General
    Replies: 3
    Last Post: 06-09-2012, 05:48 PM
  7. [SOLVED] IF function with 3 possible outcomes
    By lee_s in forum Excel General
    Replies: 4
    Last Post: 04-09-2012, 12:32 PM

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