I guess this is a question that has a stupid answer but I really couldn't fix this out.
I'm trying to make a hour comparison. I need to take any hour in column D and sum 11 hours (or 0,458333333333333) and if this value is less than the hour in corresponding row in column G then the value inside the cell should be blue. If the opposite is true, then the value should be red.
Let's take row 8 as an example. I'm using these formulas below:
Red
=(D8+0,458333333333333)<G8
Blue
=(D8+0,458333333333333)>=G8
As the print shows:
And that had worked the first value I inserted on cell G8. As 12h is greater then 0h+11h (11h AM), it turned correctly blue. But when I changed the value to 8h, it doesn't turn into red as you can see below.
I was supposing that this would chande dynamically. I'm not very used with conditional formatting, so I'll appreciate any suggestion to fix this little issue.


08:00) is less than 11 hours after midnight (00:00), so wouldn'tG8be red? 11 Hours after midnight is 11:00, which is greater than 08:00.