Formula to Calculate Clock Out Time

L

Legacy 436357

Guest
Hi,

Can someone please come up with a formula? If I clock in at 8 am (cell L5) and need to work 9 hours (cell O2) what time do I clock out?

There is a lunch break:

L2 (12 pm)
L3 (1 pm)

Also this may be a job that carries over from the previous day as in the 18.0 hour JOB TIME can the formula allow for this too?

Thank you

Excel Workbook
IJKLMNO
2Lunch Start12:00 PMMax working hours per day9
3Lunch End1:00 PMMax hours per Invoice18
4JOB TIMESTART DATEDAYSTART TIMEEND DATEDAY2END TIME
56.08/27/2019,"dddd")]Tuesday8:00 AM<=$O$2,],WORKDAY(],1,Holidays))]8/27/2019,"dddd")]Tuesday
618.08/30/2019,"dddd")]Friday8:00 AM<=$O$2,],WORKDAY(],1,Holidays))]9/3/2019,"dddd")]Tuesday
Appointments
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).

Forum statistics

Threads
1,214,979
Messages
6,122,550
Members
449,088
Latest member
davidcom

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top