Good evening all,
I've taken some excellent examples already from you forum, but now I'm struggling with a more complicated one which I can't find an answer for.
To complete my timesheet.
If I work less than 8 hours no break is discounted.
Between 8 and 10 hours, 30 min. are discounted.
More than 10 hours, 1 hour is discounted.
I have this so far, and it works only for "greater than".
=IF(OR(ISBLANK(E32),ISBLANK(D32)),"",E32-D32-(E32-D32>TIME(8,0,0))*TIME(0,30,0))
I don't know what to do for the rest.
Please help.
Thanks
I've taken some excellent examples already from you forum, but now I'm struggling with a more complicated one which I can't find an answer for.
To complete my timesheet.
If I work less than 8 hours no break is discounted.
Between 8 and 10 hours, 30 min. are discounted.
More than 10 hours, 1 hour is discounted.
I have this so far, and it works only for "greater than".
=IF(OR(ISBLANK(E32),ISBLANK(D32)),"",E32-D32-(E32-D32>TIME(8,0,0))*TIME(0,30,0))
I don't know what to do for the rest.
Please help.
Thanks