Hello
I am trying to create a work schedule based on dates and times using excel 2013.
A1 = Current Date and Time =NOW()
A4 = Task Name (text format)
B4 = Time to complete task (in hh:mm format)
C4 = Completion date and time (=A1+B4) in dd/mm/yyyy hh:mm format
This currently works ok, however the dates and times presume I am working 24 hours a day, 7 days a week. I would like C4 to work within my work hours (Monday - Friday, 8.00 - 16.30).
Example - If the current date and time is Friday 06/09/2013 15:00 and I insert a task that is going to take 4 hours {B4 = 04:00 (hh:mm)}, I would like the completion date and time (C4) result to be Monday 09/09/2013 10:30, (the 4 hour task will take from 15:00 - 16:30 on the Friday, then 8:00 - 10:30 on the Monday).
Similarly when I add in the next line (Task Name in A5 and Duration in B5) C5 will =C4+B5, again I would like C5 to work within my work hours.
Can anybody help me with this?
Bookmarks