+ Reply to Thread
Results 1 to 5 of 5

Two Conditions Function

  1. #1
    Karthik
    Guest

    Re: Two Conditions Function

    Hi
    You will get "Late Return" only when the difference between today and
    the return date is greater than or equal to 6 days.

    Example

    Borrow Date Return Date Remarks
    27-Jun-05 22-Jun-05 Late Return
    28-Jun-05
    1-Jul-05

    the formula in C2 is the same
    =IF(TODAY() - B2>=6, "Late Return","")

    Thanks
    Karthik Bhat
    Bangalore


  2. #2
    Roger Govier
    Guest

    Re: Two Conditions Function

    Try
    =IF(AND(B2="",TODAY()-A2>=6),"Late Return",IF(B2-A2>=6,"Late Return",""))

    --
    Regards

    Roger Govier


    "Freshman" <[email protected]> wrote in message
    news:[email protected]...
    > Dear all,
    >
    > I've a table below:
    >
    > Borrow Date Return Date Remarks
    > 27 Jul 05
    > 28 Jul 05
    > 31 Jul 05
    >
    > I want to set a function at cell C2 such that =IF(TODAY() - B2>=6, "Late
    > Return",""). However, if I fill in a date at "Return Date" column, then
    > the
    > wording of "Late Return" at cell C2 will not be shown.
    >
    > Please advise what are combination functions for the above two conditions
    > at
    > cell C2.
    >
    > Thanks in advance.




  3. #3
    Freshman
    Guest

    Two Conditions Function

    Dear all,

    I've a table below:

    Borrow Date Return Date Remarks
    27 Jul 05
    28 Jul 05
    31 Jul 05

    I want to set a function at cell C2 such that =IF(TODAY() - B2>=6, "Late
    Return",""). However, if I fill in a date at "Return Date" column, then the
    wording of "Late Return" at cell C2 will not be shown.

    Please advise what are combination functions for the above two conditions at
    cell C2.

    Thanks in advance.

  4. #4
    Karthik
    Guest

    Re: Two Conditions Function

    Hi
    You will get "Late Return" only when the difference between today and
    the return date is greater than or equal to 6 days.

    Example

    Borrow Date Return Date Remarks
    27-Jun-05 22-Jun-05 Late Return
    28-Jun-05
    1-Jul-05

    the formula in C2 is the same
    =IF(TODAY() - B2>=6, "Late Return","")

    Thanks
    Karthik Bhat
    Bangalore


  5. #5
    Roger Govier
    Guest

    Re: Two Conditions Function

    Try
    =IF(AND(B2="",TODAY()-A2>=6),"Late Return",IF(B2-A2>=6,"Late Return",""))

    --
    Regards

    Roger Govier


    "Freshman" <[email protected]> wrote in message
    news:[email protected]...
    > Dear all,
    >
    > I've a table below:
    >
    > Borrow Date Return Date Remarks
    > 27 Jul 05
    > 28 Jul 05
    > 31 Jul 05
    >
    > I want to set a function at cell C2 such that =IF(TODAY() - B2>=6, "Late
    > Return",""). However, if I fill in a date at "Return Date" column, then
    > the
    > wording of "Late Return" at cell C2 will not be shown.
    >
    > Please advise what are combination functions for the above two conditions
    > at
    > cell C2.
    >
    > Thanks in advance.




+ 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