+ Reply to Thread
Results 1 to 3 of 3

Calculating date in Decimal

  1. #1
    Registered User
    Join Date
    08-22-2012
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    1

    Calculating date in Decimal

    Hi Team,

    I am trying to calculate date as below.

    E5 = 11/1/2010
    C5 = =CONCATENATE(YEAR(TODAY()) - YEAR(E5), " Years")

    It shows result : 2 years... but i want it in decimal format... i.e. 1.10 years...

    Can someone help me on how to achieve this?

  2. #2
    Registered User
    Join Date
    08-21-2012
    Location
    Grimsby
    MS-Off Ver
    Excel 2007
    Posts
    10

    Re: Calculating date in Decimal

    Try:

    =ROUND((({Todays Date}-{Date you want to calculated years since})/365),2)


    The final 2 is the number of decimal places you want it to calculate to, not necessarily what will be displayed.

    RIch

  3. #3
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Calculating date in Decimal

    Why 1.1?

    Is 11/1/2010 the 11th January 2010 or 1st November 2010?

    In either case the year for E5 is 2010, and the year for today is 2012. Hence 2012-2010 = 2
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

+ 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