Conditional Formatting help

D

Dolphin

I have set the following conditions for my worksheet:

=(TODAY()>=DATE(YEAR(E7)+1,MONTH(E7),DAY(E7))) will shade red


=(TODAY()>=DATE(YEAR(E7)+1,MONTH(E7),DAY(E7))) will shade yellow

These conditions are set to each cell in the worksheet. The problem I
having is all the blank, or unfilled, blocks are now shaded red. I need them
unshaded if they are empty. What am I doing wrong or missing?
 
B

Bob Phillips

=AND(E7<>"",(TODAY()>=DATE(YEAR(E7)+1,MONTH(E7),DAY(E7))))

=AND(E7<>"",(TODAY()>=DATE(YEAR(E7)+1,MONTH(E7),DAY(E7))))
 
D

Dolphin

Thanks, Bob. That worked great!

Bob Phillips said:
=AND(E7<>"",(TODAY()>=DATE(YEAR(E7)+1,MONTH(E7),DAY(E7))))

=AND(E7<>"",(TODAY()>=DATE(YEAR(E7)+1,MONTH(E7),DAY(E7))))

--
__________________________________
HTH

Bob
 

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