+ Reply to Thread
Results 1 to 5 of 5

Timesheet Rounding

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

    Timesheet Rounding

    Our timeclock rounds times to the nearest 6th minute; however, if they clock in/out within 6 minutes of the half hour, it rounds to that half hour (i.e., 8:55 rounds to 9:00; 9:05 rounds back to 9:00). What formula can I use to get this?

    Clock In
    Actual - 2/24/2014 8:55:38 AM
    Rounded time desired - 2/24/2014 9:00:00 AM

    Clock Out
    Actual - Tue, 2/24/14 5:36:40 PM
    Rounded time desired - Tue, 2/24/14 5:30:00 PM

    I've tried multiple formulas but I can't seem to configure them to get exactly what I need.

    Thanks for your help with this!

  2. #2
    Forum Contributor
    Join Date
    01-25-2014
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    434

    Re: Timesheet Rounding

    Quote Originally Posted by JRose0303 View Post
    Our timeclock rounds times to the nearest 6th minute; however, if they clock in/out within 6 minutes of the half hour, it rounds to that half hour (i.e., 8:55 rounds to 9:00; 9:05 rounds back to 9:00). What formula can I use to get this?

    Clock In
    Actual - 2/24/2014 8:55:38 AM
    Rounded time desired - 2/24/2014 9:00:00 AM

    Clock Out
    Actual - Tue, 2/24/14 5:36:40 PM
    Rounded time desired - Tue, 2/24/14 5:30:00 PM

    I've tried multiple formulas but I can't seem to configure them to get exactly what I need.

    Thanks for your help with this!
    I think you'd either have to supply lots more examples of desired results, or expand the rules that it needs to work to
    The example you provided, clocking out at 5:36:40 PM is not within 6 minutes of 5:30:30 PM, so how should this be handled ?

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

    Re: Timesheet Rounding

    It's crazy how it rounds. If the clock in or clock out time occurrs 6 minutes prior and 6 minutes after the half hour, it rounds to the nearest half hour:
    8:24-8:29 will round to 8:30
    8:31-8:36 will round to 8:30
    8:54-8:59 will round to 9:00
    9:01-9:06 will round to 9:00

    Otherwise, the times round to the nearest 6 minute increment:
    8:15 will round to 8:12
    8:16 will round to 8:18

  4. #4
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Timesheet Rounding

    Try this

    = (ROUND((A1 * 1440) / 15, 0) * 15) / 1440


    A
    B
    1
    2/24/2014 8:55
    2/24/2014 9:00
    2
    2/24/2014 17:36
    2/24/2014 17:30



    Format cells as Custom: m/d/yyyy h:mm
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  5. #5
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,633

    Re: Timesheet Rounding

    Or use this formula:
    =MROUND(A8;1/48)
    Willem
    English is not my native language sorry for errors
    Please correct me if I'm completely wrong

+ 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. [SOLVED] Excel Timesheet Rounding
    By jackiembg in forum Excel General
    Replies: 8
    Last Post: 03-04-2021, 02:37 AM
  2. Rounding Hours for Timesheet
    By Meep in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-14-2013, 11:06 AM
  3. [SOLVED] Rounding to 6 Minute Increments for Timesheet
    By JRose0303 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-02-2012, 11:23 AM
  4. Rounding Timesheet to quarter hour
    By djknight2007 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 04-30-2010, 01:12 PM
  5. [SOLVED] Timesheet Help. Rounding to the nearest 1/4
    By John in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-02-2006, 03:10 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