+ Reply to Thread
Results 1 to 4 of 4

Calculating the difference in dates

  1. #1
    Registered User
    Join Date
    09-24-2007
    Posts
    3

    Calculating the difference in dates

    In one column I have the hire date of our employees, in the column next to it I would like to calculate how long the person has been here.

    Name | Hire Date | Time Hired
    Joe |7-15-07 | 4mths 1day
    Sue | 5-26-99 | 8yrs 5mths 21days

    something to this effect.

    thank you for your advice and help in advance.

  2. #2
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    Try this,

    DATEDIF(B2,NOW( ),"y") & " years, " & DATEDIF(B2,NOW( ),"ym") & " months, " & DATEDIF(B2,NOW( ),"md") & " days"
    oldchippy
    -------------


    Blessed are those who can give without remembering and take without forgetting

    If you are happy with the help you have received, please click the <--- STAR icon on the left - Thanks.

    Click here >>> Top Excel links for beginners to Experts

    Forum Rules >>>Please don't forget to read these

  3. #3
    Registered User
    Join Date
    09-24-2007
    Posts
    3
    many thanks that worked like a charm!

  4. #4
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    Glad to hear it - thanks for the feedback

+ 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