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

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.

Forum statistics

Threads
1,223,886
Messages
6,175,190
Members
452,616
Latest member
intern444

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