Conditional Format a Work Schedule

I am needing to conditional format a work schedule. I would like to color different times to indicate different shifts. Basically I want to tell excel "If the start time = 7:00 AND the end time = 17:00 THEN color both cells a certain color".

"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.

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

To highlight the cells if the Start Time = 7:00 and End Time =17:00, select the range B7:AC34 and use the below formula to make a new rule for conditional formatting and set the format as per your choice.

For that time period, the formula should be as given below.
But the cells where you see the time values as 00:00:00 (e.g. in E14), if you click on any of those cells and look at the formula bar, you will find a date and time value 01/01/1900 00:00:00 which in fact is equivalent to 1 and you can confirm it by changing the format of those cells to General. 1 here is the first data in the calendar recognized by excel as excel treats dates as real numbers.
So make the following formula to work properly, all you need is, delete the date part from those cells and the formula will fine.