+ Reply to Thread
Results 1 to 4 of 4

Logical Formula

  1. #1
    Registered User
    Join Date
    10-19-2011
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    5

    Logical Formula

    Hi. I am trying to create a logical formula that returns "yes" or "no" for the following situation:

    Available Date in Service Date Returned
    No 1/2/2009
    Yes 1/2/2009 2/3/10
    Yes

    So if the item has not been returned it is not available; if it has been returned it is available, and if it hasn't been put in service or returned it is available.
    The formula I had been trying to use was:
    =IF((ISNUMBER(H2)),"yes","no")
    But that won't work for each situation.
    Any formula ideas?
    Last edited by Autumnattic; 10-19-2011 at 08:37 AM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Logical Formula

    Does this work?

    =IF(OR(B2="",C2>0),"Yes","No")

    where B2 is first cell in Date in Service column and C2 is first cell in Date Returned column.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    10-19-2011
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Logical Formula

    Yes! PERFECT! Thank you!!

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Logical Formula

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

+ 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