PC Review


Reply
Thread Tools Rate Thread

calculate finishing time if night shift aren't working

 
 
Martin B
Guest
Posts: n/a
 
      20th Jun 2007
I have a spread sheet used for production planning which predicts the finsh time of a job depending on its duration. This works fine but I now have the problem that production is no longer 24 hours so if a 12 hour job starts at 15:00, no work will be done between 21:00 and 06:00 (9 hours) so it will finish at 12:00 noon on the following day.
Is there a formula that will add 9 hours to the duration if the calculated finish time falls during the night shift?

Thanks in anticipation
Martin
 
Reply With Quote
 
 
 
 
David Biddulph
Guest
Posts: n/a
 
      20th Jun 2007
If your start time is in A2, duration in B2, night shift start time in C$2, night shift finish time in D$2:
Finish time would be =A2+B2+IF(A2+B2>C$2,MOD(D$2-C$2,1))
--
David Biddulph

"Martin B" <(E-Mail Removed)> wrote in message news:(E-Mail Removed)...
I have a spread sheet used for production planning which predicts the finsh time of a job depending on its duration. This works fine but I now have the problem that production is no longer 24 hours so if a 12 hour job starts at 15:00, no work will be done between 21:00 and 06:00 (9 hours) so it will finish at 12:00 noon on the following day.
Is there a formula that will add 9 hours to the duration if the calculated finish time falls during the night shift?

Thanks in anticipation
Martin
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Calculate hours worked outside regular shift using date/time and iff condition Allen Browne Microsoft Access Queries 1 22nd Jul 2009 03:26 PM
Calculate Total hours worked during workdays within given shift time. noname Microsoft Excel Misc 2 8th Apr 2007 06:28 PM
Calculate Total hours worked during workdays within given shift time. sifar Microsoft Excel Discussion 0 8th Apr 2007 12:21 PM
Night shift hours dilema sonar Microsoft Excel Programming 5 29th Apr 2004 10:51 PM
Night shift hours sonar Microsoft Excel Worksheet Functions 7 29th Apr 2004 06:22 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:36 PM.