HappyChappy
Active Member
- Joined
- Jan 26, 2013
- Messages
- 384
- Office Version
- 2019
- 2010
- 2007
- Platform
- Windows
Payslip.xlsx | ||||||||
---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | |||
1 | Day | Date | Start Time | Finish Time | Hours Worked | Hours Worked | ||
2 | Days Hours | |||||||
3 | Monday | 12/02/2024 | 07:00 | 17:00 | 10:00:00 | 10.00 | ||
19.02.24 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
E3 | E3 | =IF(OR(C3="",D3=""),"",D3-C3) |
F3 | F3 | =IF(OR(C3="",D3=""),"",E3*24) |
Cells with Conditional Formatting | ||||
---|---|---|---|---|
Cell | Condition | Cell Format | Stop If True | |
C3:D10 | Cell Value | >0 | text | NO |
if(or(c3="",d3=""),"",(c3-d3)*24))
i know its an issue with brackets but can't get it to work, want to do away with col E to tidy things up