ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Conditional Formatting help (https://www.excelbanter.com/excel-discussion-misc-queries/200744-conditional-formatting-help.html)

Dolphin

Conditional Formatting help
 
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?

Bob Phillips[_3_]

Conditional Formatting help
 
=AND(E7<"",(TODAY()=DATE(YEAR(E7)+1,MONTH(E7),DA Y(E7))))

=AND(E7<"",(TODAY()=DATE(YEAR(E7)+1,MONTH(E7),DA Y(E7))))

--
__________________________________
HTH

Bob

"Dolphin" wrote in message
...
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?




Dolphin

Conditional Formatting help
 
Thanks, Bob. That worked great!

"Bob Phillips" wrote:

=AND(E7<"",(TODAY()=DATE(YEAR(E7)+1,MONTH(E7),DA Y(E7))))

=AND(E7<"",(TODAY()=DATE(YEAR(E7)+1,MONTH(E7),DA Y(E7))))

--
__________________________________
HTH

Bob

"Dolphin" wrote in message
...
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?






All times are GMT +1. The time now is 07:06 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com