+ Reply to Thread
Results 1 to 5 of 5

Break Schedule - same shift , stagger breaks

  1. #1
    Forum Contributor
    Join Date
    04-02-2019
    Location
    Ottawa,Ontario
    MS-Off Ver
    365
    Posts
    183

    Break Schedule - same shift , stagger breaks

    Hi Everyone,

    Attached is a simple sheet. When 2 people have the same shift the breaks are staggered by 15mins, or 30mins at lunch. This only carries to the first 2 people. When 3 others have the same shift it doesn't follow the same pattern and I can't figure out how to alter the formula to make this work.

    Capture.JPG
    Attached Files Attached Files
    Last edited by northernwarrior; 02-10-2020 at 06:29 PM.

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,423

    Re: Break Schedule - same shift , stagger breaks

    Hi Ron,

    I'll get back to you later.

    Pete

  3. #3
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,423

    Re: Break Schedule - same shift , stagger breaks

    Try these formulae in the cells stated:

    E2: =IF(OR(COUNTIF(B2:C2,""),COUNTIF(B2:C2,"OFF")),"",B2+TIME(1,30,0)+COUNTIF($B$1:B1,B2)*TIME(0,15,0))

    F2: =IF(E2="","",IF(D2 < TIME(5,0,0),"---",B2+TIME(4,0,0)+COUNTIF(B$1:B1,B2)*TIME(0,30,0)))

    G2: =IF(E2="","",IF(D2 < TIME(7,0,0),"---",C2-TIME(2,0,0)+COUNTIF(B$1:B1,B2)*TIME(0,15,0)))

    then copy down as required.

    Hope this helps.

    Pete

  4. #4
    Forum Contributor
    Join Date
    04-02-2019
    Location
    Ottawa,Ontario
    MS-Off Ver
    365
    Posts
    183

    Re: Break Schedule - same shift , stagger breaks

    Pete, you are an excel genius. !

  5. #5
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,423

    Re: Break Schedule - same shift , stagger breaks

    Thanks for the kind words - glad to help.

    Pete

+ 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] Day and Shift wise allocation from Roster / employee shift schedule
    By Ravi_Kadu in forum Excel Programming / VBA / Macros
    Replies: 22
    Last Post: 01-11-2021, 07:40 PM
  2. Replies: 3
    Last Post: 09-09-2019, 10:25 AM
  3. Replies: 1
    Last Post: 07-09-2019, 12:00 PM
  4. Building an Employee Shift Schedule that Automatically Deducts Breaks
    By derdoktor in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-11-2016, 04:09 AM
  5. Replies: 0
    Last Post: 10-27-2014, 11:54 PM
  6. Shift Schedule - 3 Shift Coverage - Auto Populate Roll-up Summary Schedule
    By chips1256 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 08-31-2012, 09:32 AM
  7. Replies: 2
    Last Post: 08-07-2008, 05:22 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