+ Reply to Thread
Results 1 to 8 of 8

display number to year, mth and day

  1. #1
    Forum Contributor
    Join Date
    05-13-2006
    Location
    League City, TX
    MS-Off Ver
    2010
    Posts
    139

    display number to year, mth and day

    Hey whats up everyone? Hope all is well here in excel land.
    Alright here I go, I have a number (1.48) what can be used to display years, months and days?

    thx,
    mrggutz
    Last edited by mrggutz; 03-04-2011 at 10:28 AM.

  2. #2
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: display number to year, mth and day

    I don't quite understand what you need. Could you please provide an example?

  3. #3
    Forum Contributor
    Join Date
    05-13-2006
    Location
    League City, TX
    MS-Off Ver
    2010
    Posts
    139

    Re: display number to year, mth and day

    yes here is a sample.
    thx
    Attached Files Attached Files

  4. #4
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,712

    Re: display number to year, mth and day

    If you want A1+1.48 years then try

    =A1+B2*365.25

    format as date
    Audere est facere

  5. #5
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: display number to year, mth and day

    Something like this perhaps

    Please Login or Register  to view this content.
    Providing all months have 30 days

  6. #6
    Forum Contributor
    Join Date
    05-13-2006
    Location
    League City, TX
    MS-Off Ver
    2010
    Posts
    139

    Re: display number to year, mth and day

    ya that will display a date to completion thats good too, still would like it to have it display year, month and day thou.

    thx

  7. #7
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,712

    Re: display number to year, mth and day

    see Arthurbr's suggestion or perhaps

    =INT(B2)&" yrs "&DATEDIF(0,B2*365,"ym")&" mths "&DATEDIF(0,B2*365,"md")&" days"

  8. #8
    Forum Contributor
    Join Date
    05-13-2006
    Location
    League City, TX
    MS-Off Ver
    2010
    Posts
    139

    Re: display number to year, mth and day

    Man ya are awesome thats why I come here thx guys and have a great weekend.

+ 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