+ Reply to Thread
Results 1 to 2 of 2

Calculating shift types and hours applicable for those times

  1. #1
    Registered User
    Join Date
    06-21-2016
    Location
    London, England
    MS-Off Ver
    Excel Professional Plus 2013
    Posts
    1

    Calculating shift types and hours applicable for those times

    Hi All,

    Just joined - Thanks for viewing my post!

    I have a very large spreadsheet where I need a formula to calculate how many hours relate to different portions of a shift worked.

    The splits of the shifts are comprised as follows:

    Day shift: 06:00 to 20:00

    Night shift: 20:00 to 06:00

    Saturday: All day until midnight

    Sunday: All day until midnight

    UK Public Holiday: All day until midnight

    The break should be taken from the larger time period of the split within the shift.

    I need to show how the shift is comprised, how many hours and minutes relate to each slice of the shift.

    Any and all help is greatly appreciated, attached is an example of how the data is arranged.

    Thanks,

    Doug
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-20-2015
    Location
    Chicago, Illinois
    MS-Off Ver
    2016
    Posts
    2,103

    Re: Calculating shift types and hours applicable for those times

    Shifts are tricky, particularly when they overlap into the ensuing day. Excel doesn't know the difference between 4 AM this morning when I started my shift and 4 AM "tonight" when I will end my shift. Take a look at the attachment and see if it catches the necessary contingencies. It treats 2 AM Saturday morning as a continuation of Friday's shift, because that seemed sensible since it'd still be attached to Friday's date according to your setup. The attached version does NOT deduct the break, it merely calculates the hours that fall into each shift. I'd advise deducting the break when you do your second round of calculations to get the pay totals, it'll fit in more easily there. It also doesn't calculate the holidays, because I don't know that those are stored anywhere within Excel. You could easily create a hidden sheet that lists holidays and then use a variation of the Sat/Sun formula to cover those. Take a look, see if it works:
    Attached Files Attached Files

+ 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. Calculating hours that occur between certain times in a work shift
    By jkuoso in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 09-11-2015, 02:36 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. Calculating shift hours above 40 per week
    By evansmike881 in forum Excel General
    Replies: 2
    Last Post: 05-02-2015, 05:54 AM
  4. Calculating Hours For Shift Penalties
    By Cam_M in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-18-2014, 12:39 PM
  5. [SOLVED] Calculating Shift Premium Hours
    By sxhall in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-18-2013, 09:24 AM
  6. Calculating Hours Worked from Shift Begin and Shift End
    By lukeflegg in forum Excel General
    Replies: 5
    Last Post: 08-12-2011, 03:25 PM
  7. [SOLVED] IS THERE A FORMULA TO MAKE E=6:00PM ETC SHIFT TIMES AND HOURS
    By Angel Devoid in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-28-2005, 02:30 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