+ Reply to Thread
Results 1 to 8 of 8

round time to nearest 15mins e.g. 16:12 to 16:15

  1. #1
    Registered User
    Join Date
    01-25-2010
    Location
    Gainesville, Fl
    MS-Off Ver
    Excel 2007
    Posts
    2

    round time to nearest 15mins e.g. 16:12 to 16:15

    If I use the formula : =(ROUND((I6*24)/0.25,0)*0.25)/24 , it will round to the nearest 1/4 hour. What should I use to always round UP to the next 1/4 hour for example, 4:16 becomes 4:30?

  2. #2
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: round time to nearest 15mins e.g. 16:12 to 16:15

    Hi jlgopurdue,

    Try:

    Please Login or Register  to view this content.
    Cheers,
    Would you like to say thanks? Please click the: " Add Reputation" button, on the grey bar below the post.

  3. #3
    Forum Expert contaminated's Avatar
    Join Date
    05-07-2009
    Location
    Baku, Azerbaijan
    MS-Off Ver
    Excel 2013
    Posts
    1,430

    Re: round time to nearest 15mins e.g. 16:12 to 16:15

    Also

    Please Login or Register  to view this content.
    Or

    Please Login or Register  to view this content.
    Last edited by contaminated; 01-25-2010 at 01:50 AM.
    Люди, питающие благие намерения, как раз и становятся чудовищами.

    Regards, ?Born in USSR?
    Vusal M Dadashev

    Baku, Azerbaijan

  4. #4
    Registered User
    Join Date
    01-25-2010
    Location
    Gainesville, Fl
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: round time to nearest 15mins e.g. 16:12 to 16:15

    Yes.. I'm an idiot...Thanks!

  5. #5
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: round time to nearest 15mins e.g. 16:12 to 16:15

    It's okay, everyone misses now & then.

    Please mark your thread [SOLVED]

    To mark your thread solved do the following: - Go to the first post - Click edit - Click Advance - Just below the word "Title:" you will see a dropdown with the word No prefix. - Change to Solve - Click Save

  6. #6
    Registered User
    Join Date
    12-12-2013
    Location
    Winnipeg
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: round time to nearest 15mins e.g. 16:12 to 16:15

    According this issue I have a similar one.
    I am trying to make a formula rounding the time to the closest 1/4 of the time.
    So, I have already done this, so far. My problem is how to put a brake on this formula.
    Could you please help me?
    Formula:
    =IF((ROUND((((C12-B12)+IF(C12<B12,1))*24)/0.25,0)*0.25)-0.5=5,ROUND((((C12-B12)+IF(C12<B12,1))*24)/0.25,0)*0.25,IF((ROUND((((C12-B12)+IF(C12<B12,1))*24)/0.25,0)*0.25)-0.5>=8,8,ROUND((((C12-B12)+IF(C12<B12,1))*24)/0.25,0)*0.25))

    I want to count and the "IN(2)" and the "OUT(2)". Also, in the formula I have a "-0.5" because I subtract the 1/2 hour of the brake.

    I am sending and my time sheet to take a look.

    Thank you very much in advanced! Please, reply to me as soon as you can!


    Capture_1.PNG

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: round time to nearest 15mins e.g. 16:12 to 16:15

    Hi and welcome to the forum

    Unfortunately your post does not comply with Rule 2 of our Forum RULES. Do not post a question in the thread of another member -- start your own thread.

    If you feel an existing thread is particularly relevant to your need, provide a link to the other thread in your new thread.

    Old threads are often only monitored by the original participants. New threads not only open you up to all possible participants again, they typically get faster response, too.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  8. #8
    Registered User
    Join Date
    12-12-2013
    Location
    Winnipeg
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: round time to nearest 15mins e.g. 16:12 to 16:15

    Hello and thank you for the welcome!!!
    I like very much your forum!

    Thank you!
    I read your comment and I opened already my own thread!
    I hope to receive an answer soon!

+ 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