I need a formula that calculates break times for a rota.
If someone works anything more then 7.5 hours, 30min break should be deducted UNLESS they work before 1pm and after 8pm, then 1 hour break should be deducted.
So far I've managed to deduct 30min break automatically, but I can't manage to deduct 1 hour somehow.
=IF((E6-D6)*24>=7.5,(E6-D6)*24 - 0.5, (E6-D6)*24)
Solved by K. J. in 12 mins