+ Reply to Thread
Results 1 to 7 of 7

Rounding Off Days converted to year, months an days

  1. #1
    Registered User
    Join Date
    07-03-2021
    Location
    KERALA
    MS-Off Ver
    ms office 2017
    Posts
    3

    Rounding Off Days converted to year, months an days

    Hi,

    My query is I have applied Dateif formula and converted days to years, months and days in excel.

    For ex: 2112 days converted to 5 years, 9 months and 12 days.

    I need the result as 6 years if the converted year exceeds 5 year and 6 months else the result as 5 year.

    How to do that, please help.

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,004

    Re: Rounding Off Days converted to year, months an days

    You have marked this as solved. Is it?
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Registered User
    Join Date
    07-03-2021
    Location
    KERALA
    MS-Off Ver
    ms office 2017
    Posts
    3
    Quote Originally Posted by Glenn Kennedy View Post
    You have marked this as solved. Is it?
    No my query is not solved

  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,719

    Re: Rounding Off Days converted to year, months an days

    Welcome to the forum.

    There are instructions at the top of the page explaining how to attach your sample workbook.
    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.

  5. #5
    Valued Forum Contributor
    Join Date
    06-23-2021
    Location
    Romania
    MS-Off Ver
    2021, 365 v 2208
    Posts
    722

    Re: Rounding Off Days converted to year, months an days

    For round years you can use a formula:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    if your number of days are in Cell B2
    Diana Tanase


    If the solutions offered helped you to solve your problem, then mark the thread as SOLVED (thread tools in the top menu) and you can click on * to add reputation to those who helped you, as a way to say thank you !

  6. #6
    Registered User
    Join Date
    07-03-2021
    Location
    KERALA
    MS-Off Ver
    ms office 2017
    Posts
    3

    Re: Rounding Off Days converted to year, months an days

    Thank You So Much

  7. #7
    Valued Forum Contributor
    Join Date
    06-23-2021
    Location
    Romania
    MS-Off Ver
    2021, 365 v 2208
    Posts
    722

    Re: Rounding Off Days converted to year, months an days

    You're very welcome! Now, you can mark the 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. [SOLVED] Years Minus Year Months Days
    By AusExcelNewb in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-19-2020, 10:18 PM
  2. [SOLVED] calculate total number of days between two days based on 365 days year
    By aparunkumar in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 03-14-2016, 12:51 AM
  3. rounding up days or months to the nearest year
    By PaulALC in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-13-2014, 06:35 AM
  4. Rounding days to Months
    By enna1949 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 11-28-2012, 02:08 AM
  5. Convert a multiple year list of 365 days/year into an equivalent of 360 days/year
    By lobotomy in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-24-2012, 05:39 PM
  6. Days into Months/Year
    By easycapital in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-30-2008, 06:59 PM
  7. i have two days and i want the difference in days, months, year
    By maja in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 04-21-2006, 08:14 PM

Tags for this Thread

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