+ Reply to Thread
Results 1 to 4 of 4

Date range in Year Month and Day

  1. #1
    Registered User
    Join Date
    02-21-2015
    Location
    London
    MS-Off Ver
    2010
    Posts
    64

    Date range in Year Month and Day

    Hi All,

    Need to calculate the No of Year, Month & Days.

    For Example
    Date of Joining 19-Jan-2003
    Date of Leaving 10-Dec-2014

    The Days difference is 11 years, 10 months, 21 days. However i need formula to show like above.

    Attached excel sheet for reference.

    Thanks In advance.
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,916

    Re: Date range in Year Month and Day

    Try this:

    =DATEDIF(A2,B2,"y")&" years "&DATEDIF(A2,B2,"ym")&" months "&DATEDIF(A2,B2,"md")&" days"
    Attached Files Attached Files
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    02-21-2015
    Location
    London
    MS-Off Ver
    2010
    Posts
    64

    Re: Date range in Year Month and Day

    Thank you very much. It got resolved

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,916

    Re: Date range in Year Month and Day

    You're welcome.

    If that takes care of your original question, please choose Thread Tools from the menu link above and mark this thread as SOLVED.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Extracting Date (year,month,day) from cell with Date (year,month,day,time)
    By TheRobsterUK in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-16-2020, 01:58 PM
  2. Replies: 3
    Last Post: 06-26-2019, 11:46 AM
  3. Replies: 9
    Last Post: 10-08-2015, 01:50 PM
  4. [SOLVED] Look up month and year value using ID # and date (within a range)
    By ryanpetersen in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-28-2014, 02:17 AM
  5. [SOLVED] SUM a range if the DATE is in the same MONTH and YEAR, AND is from the same acount
    By james goulding in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-15-2014, 07:18 AM
  6. Need to convert Month/Date/Year to Year/Month/Date so excel will recognize
    By juliettelam in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-25-2014, 04:17 PM
  7. Locate month n year from range of date
    By Rao Ratan Singh in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 03-02-2006, 05:20 AM

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