LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 4
Default Time calculation

I am trying to figure out a production problem that deals with job completion
and shifts.

There are 3 shifts working:
1st shift: 07:30-15:30
2nd shift: 15:30-23:30
3rd shift: 23:30-07:30

A job can be started and completed in 3 possibilities.
1) Starts and finshes on 1 shift = 1 hour before end of a shift.
2) Starts and finishes on 1 shift < 1 hour before end of a shift.
3) Starts on 1 shift and ends on another shift.

I will have a column for job start time and a column for job finish time. I
need a third column to show the following possibilities:


1st shift (job was started 1st shift and completed =1 hour before end of 1st)

1st/2nd shift (job was started 1st shift and completed < 1 hour before end
of 1st)

2nd shift (job was started 2nd shift and completed =1 hour before end of 2nd)

2nd/3rd shift (job was started 2nd shift and completed <1 hour before end of
2nd)

3rd shift (job was started 3rd shift and completed =1 hour before end of 3rd)

3rd/1st shift (job was started 3rd shift and completed <1 hour before end of
3rd)

I am using the formula:
=IF(MOD(b1-a1,1)*1440=60,"1st shift","1st/2nd shift") but i need to take
into consideration all the shifts, plus when the job starts. Does anyone have
advice? Thanks in advance.

Rawknee
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Stop time - start time calculation squack21 Excel Worksheet Functions 5 December 10th 07 03:20 PM
Time calculation (Subraction of Idle Time) Ajay Excel Discussion (Misc queries) 6 March 4th 07 11:54 AM
Time Calculation wnfisba Excel Discussion (Misc queries) 5 October 18th 06 01:06 PM
Ignoring Time in a Date Time Calculation nmp Excel Worksheet Functions 3 November 23rd 05 08:32 PM
time calculation with military time Ron Thetford Excel Worksheet Functions 8 July 29th 05 07:24 PM


All times are GMT +1. The time now is 04:52 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"