+ Reply to Thread
Results 1 to 3 of 3

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

  1. #1
    Forum Contributor
    Join Date
    07-31-2008
    Location
    Berkshire, UK
    MS-Off Ver
    2003 & 2007
    Posts
    118

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

    Hi

    I am building a project tracker time thing in excel and need the value in a cell (which reads over from another cell) to round to the NEAREST 0.25 for

    The multiples need to be 0.25, 0.5, 0.75 and a whole number


    for example 15:43 needs to round to 15:45 as we only monitor in complete 15 minutes.

    Thank you in advance
    Last edited by simjambra; 08-28-2009 at 11:14 AM.

  2. #2
    Forum Moderator DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Suffolk, UK
    MS-Off Ver
    2002, 2007 & 2010
    Posts
    21,423

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

    If you're using XL2007 you can use MROUND (without need for activating Analysis ToolPak)

    B1: =MROUND(A1,"00:15")
    where A1 holds time of interest

    pre XL2007 if you prefer to avoid ATP then perhaps:

    B1: =(ROUND((A1*24)/0.25,0)*0.25)/24

  3. #3
    Forum Contributor
    Join Date
    07-31-2008
    Location
    Berkshire, UK
    MS-Off Ver
    2003 & 2007
    Posts
    118

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

    Thanks. Didn't know about MROUND.

    Nice.

+ 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.2.0