8 hour day

P

Patty B

I have a manufacturing job that will take 10 hours. We work one 8-hour
shift. If i start the job on Monday, May 19, 2008 at 8am I need to calculate
what day and time it will finish, which is Tuesday at 10am. (8 hours on
Monday and 2 hours on Tuesday). I then need to add the number of hours for
the next job to complete the schedule the week. Any suggestions?
 
D

David Biddulph

In the absence of an answer to my question, try:
=IF(MOD(A1+INT(A2/8)+MOD(A2,8)/24,1)<=B1,A1+INT(A2/8)+MOD(A2,8)/24,A1+INT(A2/8)+1+MOD(A2,8)/24-8/24)

if A1 is the start date and time, B1 is the duration in hours, and A2 is the
time of day for the end of the working shift.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top