ExcelBanter

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

Contracto

Conditional formatting dates
 
I am trying to discover a conditional formatting formula for the following:

Todays Date Date Column 1 Date Column 2

If the date in Column 1 cell is less than Todays Date and Column 2 cell is
blank then highlight cell in Column 1 Red. If Column 2 cell contains a date
then highlight Column 1 cell Green.

Any help would be much appreciated

Bob Phillips

Conditional formatting dates
 
=AND(A1<TODAY(),B1="") 'red

=AND(A1<TODAY(),B1<"") 'green

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"Contracto" wrote in message
...
I am trying to discover a conditional formatting formula for the following:

Todays Date Date Column 1 Date Column 2

If the date in Column 1 cell is less than Todays Date and Column 2 cell is
blank then highlight cell in Column 1 Red. If Column 2 cell contains a
date
then highlight Column 1 cell Green.

Any help would be much appreciated




challa prabhu

Conditional formatting dates
 
Hi,

For more information on Conditional Formatting, refer to this link:
http://office.microsoft.com/en-us/ex...CL100570551033

Challa Prabhu


"Contracto" wrote:

I am trying to discover a conditional formatting formula for the following:

Todays Date Date Column 1 Date Column 2

If the date in Column 1 cell is less than Todays Date and Column 2 cell is
blank then highlight cell in Column 1 Red. If Column 2 cell contains a date
then highlight Column 1 cell Green.

Any help would be much appreciated



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

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