+ Reply to Thread
Results 1 to 5 of 5

DATEDIF Formula

  1. #1
    Registered User
    Join Date
    04-24-2007
    Posts
    46

    DATEDIF Formula

    I am working on a pproject that I need a formula to count down contract dates. I have a column with the contract sign date and a cell (located at A1) will the current date. I need to be able to count down the remaining time left on each particular contract. Could someone share some info on a formula for this task please?

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

    =DATEDIF($A$1,B2,"d")

    where A1 house formula =TODAY()

    B2 house 1st contract date...

    copy formula down.

    Note, you can replace A1 in the formula with Today().
    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
    04-24-2007
    Posts
    46
    Thanks alot for the info.

    I believe I need to calculate in the contract length somewhere in this formula somehow. I do have a column that states the length. Most range from 3-5 years.


    It is giving me an error #NUM! in the formula cell (=DATEDIF,TODAY(),B2,"d"). I assume this is because it needs a contract length in order to determin the time remaining.

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Quote Originally Posted by kwright90
    Thanks alot for the info.

    I believe I need to calculate in the contract length somewhere in this formula somehow. I do have a column that states the length. Most range from 3-5 years.


    It is giving me an error #NUM! in the formula cell (=DATEDIF,TODAY(),B2,"d"). I assume this is because it needs a contract length in order to determin the time remaining.
    It should be =DATEDIF(TODAY(),B2,"d") where B2 is a date greater than or equal to today's date (i.e. in the future).

  5. #5
    Registered User
    Join Date
    04-24-2007
    Posts
    46
    Ok... Thanks alot!!

    B2 being the "Contract END Date"....

    Got it!!

+ 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