hi,
I have datetime in cells A1:D1
A1: 2018-12-03 06:00 (day work start);
A2: 2018-12-03 10:00 (breakfast break start);
A3: 2018-12-03 11:00 (breakfast break stop);
A4: 2018-12-03 15:00 (day work stop);
So normally this is 9hrs work day with 1hr break included. The workers are payed for 8hrs work.
At cells C1, and C2 I would like to add datetime when the worker is absent.
How can I calculate at C3 the correct time the worker should be payed for??
For example:
C1: 2018-12-03 08:00 (start workers absent)
C2: 2018-12-03 12:00 (stop workers absent)
C3 (result): 05:00 (2hrs work before breakfast break plus 3hrs work after it)
I have no idea how to handle it
I have datetime in cells A1:D1
A1: 2018-12-03 06:00 (day work start);
A2: 2018-12-03 10:00 (breakfast break start);
A3: 2018-12-03 11:00 (breakfast break stop);
A4: 2018-12-03 15:00 (day work stop);
So normally this is 9hrs work day with 1hr break included. The workers are payed for 8hrs work.
At cells C1, and C2 I would like to add datetime when the worker is absent.
How can I calculate at C3 the correct time the worker should be payed for??
For example:
C1: 2018-12-03 08:00 (start workers absent)
C2: 2018-12-03 12:00 (stop workers absent)
C3 (result): 05:00 (2hrs work before breakfast break plus 3hrs work after it)
I have no idea how to handle it