Conditional formatting with time

D

Dale G

I’m trying to set up a conditional format for an entire row.
This sheet is used to track arrival times at a specific location. The
location has a scheduled arrival time in column C, and in column D I enter
the actual arrival time, and column E calculates the difference.
I use the 1904 time system so I’ll be able to calculate and show negative
time. Column E is set with =IF(D3=â€â€,â€â€,(D3-C3)) this will have column E
appear blank until the actual time is entered.
Without =IF(D3=â€â€,â€â€,(D3-C3)) in column E and with =D3-C3 this will show the
negative of the scheduled time i.e. -4:59 or -18:44. The schedule time is
always present in column C
I would like the conditional format to appear when the actual arrival time
calculation in column E is greater than 0:11 or 0.00763888888888889.
I’ve tried =$E3>0.00763888888888889 & this works when the time was recorded
but if for some reason a arrival time was not recorded or missed, the row is
highlighted.
Also the sheet covers an entire day, and it is not monitored all the time,
so the whole morning section of the sheet will be formatted if no one
recorded arrival times that morning.

Any help is appreciated.
 
D

David Biddulph

Your text entry "" is being compared with a number, and all text values are
greater than any number.

You could change your =$E3>0.00763888888888889 to
=AND(ISNUMBER($E3),$E3>TIME(,11,)) or
=AND($E3<>"",$E3>TIME(,11,))
 
D

Dale G

David & Pete, Thank you for the help, they all work well.

I'll use this one. =AND($E3<>"",$E3>--"0:10:59")
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top