+ Reply to Thread
Results 1 to 3 of 3

If statement with 3 outcomes

  1. #1
    Registered User
    Join Date
    02-07-2014
    Location
    Norge
    MS-Off Ver
    Excel 2010
    Posts
    8

    If statement with 3 outcomes

    Hello

    Can someone help me with this issue.

    see attached excel workbook.

    I want a formula in the status columm (D) which returns me the text "CLOSED" "OVERDUE" "OPEN"


    1. if the due date and completed date is 0 it will say "closed"

    2. When the completed date is less than 0 i want it to say "closed"

    3 if the completed date does not have a completed date and is less than the due date "open"

    4. if the completed date does not have a completed date and is larger than the due date "Overdue"

    i have tried diffrent combinations of the if statement but i can not figure it out.
    Overdue Excel.xlsx

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: If statement with 3 outcomes

    Try this...

    In C2 Cell

    =IF(A2="","",IF(B2="",IF(TODAY()<=A2,"Open","Overdue"),IF((B2-A2)<1,"Closed","")))


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Registered User
    Join Date
    02-07-2014
    Location
    Norge
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: If statement with 3 outcomes

    Well that helped. Thank you

+ 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] IF Statement to return variable outcomes
    By Brebs69 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-25-2013, 02:13 AM
  2. [SOLVED] If statement three outcomes
    By Danimal615 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-05-2013, 02:36 PM
  3. Nested If statement for 3 outcomes
    By lmb23 in forum Excel General
    Replies: 2
    Last Post: 01-12-2011, 04:51 PM
  4. How to use an IF statement with multiple outcomes
    By Gooford in forum Excel General
    Replies: 6
    Last Post: 12-08-2009, 05:25 AM
  5. Nested IF statement 3 conditions 3 outcomes
    By Nick_in_Dubai in forum Excel General
    Replies: 1
    Last Post: 03-12-2009, 04:38 AM

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