Hi All
Iam pulling my hair out, surely this is simple??
Can H12 be green if more than 14 hours, orange if less than 14 hours and red if less than 1 hour from now..
Iam pulling my hair out, surely this is simple??
Can H12 be green if more than 14 hours, orange if less than 14 hours and red if less than 1 hour from now..
Fatigue 1.xlsx | |||||||
---|---|---|---|---|---|---|---|
D | E | F | G | H | |||
6 | CURRENT TIME | ||||||
7 | 13:19 | ||||||
8 | |||||||
9 | End of rest pre deployment | 8 hours rest | Deployed | ||||
10 | Date & Time | Y/N | Date & Time | Pre-deployment wake time | 17 Hour limit | ||
11 | |||||||
12 | 5/04/2024 5:30 | 5/04/2024 17:00 | 11 | 5/04/2024 22:30 | |||
13 | |||||||
14 | 5/04/2024 6:30 | y | 5/04/2024 17:00 | 10 | 5/04/2024 23:30 | ||
15 | 5/04/2024 7:00 | y | 5/04/2024 17:00 | 10 | 6/04/2024 0:00 | ||
16 | 5/04/2024 8:00 | y | 5/04/2024 17:00 | 9 | 6/04/2024 1:00 | ||
17 | 5/04/2024 6:30 | y | 5/04/2024 17:00 | 10 | 5/04/2024 23:30 | ||
18 | 5/04/2024 5:30 | y | 5/04/2024 17:00 | 11 | 5/04/2024 22:30 | ||
Phase 1 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
D7 | D7 | =NOW() |
D12 | D12 | =IF(D14="","",MIN(D14:D28)) |
G12,G14:G18 | G12 | =IF(OR(D12="",F12=""),"",TEXT(F12-D12,"[H]")) |
H12,H14:H18 | H12 | =IF(D12="","",D12+17/24) |
Cells with Conditional Formatting | ||||
---|---|---|---|---|
Cell | Condition | Cell Format | Stop If True | |
H12 | Expression | =I8>=0.583333 | text | NO |
H12 | Expression | =I8>=0.708 | text | YES |
H12 | Expression | =I8=0 | text | YES |
H12 | Expression | =I8<0.58333 | text | NO |
E12:E28,E33:E70,E88:E120 | Cell Value | contains "N" | text | NO |