Excel time issue

svenopi

New Member
Joined
Jul 20, 2017
Messages
2
Hey guys,

I have a issue I have been trying to figure out all day.

We have a KPI for a late early arrivals and our KPI if the departure is after 8 minutes of planned time or 12 minutes earlier, it qualifies as "on time". If its more than 12 minutes early it qualifies as "early" and if it is more than 8 later, it qualifies as "late".

I am trying to write a formula to capture that but due to negative times showing as larger, for example -00:06:00 shows as a bigger number than -00:05:00, I can figure out how to write the formula.

You can see from the picture below my table, I am trying to put the formula in column N for data in Column L.

Thank you in advance.
 

Attachments

  • Capture.PNG
    Capture.PNG
    40.6 KB · Views: 13

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
Screen captures are not easy to work from, there is too much detail missing. XL2BB captures are preferable.

See if this works for you, note that the results will not appear as negative.

J2: =MAX(I2-H2,0)
K2: =ABS(MIN(I2-H2,0))
L2: =MAX(J2,K2)
N2: =IF(J2>TIME(0,8,0),"Late",IF(K2>TIME(0,12,0),"Early","On Time"))

This is the best I can do from a screen captue.
 
Upvote 0

Forum statistics

Threads
1,214,591
Messages
6,120,425
Members
448,961
Latest member
nzskater

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