+ Reply to Thread
Results 1 to 4 of 4

Calculating dates using the TODAY function

  1. #1
    Registered User
    Join Date
    10-05-2012
    Location
    pittsburg
    MS-Off Ver
    Excel 2010
    Posts
    3

    Angry Calculating dates using the TODAY function

    Okay sorry to harass you all, but I have homework due in 2 hours and I can't figure out how to nest this function properly.

    The instructions say: "Using the TODAY function and the date in Cell F5, enter a formula in Cell G5 to calculate the number of YEARS of service the employee has been with the company."

    The date in Cell F5 is "7/20/2009"

    Any possible help is much appreciated...

  2. #2
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,327

    Re: Calculating dates using the TODAY function

    See if this helps...

    http://www.cpearson.com/excel/datedif.aspx
    HTH
    Regards, Jeff

  3. #3
    Registered User
    Join Date
    10-05-2012
    Location
    pittsburg
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Calculating dates using the TODAY function

    doing =DATEDIF(TODAY(), F5, "Y") gives me the date "1/3/1900"

  4. #4
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,327

    Re: Calculating dates using the TODAY function

    Try turning those dates around...

    =DATEDIF(F5,TODAY(),"y")

    From Chip's site:
    The syntax for DATEDIF is as follows:

    =DATEDIF(Date1, Date2, Interval)

    Where:
    Date1 is the first date,
    Date2 is the second date,
    Interval is the interval type to return.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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