+ Reply to Thread
Results 1 to 4 of 4

Age Calculate & Round

  1. #1
    Registered User
    Join Date
    03-15-2018
    Location
    Egypt
    MS-Off Ver
    2007
    Posts
    4

    Question Age Calculate & Round

    Dear All

    Thanks to note I would like to calculate the age as of today but with rounding up if the age is reached number of months 6
    In addition to calculate how many days is remaining to reach the next rounding up

    Example
    • Birth Date 01-Oct-2000 current age is 17 year and 5 months , so it is considered 17 year with remaining days for next rounding is 15 day
    • Birth Date 01-Sep-2000 current age is 17 year and 6 months, so it is considered 18 year with remaining days for next rounding is 181 day

    Regards

  2. #2
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,908

    Re: Age Calculate & Round

    Try this ...

    =DATEDIF(A1,TODAY(),"y")+(DATEDIF(A1,TODAY(),"ym")>5)

  3. #3
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,908

    Re: Age Calculate & Round

    Or try:

    =MROUND(DATEDIF(A1,TODAY(),"m"),12)/12

  4. #4
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,879

    Re: Age Calculate & Round

    https://www.mrexcel.com/forum/micros...ate-round.html

    Your post does not comply with Rule 8 of our Forum RULES. Do not crosspost your question on multiple forums without including links here to the other threads on other forums.

    Cross-posting is when you post the same question in other forums on the web. The last thing you want to do is waste people's time working on an issue you have already resolved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser) to the cross-post.

    Expect cross-posted questions without a link to be closed and a message will be posted by the moderator explaining why. We are here to help so help us to help you!

    Read this to understand why we ask you to do this, and then please edit your first post to include links to any and all cross-posts in any other forums (not just this site).
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

+ 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. Replies: 2
    Last Post: 12-06-2014, 01:58 PM
  2. [SOLVED] Multiple IF's to calculate price based on cost and add handling charge and round price
    By RoyRose in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 10-13-2014, 01:18 PM
  3. Replies: 2
    Last Post: 06-13-2014, 10:07 PM
  4. Choose a Random Cell, Calculate Formula & Round
    By pugsly8422 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-20-2014, 09:59 AM
  5. Calculate years between 2 dates but need it to round down
    By unsnz in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-13-2013, 09:54 AM
  6. Replies: 2
    Last Post: 04-09-2010, 04:43 PM
  7. [SOLVED] Calculate and round retail priceing
    By Jonathan Clark in forum Excel General
    Replies: 2
    Last Post: 03-21-2006, 05:45 PM

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