+ Reply to Thread
Results 1 to 4 of 4

Calculating the night shift and day shift

  1. #1
    Registered User
    Join Date
    01-29-2017
    Location
    London
    MS-Off Ver
    2013
    Posts
    15

    Calculating the night shift and day shift

    Greetings,
    how to solve the problem by calculating the night shift and day shift.
    Night shift is calculated in the range from 22H to 06 h once a shift starting from 20h to 07h.
    This would be, in this case the night shift would be 8 hours and daily for 3 hours.
    How to solve this problem

  2. #2
    Registered User
    Join Date
    02-14-2017
    Location
    Hosle, Norway
    MS-Off Ver
    2013, 365, 2016
    Posts
    35

    Re: Calculating the night shift and day shift

    Hi sasajo1.

    It can be quite difficult to calculate time over several dates and there are probably many ways of solving the problem. I did it my way and made a spreadsheet for you that you can use for learning or for calculating shifts.

    I am using Excel's functions for year, month, day and date to add and subtract time, as well as using if statements to choose a different calculation i the date changes.

    I should probably try to explain how I did it but there are so many functions here and there - so it's easier to post the sheet and let you check it out.

    PS: I didnt really double check how it will work if shift starts before 6 AM. Maybe it has to be rewritten a little bit to account for that.

  3. #3
    Registered User
    Join Date
    01-29-2017
    Location
    London
    MS-Off Ver
    2013
    Posts
    15

    Re: Calculating the night shift and day shift

    Of course, that's the way.
    Thanks a lot.

  4. #4
    Registered User
    Join Date
    02-14-2017
    Location
    Hosle, Norway
    MS-Off Ver
    2013, 365, 2016
    Posts
    35

    Re: Calculating the night shift and day shift

    You're welcome.

+ 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. day shift overtime and night shift formulas
    By Pranklin in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-06-2015, 04:05 PM
  2. Caculating # of Day Shift Hrs & Night Shift Hrs of a Given Shift
    By DaKhoda in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-29-2014, 08:36 PM
  3. Need Help on Time Sheet Formula (Day Shift OK/Night Shift=Problem)
    By jomapac in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-18-2013, 02:26 AM
  4. [SOLVED] Spliting Day Shift and Night Shift Hours
    By Goldbadger2 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-27-2013, 01:16 AM
  5. Replies: 4
    Last Post: 12-06-2012, 08:29 PM
  6. Replies: 4
    Last Post: 09-21-2012, 12:58 AM
  7. Day shift/night shift time calculation issue
    By STATEXCEL in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 07-31-2007, 08:48 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