Rest hour sheet.
I do have W = Work and cell have to be filled in
I do have O/L = Operational leave and cell stays blanc
Conditional I have in W - M = morning = working from 00:00 till 12:00. In the sheet the period from 12:00 to 24:00 will be filled with a " X "
A = afternoon = Working from 12:00 till 24:00. In the sheet the period from 00:00 to 12:00 will be filled with a " X "
D = day = Working from 06:00 till 18:00. In the sheet the period from 00:00 to 06:00 and 18:00 to 24:00 will be filled with a " X "
N = night = Working from 18:00 till 06:00. In the sheet the period from 06:00 to 18:00 will be filled with a " X "
And last but not least, this is for a 12h work day. In case the person does more than 12h te amonth of hours extra needs to be substracted from the " X ". In the sheet down below you have example of row 46 with 4 " X " less which is equal at 2 h. ( Every cross is a half hour )
The worksheet added is an old worksheet whithout the Morning and afternoon and is replaced now, but If I see the formula you suggest, I hope I will manage to fill it in the other form.
I do have W = Work and cell have to be filled in
I do have O/L = Operational leave and cell stays blanc
Conditional I have in W - M = morning = working from 00:00 till 12:00. In the sheet the period from 12:00 to 24:00 will be filled with a " X "
A = afternoon = Working from 12:00 till 24:00. In the sheet the period from 00:00 to 12:00 will be filled with a " X "
D = day = Working from 06:00 till 18:00. In the sheet the period from 00:00 to 06:00 and 18:00 to 24:00 will be filled with a " X "
N = night = Working from 18:00 till 06:00. In the sheet the period from 06:00 to 18:00 will be filled with a " X "
And last but not least, this is for a 12h work day. In case the person does more than 12h te amonth of hours extra needs to be substracted from the " X ". In the sheet down below you have example of row 46 with 4 " X " less which is equal at 2 h. ( Every cross is a half hour )
The worksheet added is an old worksheet whithout the Morning and afternoon and is replaced now, but If I see the formula you suggest, I hope I will manage to fill it in the other form.
1. Crew administration 1.0 Timesheet - Resthours.xls | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | AA | AB | AC | AD | AE | AF | AG | AH | AI | AJ | AK | AL | AM | AN | AO | AP | AQ | AR | AS | AT | AU | AV | AW | AX | AY | AZ | BA | BB | BC | BD | BE | BF | BG | BH | BI | BJ | BK | BL | BM | BN | BO | BP | BQ | BR | BS | BT | BU | BV | BW | BX | BY | BZ | CA | CB | |||
37 | Please mark periods of rest, with an X | Hours of rest in 24-Hour period | Comments | Not to be completed by the seafarer | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
38 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
39 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
40 | Hrs | 0 0 | 1 0 | 2 0 | 3 0 | 4 0 | 5 0 | 6 0 | 7 0 | 8 0 | 9 0 | 1 0 | 1 1 | 1 2 | 1 3 | 1 4 | 1 5 | 1 6 | 1 7 | 1 8 | 1 9 | 2 0 | 2 1 | 2 2 | 2 3 | Hours of rest, in any 24-hour period | Hours of rest, in any 7-day period | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
41 | Date | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
42 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
43 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
44 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
45 | 1 | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | 12 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
46 | 2 | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | 10 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
47 | 3 | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | 12 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
48 | 4 | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | 12 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
49 | 5 | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | x | 12 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Rusturen |
Cell Formulas | ||
---|---|---|
Range | Formula | |
A45:A49 | A45 | =IF(Urenstaat!B21=0,"",Urenstaat!B21) |
C45:D49 | C45 | =IF($DK36<17.01,IF($DL36="","",(IF(OR($DL36="D",$DL36="T2"),"x",""))),"") |
E45:F49 | E45 | =IF($DK36<18.01,IF($DL36="","",(IF(OR($DL36="D",$DL36="T2"),"x",""))),"") |
G45:H49 | G45 | =IF($DK36<19.01,IF($DL36="","",(IF(OR($DL36="D",$DL36="T2"),"x",""))),"") |
I45:J49 | I45 | =IF($DK36<20.01,IF($DL36="","",(IF(OR($DL36="D",$DL36="T2"),"x",""))),"") |
K45:L49 | K45 | =IF($DK36<21.01,IF($DL36="","",(IF(OR($DL36="D",$DL36="T2"),"x",""))),"") |
M45:N49 | M45 | =IF($DK36<22.01,IF($DL36="","",(IF(OR($DL36="D",$DL36="T2"),"x",""))),"") |
O45:P49 | O45 | =IF($DK36<23.01,IF($DL36="","",(IF(OR($DL36="D",$DL36="T2"),"x",""))),"") |
Q45:R49 | Q45 | =IF($DK36<12.01,IF($DL36="","",(IF(OR($DL36="D",$DL36="T1",$DL36="T2"),"","x"))),"") |
S45:T49 | S45 | =IF($DK36<13.01,IF($DL36="","",(IF(OR($DL36="D",$DL36="T1",$DL36="T2"),"","x"))),"") |
U45:V49 | U45 | =IF($DK36<14.01,IF($DL36="","",(IF(OR($DL36="D",$DL36="T1",$DL36="T2"),"","x"))),"") |
W45:X49 | W45 | =IF($DK36<15.01,IF($DL36="","",(IF(OR($DL36="D",$DL36="T1",$DL36="T2"),"","x"))),"") |
Y45:Z49 | Y45 | =IF($DK36<16.01,IF($DL36="","",(IF(OR($DL36="D",$DL36="T1",$DL36="T2"),"","x"))),"") |
AA45:AB49 | AA45 | =IF($DK36<17.01,IF($DL36="","",(IF(OR($DL36="D",$DL36="T1",$DL36="T2"),"","x"))),"") |
AC45:AD49 | AC45 | =IF($DK36<18.01,IF($DL36="","",(IF(OR($DL36="D",$DL36="T1",$DL36="T2"),"","x"))),"") |
AE45:AF49 | AE45 | =IF($DK36<19.01,IF($DL36="","",(IF(OR($DL36="D",$DL36="T1",$DL36="T2"),"","x"))),"") |
AG45:AH49 | AG45 | =IF($DK36<20.01,IF($DL36="","",(IF(OR($DL36="D",$DL36="T1",$DL36="T2"),"","x"))),"") |
AI45:AJ49 | AI45 | =IF($DK36<21.01,IF($DL36="","",(IF(OR($DL36="D",$DL36="T1",$DL36="T2"),"","x"))),"") |
AK45:AL49 | AK45 | =IF($DK36<22.01,IF($DL36="","",(IF(OR($DL36="D",$DL36="T1",$DL36="T2"),"","x"))),"") |
AM45:AN49 | AM45 | =IF($DK36<23.01,IF($DL36="","",(IF(OR($DL36="D",$DL36="T1",$DL36="T2"),"","x"))),"") |
AO45:AP49 | AO45 | =IF($DK36<12.01,IF($DL36="","",(IF(OR($DL36="D",$DL36="T1"),"x",""))),"") |
AQ45:AR49 | AQ45 | =IF($DK36<13.01,IF($DL36="","",(IF(OR($DL36="D",$DL36="T1"),"x",""))),"") |
AS45:AT49 | AS45 | =IF($DK36<14.01,IF($DL36="","",(IF(OR($DL36="D",$DL36="T1"),"x",""))),"") |
AU45:AV49 | AU45 | =IF($DK36<15.01,IF($DL36="","",(IF(OR($DL36="D",$DL36="T1"),"x",""))),"") |
AW45:AX49 | AW45 | =IF($DK36<16.01,IF($DL36="","",(IF(OR($DL36="D",$DL36="T1"),"x",""))),"") |
AY45:AY49 | AY45 | =COUNTIF(C45:AX45,"x")/2 |
BD45:BD49 | BD45 | =IF(OR($DL36="T1",$DL36="T2"),"Travel",IF(HLOOKUP($DC$5,Urenstaat!$D$10:$FX$66,11+A45)=0," ",HLOOKUP($DC$5,Urenstaat!$D$10:$FX$66,11+A45))) |
Cells with Conditional Formatting | ||||
---|---|---|---|---|
Cell | Condition | Cell Format | Stop If True | |
AY45:BC75 | Cell Value | between 0.5 and 9.5 | text | YES |
1. Crew administration 1.0 Timesheet - Resthours.xls | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
DI | DJ | DK | DL | DM | DN | DO | DP | |||
33 | Naam | ROBION Guy Ph K | ||||||||
34 | ||||||||||
35 | ||||||||||
36 | 1 | W | 12 | D | W | 1 | D | |||
37 | 2 | W | 14 | D | W | 2 | D | |||
38 | 3 | W | 12 | D | W | 3 | D | |||
39 | 4 | W | 12 | D | W | 4 | D | |||
40 | 5 | W | 12 | D | W | 5 | D | |||
41 | 6 | W | 12 | D | W | 6 | D | |||
42 | 7 | W | 12 | D | W | 7 | D | |||
43 | 8 | W | 12 | D | W | 8 | D | |||
44 | 9 | W | 12 | D | W | 9 | D | |||
45 | 10 | W | 12 | D | W | 10 | D | |||
46 | 11 | W | 12 | D | W | 11 | D | |||
47 | 12 | W | 12 | D | W | 12 | D | |||
48 | 13 | W | 12 | D | W | 13 | D | |||
49 | 14 | W | 12 | D | W | 14 | D | |||
50 | 15 | W | 12 | D | W | 15 | D | |||
51 | 16 | W | 12 | D | W | 16 | D | |||
52 | 17 | W | 12 | D | W | 17 | D | |||
53 | 18 | W | 12 | D | W | 18 | D | |||
54 | 19 | W | 12 | D | W | 19 | D | |||
55 | 20 | W | 12 | D | W | 20 | D | |||
56 | 21 | W | 12 | D | W | 21 | D | |||
57 | 22 | W | 12 | D | W | 22 | D | |||
58 | 23 | W | 12 | D | W | 23 | D | |||
59 | 24 | W | 12 | D | W | 24 | D | |||
60 | 25 | W | 12 | D | W | 25 | D | |||
61 | 26 | W | 12 | D | W | 26 | D | |||
62 | 27 | W | 12 | D | W | 27 | D | |||
63 | 28 | W | 12 | D | W | 28 | D | |||
64 | 29 | W | 12 | D | W | 29 | D | |||
65 | 30 | W | 12 | D | W | 30 | D | |||
66 | 31 | 0 | 0 | 0 | 31 | |||||
Rusturen |
Cell Formulas | ||
---|---|---|
Range | Formula | |
DJ33 | DJ33 | =HLOOKUP($DC$5,Urenstaat!$D$4:$FG$53,2) |
DJ36:DJ66 | DJ36 | =HLOOKUP($DC$5,Urenstaat!$D$4:$HW$51,$DI36+17) |
DK36:DK66 | DK36 | =HLOOKUP($DC$5,Urenstaat!$E$20:$HW$51,$DI36+1) |
DL36:DL66 | DL36 | =IF(HLOOKUP($DC$5,Urenstaat!$E$19:$HW$51,$DI36+2)=0,"",HLOOKUP($DC$5,Urenstaat!$E$19:$HW$51,$DI36+2)) |
DN36:DN66,DP36:DP66 | DN36 | =DJ36 |
DO36:DO66 | DO36 | =DI36 |