Hi everyone,
I am doing rotas for my company and I need to deduct 30mins if an employee has worked less than 8hrs and deduct 1hr if more than 8hrs.
Below is a formula that I found from this forum and I have lost the thread now, the formula works really well however if somebody is off on Monday, his/her hour shows as -0.5 and it is affecting the overall worked hours at the end of the week.
The Formula
=(I9-H9)*24-IF((I9-H9)*24>8,1,IF((I9-H9)*24<9,0.5)),
I need the daily total worked hours to show as 0 if the person didn't work on that day.
I hope it makes sense.
Thank you!
Bookmarks