+ Reply to Thread
Results 1 to 4 of 4

Regular Hours on Timesheet

  1. #1
    Registered User
    Join Date
    08-26-2011
    Location
    Somewhere
    MS-Off Ver
    Excel 2003
    Posts
    6

    Unhappy Regular Hours on Timesheet

    I need further assistance on a timesheet that I am fixing. Updated Payroll.xlsx

    I am stuck on the Regular Hours column (G11:G26). I have the hours calculating correctly, with it only showing <= eight hours. However I need it to round to the quarter hour as well. Is there any formula I can add to also round the hours to the quarter hour (i.e. 8:08am = 8:15am and 8:07am = 8:00am)?

    User martinandwilson provided the following formula calculating the total (=ROUND((E11-B11-D11+C11)*96,0)/4) which rounds to the quarter hour, but I need the regular hours to also round to the quarter hour.

    User Berna11 was kind enough to provide this formula =IF(MOD(MINUTE(G12),15)<=7,FLOOR(G12,1/(24*4)),CEILING(G12, ---- but i would need to make a new column to use this which I don't want to do.

    Thanks for any help in advance.

    Meep.

  2. #2
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: Regular Hours on Timesheet

    Try this
    For closest 1/4 hour:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    For next highest 1/4 hour:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Hope this helps
    A picture may be worth a thousand words, BUT, a sample Workbook is worth a thousand screenshots!
    -Add a File - click advanced (next to quick post), scroll to manage attachments, click, select add files, click select files, select file, click upload, when file shows up at bottom left, click done (bottom right), click submit
    -To mark thread Solved- go top of thread,click Thread Tools,click Mark as Solved
    If you received helpful response, please remember to hit the * of that post

  3. #3
    Registered User
    Join Date
    08-26-2011
    Location
    Somewhere
    MS-Off Ver
    Excel 2003
    Posts
    6

    Thumbs up Re: Regular Hours on Timesheet

    You are a saint and a scholar.

    Much appreciated! You solved an issue I spent an hour trying to resolve in mere minutes.

    You and this forum are awesome.

    Thanks again.

    Meep.

  4. #4
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: Regular Hours on Timesheet

    You are welcome, and thank you for the kind words

    Please remember to mark the thread as solved if you are satisfied with your solution :
    To mark thread "Solved", go to the top of the thread,click "Thread Tools",click "Mark as Solved"

+ 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