• How Do I convert days counts in to #Year, #Months, #Days

    On the my colleague walked up to me and asked

    Vikash, How Do I convert days counts in to #Year, #Months, #Days.    

    Like 689 to 1 Year, 10 Months, 24 Days.

    So i did some exercise and share a formula with him for the same and sharing with public also. I hope it will helpful for others.
                                                                                                                                                    Suppose that your days count is in to the cell A2
    convert days counts in to year, months, days

    Then formula will be:-
    =INT(A2/365)&" Years, "&INT((A2-(INT(A2/365)*365))/30)&" Months, "&A2-(INT(A2/365)*365)-(INT((A2-(INT(A2/365)*365))/30)*30)&" Days"

    Replace A2 with the required same. 

    Note: - A little error in with this formula, it will count only 30 days per month not 31 days.
  • 0 comments:

    Post a Comment

    GET A FREE QUOTE NOW

    Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.

    ADDRESS

    4759, NY 10011 Abia Martin Drive, Huston

    EMAIL

    contact-support@mail.com
    another@mail.com

    TELEPHONE

    +201 478 9800
    +501 478 9800

    MOBILE

    0177 7536213 44,
    017 775362 13