Conditional Format over Date Range

M

Meowzer

This should be simple, but. . .
I’m tracking delivery of files. On-time or early is green, one to five days
late is yellow, more than five days late is red. In my example, the due date
is stored in cell B4, the actual date received is in cell C5.

I am using conditional formatting, “Use formula to determine which cell to
format.†On-time or early is easy, I just enter =($B$4 >= $C5) to say if due
date is greater than or equal to received date, and set my fill color. Very
late is easy, I enter =(($B$4+5)<$C5 +5) to say if due date plus 5 is less
than received date.

The middle ground has me stumped. How do I say if received date is within a
range of the due date (due date plus 1 through due date plus 5, inclusive)?
 
J

John C

=AND($C5>$B$4,$C5<=($B$4+5))

I think I would change your 'very late' formula to this:
=$C5>($B$4+5)

Hope this helps.
 
M

Meowzer

Thanks so much, this works like a charm.

John C said:
=AND($C5>$B$4,$C5<=($B$4+5))

I think I would change your 'very late' formula to this:
=$C5>($B$4+5)

Hope this helps.
 

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

Top