Excel Conditional Formating On Cells having Time value in HH:MM:SS

I am trying to put a conditional formating on the excel cells having the data in - HH:MM:SS and + HH:MM:SS format. If the time present in the cell is not in between +- 5 min then highlight that cell.
I have uploaded the excel file and looking to implement that sort of formating in Start and Stop column.

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Ryan ChongBusiness Systems Analyst , ex-Senior Application EngineerCommented:
in col D, try apply conditional formating:

=RIGHT(INDIRECT("D"&ROW()), LEN(INDIRECT("D"&ROW()))-3) > "0:05:00"

Open in new window

in col E, try apply conditional formating:

=RIGHT(INDIRECT("E"&ROW()), LEN(INDIRECT("E"&ROW()))-3) > "0:05:00"

Open in new window


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Subodh Tiwari (Neeraj)Excel & VBA ExpertCommented:
Not sure exactly if this is what you are trying to achieve.
But try this....

For column D, make a new rule for conditional formatting using the formula below and set the formatting as per your choice.

Open in new window

For column E, make a new rule for conditional formatting using the formula below and set the formatting as per your choice.

Open in new window

Foe details refer to the attached workbook.
[ fanpages ]IT Services ConsultantCommented:
A slightly different approach to sktneer...

I have added this Conditional Formatting rule criteria at column [D1] to apply all the way down column [D]:


Similarly, this applied to [E1], & applicable to all of the same column:


The formatting I have applied is a 'red' fill with 'yellow' text forecolo(u)r.

Please see the attached workbook.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.