Estimated Time of Departure and actual time of departure

%3CLINGO-SUB%20id%3D%22lingo-sub-2339736%22%20slang%3D%22en-US%22%3EEstimated%20Time%20of%20Departure%20and%20actual%20time%20of%20departure%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2339736%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Excel%20community%2C%3C%2FP%3E%3CP%3Eseeking%20your%20assistance%20to%20provide%20formula%20for%20column%20Q%2C%3C%2FP%3E%3CP%3EColumn%20Q%20must%20mark%20as%201%20if%20on-time%2C%20since%20actual%20time%20of%20departure%20is%20ahead%20(column%20K)%3C%2FP%3E%3CP%3Evs%20estimated%20time%20of%20departure%20(column%20I).%3C%2FP%3E%3CP%3E24%20hrs%20already%20converted%20into%20minutes.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Capture.JPG%22%20style%3D%22width%3A%20913px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F279402i0FFE35CB0D50CB74%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Capture.JPG%22%20alt%3D%22Capture.JPG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2339736%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2339750%22%20slang%3D%22en-US%22%3ERe%3A%20Estimated%20Time%20of%20Departure%20and%20actual%20time%20of%20departure%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2339750%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1049438%22%20target%3D%22_blank%22%3E%40Julius575%3C%2FA%3E%26nbsp%3BTry%20this%20instead%3A%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-excel%22%3E%3CCODE%3E%3DIF(K4%3D%22%22%2C%22%22%2C--(I4%2B1%26gt%3B%3DK4))%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3EThis%20will%20return%201%20in%20the%20given%20example.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Visitor

Hi Excel community,

seeking your assistance to provide formula for column Q,

Column Q must mark as 1 if on-time, since actual time of departure is ahead (column K)

vs estimated time of departure (column I).

24 hrs already converted into minutes.

Capture.JPG

 

1 Reply

@Julius575 Try this instead:

=IF(K4="","",--(I4+1>=K4))

This will return 1 in the given example.