+ Reply to Thread
Results 1 to 4 of 4

Rounding to 6 Minute Increments for Timesheet

  1. #1
    Registered User
    Join Date
    06-14-2012
    Location
    Ohio
    MS-Off Ver
    Microsoft 365
    Posts
    76

    Rounding to 6 Minute Increments for Timesheet

    Our time keeping systems utilizes a 6 minute rule. If your time-in is 8:25, I want it to automatically round the total to the nearest 6 minute increment.

    TIME IN: 8:25
    TIME OUT: 12:00
    TOTAL: 4.50

    This is the current formula in the total cell:
    =IF((OR(C8="",C7="")),0,IF((C8<C7),((C8-C7)*24)+24,(C8-C7)*24))

    How do I modify this so it rounds to the nearest 6 minute increment?

  2. #2
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Rounding to 6 Minute Increments for Timesheet

    Hi JRose0303,

    For 6 minutes rounding, use the below formula:-

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Where a1 is the cell which you want to round. thanks.

    Regards,
    DILIPandey

    <click on below 'star' if this helps>

    ---------- Post added at 08:29 PM ---------- Previous post was at 08:27 PM ----------

    Missed the increment part..

    If you want the time to increment (up) always, use below formula

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Regards,
    DILIPandey

    <click on below 'star' if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), [email protected]

  3. #3
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Rounding to 6 Minute Increments for Timesheet

    One way:

    =IF(COUNT(C7:C8)<2, "", ROUND(24*MOD(C8-C7 + (C7<C8), 1), 1))
    Entia non sunt multiplicanda sine necessitate

  4. #4
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Rounding to 6 Minute Increments for Timesheet

    Rounding up ..

    =CEILING(IF((OR(C8="",C7="")),0,IF((C8<C7),((C8-C7)+12),(C8-C7))),6/1440)
    Life's a spreadsheet, Excel!
    Say thanks, Click *

+ 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