Conditional Formatting Dates

J

John

I want to use conditional formatting to highlight cells in a column where
Today's date is greater than the cell value. What is the formula I would
use in the conditional formatting options?
 
B

Bob Phillips

=A1<TODAY()

--

HTH

RP
(remove nothere from the email address if mailing direct)
 
J

John

That didn't work.

Basically I have a column of due dates for projects, and I want to compare
that column with today's date. Any project with a date less than today's
date I want to change the cell color. So I am using conditional formatting.
I changed the test from cell value to formula, but I don't know the right
formula.
 
F

Frank Kabel

Hi
in which cells are your date values (exact cell references) and which cells
do you want to highlight
 
J

John

The dates are in cells G3 to G260. I want to highlight the cells that are
have a date that is less than today's date. This basically shows which
projects were scheduled to be done by now, but are not.
 
F

Frank Kabel

Hi
- select G3:G260
- goto the conditional format dialog and choose 'Formula is'
- enter
=G3<TODAY()
- choose your format
 
J

John

Ok, that seemed to work. Now I'd like to through a wrench in the whole
thing. I have some blank lines in that column. It is highlighting those as
being less than today(). How do I get around that?
 
B

Bob Phillips

=and(G3<>"",G3<TODAY())

--

HTH

RP
(remove nothere from the email address if mailing direct)
 
J

John

Thanks for everyone's help. I appreciate it. Now I can create this report
and have that automated.
 

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