+ Reply to Thread
Results 1 to 5 of 5

Sum time then round to nearest 5 minutes

  1. #1
    Registered User
    Join Date
    05-26-2009
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    36

    Sum time then round to nearest 5 minutes

    Hi

    not being my area of expertise this, wondered if anyone could give me a simple formula for the following:

    I have a list of timings [hh]:mm
    what I need to do is add 15 minutes for each elapsed hour.

    E.g.

    A1:07:15
    A2:04:45

    new time would read

    B1:09:00
    B2:05:45

    In M5 I have 00:15 to act as the trigger for the 15 minutes

    I have created this formula which seems to work fine: =SUM(A1+(HOUR(A1)*$M$5))

    the next bit I can't seem to work is how to round the number up to the nearest 5 minutes.

    any ideas please?

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Sum time then round to nearest 5 minutes

    Try

    =CEILING(A1+(HOUR(A1)*$M$5),"0:05:00"+0)

  3. #3
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Sum time then round to nearest 5 minutes

    You can use CEILING to round up so try

    =CEILING(A1+HOUR(A1)*$M$5,"0:05")
    Audere est facere

  4. #4
    Registered User
    Join Date
    05-26-2009
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    36

    Re: Sum time then round to nearest 5 minutes

    perfect thanks

  5. #5
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Sum time then round to nearest 5 minutes

    You're welcome.

+ 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. round time to nearest 15mins e.g. 16:12 to 16:15
    By jlgopurdue in forum Excel - New Users/Basics
    Replies: 7
    Last Post: 02-13-2014, 09:27 PM
  2. Excel - round time EXACTLY to nearest second
    By TheRobsterUK in forum Excel General
    Replies: 5
    Last Post: 08-22-2012, 07:52 AM
  3. round time to nearest 15mins e.g. 16:12 to 16:15
    By simjambra in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 08-28-2009, 11:13 AM
  4. How to round down to nearest 5 minutes, time calc?
    By StargateFanFromWork in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-18-2005, 05:05 AM
  5. [SOLVED] Round time to nearest quarter hr
    By John in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-16-2005, 06:06 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