rdbauer83
New Member
- Joined
- May 2, 2022
- Messages
- 14
- Office Version
- 365
- 2021
- 2019
- 2016
- 2013
- Platform
- Windows
Ok just throwing it out there for all you experts as I am not one.
I want to be able to randomly generate a schedule for my employees.
Basics...Each employee works 4 days a week but not necessarily in a row and 1 of the 4 days must be a Sat or Sun but not both. Each day there are 2 different shift times. Each week I would like to run the generator to have the schedule created within given conditions of number of people that are needed for each day and shift. Also there are days that an employee is off for vacation so I would like the generator to not assign a shift for them on that day. Lastly, if an employee works shift time 2 they can't work shift time 1 the next day but must have at least one day between. BUT, if they work shift time 1 they CAN work shift time 2 the next day. Ok that enough conditions thrown at y'all
I want to be able to randomly generate a schedule for my employees.
Basics...Each employee works 4 days a week but not necessarily in a row and 1 of the 4 days must be a Sat or Sun but not both. Each day there are 2 different shift times. Each week I would like to run the generator to have the schedule created within given conditions of number of people that are needed for each day and shift. Also there are days that an employee is off for vacation so I would like the generator to not assign a shift for them on that day. Lastly, if an employee works shift time 2 they can't work shift time 1 the next day but must have at least one day between. BUT, if they work shift time 1 they CAN work shift time 2 the next day. Ok that enough conditions thrown at y'all
Book1 | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
C | D | E | F | G | H | I | J | K | L | |||
1 | August-08 | - | August-14 | |||||||||
2 | ||||||||||||
3 | Mon | Tues | Wed | Thur | Fri | Sat | Sun | |||||
4 | NAMES | EMP ID | 8/8 | 8/9 | 8/10 | 8/11 | 8/12 | 8/13 | 8/14 | |||
5 | NAME 1 | 1111 | TIME 2 | TIME 2 | TIME 2 | TIME 2 | ||||||
6 | NAME 2 | 2222 | TIME 1 | TIME 1 | TIME 1 | TIME 1 | ||||||
7 | NAME 3 | 3333 | TIME 1 | TIME 2 | TIME 2 | TIME 2 | ||||||
8 | NAME 4 | 4444 | TIME 1 | TIME 1 | TIME 1 | TIME 1 | ||||||
9 | NAME 5 | 5555 | TIME 2 | OFF | TIME 1 | TIME 2 | OFF | TIME 1 | OFF | |||
10 | NAME 6 | 6666 | TIME 2 | TIME 2 | TIME 1 | TIME 1 | ||||||
11 | NAME 7 | 7777 | TIME 2 | TIME 1 | TIME 1 | TIME 1 | ||||||
12 | NAME 8 | 8888 | TIME 1 | TIME 2 | TIME 2 | TIME 2 | ||||||
13 | NAME 9 | 9999 | TIME 1 | TIME 2 | TIME 1 | TIME 2 | ||||||
14 | NAME 10 | 1010 | TIME 1 | TIME 1 | TIME 1 | TIME 1 | ||||||
15 | NAME 11 | 0011 | TIME 2 | TIME 2 | TIME 2 | TIME 2 | ||||||
16 | NAME 12 | 1212 | TIME 1 | TIME 2 | TIME 2 | TIME 2 | ||||||
17 | NAME 13 | 1313 | TIME 1 | TIME 1 | TIME 1 | TIME 1 | ||||||
18 | NAME 14 | 1414 | TIME 1 | TIME 2 | TIME 2 | TIME 2 | ||||||
19 | NAME 15 | 1515 | TIME 2 | TIME 2 | TIME 2 | TIME 2 | ||||||
20 | NAME 16 | 1616 | TIME 2 | TIME 2 | TIME 2 | TIME 2 | ||||||
21 | NAME 17 | 1717 | TIME 2 | TIME 2 | TIME 2 | TIME 2 | ||||||
22 | NAME 18 | 1818 | TIME 2 | TIME 2 | TIME 2 | TIME 1 | ||||||
23 | NAME 19 | 1919 | TIME 2 | TIME 2 | TIME 2 | TIME 2 | ||||||
24 | NAME 20 | 2020 | TIME 1 | TIME 1 | TIME 2 | TIME 1 | ||||||
25 | ||||||||||||
26 | CONDITIONS | |||||||||||
27 | Mon | Tues | Wed | Thur | Fri | Sat | Sun | |||||
28 | TIME 1 | 6 | 5 | 3 | 5 | 5 | 3 | 6 | ||||
29 | TIME 2 | 8 | 7 | 7 | 6 | 8 | 5 | 6 | ||||
Sheet1 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
F1 | F1 | =F4 |
J1 | J1 | =L4 |
G4:L4 | G4 | =F4+1 |