+ Reply to Thread
Results 1 to 5 of 5

Split Shift & Time Managment Grid based on 24 hour clock in 15 min increments

  1. #1
    Forum Contributor
    Join Date
    07-22-2009
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    122

    Split Shift & Time Managment Grid based on 24 hour clock in 15 min increments

    Hello,

    I am building a schedule program that will graph out and employees schedule based on start/end/2 breaks and a lunch. I have been successful so far IF the shift in its entirety is in the single day. The problem I am in need of assistance with is a split shift or a shift that goes up to 00:00. The grid starts @ 00:00 and is plotted out to 23:45. The formula used will compare start times to times on the grid and compare break times and lunch times and mark them with "X" for working, "B" for break, and "L" for lunches. The formula however DOES not like a end time that is less then the start time. Is there another variable that is needed for this function to symbolize the day or the shift number.

    here is an example of the forumula:

    =IF($B3="","",IF(OR(AND($D3<>"",N$1=$D3),AND($H3<>"",N$1=$H3)),"B",IF(AND(N$1>=$E3,N$1<$G3),"L",IF(OR(N$1<$C3,N$1>=$I3),"","X"))))

    B3 is the name of the employee
    N1 and on is the time entered in in 15 min blocks
    column D and H are breaks
    column E is the lunch
    Column I is end shift

    Any help would be appreciated, and thanks in advance

  2. #2
    Valued Forum Contributor
    Join Date
    11-20-2012
    Location
    Seattle, WA USA
    MS-Off Ver
    Excel 2010
    Posts
    597

    Re: Split Shift & Time Managment Grid based on 24 hour clock in 15 min increments

    you should post a sample workbook

  3. #3
    Forum Contributor
    Join Date
    07-22-2009
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    122

    Re: Split Shift & Time Managment Grid based on 24 hour clock in 15 min increments

    I have attached the file. The problem is with an overnight/split shift. I have outlined the problem shift in a red border. the shift is listed for 19:30 to 06:00 (following day), but i know i will need to change it to show 00:00 to 06:30 then again 19:30 to 00:00 for a single day. I am not sure if a new row needs to be added into the formula showing a S1 or S2 for shifts, but i am concerned that there will be excessive nesting, or just over complicated formula on top of what i have already done.
    Attached Files Attached Files

  4. #4
    Banned User!
    Join Date
    10-14-2006
    Posts
    1,211

    Re: Split Shift & Time Managment Grid based on 24 hour clock in 15 min increments

    In K5: =MOD(I5-C5,1)

  5. #5
    Forum Contributor
    Join Date
    07-22-2009
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    122

    Re: Split Shift & Time Managment Grid based on 24 hour clock in 15 min increments

    Nice, that fixed the breaks and lunches...but its not showing the worked time
    Last edited by paxile2k; 05-17-2013 at 10:23 PM. Reason: Typo

  6. #6
    Forum Contributor
    Join Date
    07-22-2009
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    122

    Re: Split Shift & Time Managment Grid based on 24 hour clock in 15 min increments

    I think i have found a simpler solution, i will just split the shift to two employee lines, the =mod( option did fix the breaks and lunches but the hours worked was still not working correctly (excellent solution btw teethless mama)

+ 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