+ Reply to Thread
Results 1 to 2 of 2

Calculate number of hours worked on each shift based on shift start/end times-TIME format

  1. #1
    Forum Contributor
    Join Date
    02-15-2005
    Location
    Central UK
    MS-Off Ver
    Office 365
    Posts
    175

    Calculate number of hours worked on each shift based on shift start/end times-TIME format

    Hi, I have a sheet which records the days worked and hours clocked in/out. I have spent a couple of days trying to work this out ... without success.

    People clock in/out at random times during the day/night and are paid day rate between 05:00 - 17:00. After that they are paid night rate.
    After 8 hours in any one shift they are paid overtime.
    After 6 worked hours they are deducted 45 minutes break but this is not deducted until the end of the shift which could be days or night rate.

    I need to calculate how many day hours, how many night hours and how many day/night overtime hours they have worked (less breaks) and Saturday/Sunday hours are all at either day or night overtime rates.

    I have added the rules in a textbox on the attachment - would really appreciate some help with this before I go mad.

    Thank you
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    04-26-2015
    Location
    Toronto, Canada
    MS-Off Ver
    2010
    Posts
    502

    Re: Calculate number of hours worked on each shift based on shift start/end times-TIME for

    For a two shift 24/7 Schedule you require these 2 formulas,

    This code will find the Day shift hours:
    Please Login or Register  to view this content.
    Followed by this code for the Night Shift:
    Please Login or Register  to view this content.
    The numbers ,5 & 17 refer to the start and end hours, a 6am to 6pm schedule would be 6 & 18 for example.


    In template the headers above follow the rules that you indicated but some will need changing to match your actual rates and criteria.
    Attached Files Attached Files
    Last edited by BlindAlley; 07-13-2019 at 01:19 PM.
    Uploading an attachment will assist Forum Members in finding the correct Solution for you. Create a dummy worksheet if necessary, add your start data and show where / what your expected results should be. TO ADD A FILE:

    Go to 'Advanced. click on 'Manage Attachments. Select 'Browse & Choose your file, Select 'Upload and then close the Attachment window.

+ 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] Formula needed to extract number of hours worked, dependent on shift times
    By heidithecat in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 12-21-2018, 04:30 AM
  2. I need some help with calculating hours worked during various shift times
    By Minxy01 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-27-2015, 04:24 PM
  3. Replies: 2
    Last Post: 05-15-2014, 09:04 AM
  4. Replies: 4
    Last Post: 09-21-2012, 12:58 AM
  5. Replies: 0
    Last Post: 05-14-2012, 05:36 PM
  6. Replies: 5
    Last Post: 02-19-2009, 01:41 PM
  7. [SOLVED] How do I calculate hours worked on 3rd shift?
    By Steve in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-12-2005, 11:05 AM

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