ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Conditional formating w/ Date (https://www.excelbanter.com/excel-worksheet-functions/11431-conditional-formating-w-date.html)

Steven Stadelhofer

Conditional formating w/ Date
 
I would like to format a date cell based on todays date.
e.g., if date before today format red font, if date after
today format black font. I can't seem to get this
condition to work for all my cells? not sure why.
Thanks for your help.

Steve

JulieD

Hi Steven

for the dates prior to today:

select the cells
choose format / conditional formatting
choose
cell value is
choose
less than
type
=today()
click the format button - set font as red
OK

for the after today :

click the ADD button
choose
cell value is
choose
greater than
type
=today()
click the format button - set font as black
OK twice

Cheers
JulieD


"Steven Stadelhofer" wrote in message
...
I would like to format a date cell based on todays date.
e.g., if date before today format red font, if date after
today format black font. I can't seem to get this
condition to work for all my cells? not sure why.
Thanks for your help.

Steve





All times are GMT +1. The time now is 06:35 AM.

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