Excel date recognition issues

MaureiraMat

New Member
Joined
Jun 7, 2016
Messages
44
Hello,

I have a question on a chart that I am trying to build in excel. My goal is to find out if production on a machine is " on time to start date compared to the finish date, taking into consideration there is a " set up time and run time ".

Columns: L=start date , M=finish date , N= set up , O= run time

The problem I think I am running into is that when I have a start date of 6\6\16 and a finish date of 6\6\16 and my run time+set up time only = 5hrs for example, excel is thinking it is going to take 5 days ( this is what I think is going on). I don't think excel can tell this the set up time and run time is in hours and because of this it is showing everything as "late".


Here is the formula I am using: =IF(L40+N40+O40<M40,"On Time","Late")

If anyone could help me out i would greatly appreciate it!!

Thanks,

Mat
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
Hello,

I have a question on a chart that I am trying to build in excel. My goal is to find out if production on a machine is " on time to start date compared to the finish date, taking into consideration there is a " set up time and run time ".

Columns: L=start date , M=finish date , N= set up , O= run time

The problem I think I am running into is that when I have a start date of 6\6\16 and a finish date of 6\6\16 and my run time+set up time only = 5hrs for example, excel is thinking it is going to take 5 days ( this is what I think is going on). I don't think excel can tell this the set up time and run time is in hours and because of this it is showing everything as "late".


Here is the formula I am using: =IF(L40+N40+O40<m40,"on time","late")

If anyone could help me out i would greatly appreciate it!!

Thanks,

Mat

Looks like the formula did not paste. =IF(L40+N40+O40<M40,"On Time","Late")


</m40,"on>
 
Upvote 0
Put spaces around any < or > symbols you have in the formula.
Forum software tends to treat them as HTML code tags, and formulas get cut off.
 
Upvote 0
seems like some formatting issue, Right click on cells with Time and then click on 'Format cells', choose Time formats
 
Upvote 0
I tried that and it seems to be only changing the " time zone". It is not making excel understand that my run time and set up time are not in days but in hours.
 
Upvote 0
Seq #QtyQty CompQty AvailStart DateFinish DateSet HrsRun HrsSetWO Due DateDays LateDays AgedPrev ResourceNext ResourceOps LeftCommentsLate/OntimeOTD TO NEXT OP %Sched Finish DateOTD TO MPSOTD TO MPS %
9010006/22/20166/22/201611N6/15/2016377S-LPIS-LPI8Late0.00%7/22/2016Late0.00%
1520006/10/20166/10/2016113N8/8/2016-1870RECV INSPDEBURR13Late0.00%7/21/2016Late0.00%
2020006/15/20166/16/2016013N8/8/2016-1870INT-100INSP11Late0.00%7/21/2016Late0.00%
1720006/13/20166/14/2016013N8/8/2016-1870INT-100IDENT12Late0.00%7/21/2016Late0.00%

<colgroup><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col></colgroup><tbody>
</tbody>
 
Upvote 0
If N40 and O40 are whole numbers representing hours, then they are considered DAYS by Excel's Date/Time logic.

Try

=IF(L40+TIME(N40,0,0)+TIME(O40,0,0) < M40, "On Time" , "Late " )
 
Upvote 0
It looks like this formula has changed many of the "late's" to "on times". If you could just give me an explanation of why this has changed them so I can better understand I would appreciate it. Has this formula made excel know that "n" and "o" are now in hours and not days?
 
Upvote 0
I still don't think that excel is counting the run time and set up time as hours. A job that starts on 6/13/16 and finishes on 6/13/16 with run and set up hours equaling 2 total is still showing as late even though there is 24 hours between the time it has to start and finish.

WO IDSeq #QtyQty CompQty AvailStart DateFinish DateSet HrsRun HrsSetWO Due DateDays LateDays AgedPrev ResourceNext ResourceOps LeftCommentsLate/OntimeOTD TO NEXT OP %Sched Finish DateOTD TO MPSOTD TO MPS %
WO-109363/1.01903006/13/20166/13/201611N8/29/20161427M0002-CNC LatheS-SHOT28Late 0.00%9/12/2016Late0.00%


<colgroup><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col></colgroup><tbody>
</tbody>
 
Upvote 0

Forum statistics

Threads
1,216,117
Messages
6,128,935
Members
449,480
Latest member
yesitisasport

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