ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Formula that returns a hi-lighted row (https://www.excelbanter.com/excel-discussion-misc-queries/196841-formula-returns-hi-lighted-row.html)

Clint

Formula that returns a hi-lighted row
 
I would like to look into a cell and return a high lighted row.

if todays date is less than 5 days prior the date in the cell, high light
the row green

if todays date is between 5 and 0 days prior the date in the cell, high
light the row amber

if todays date is 0 days prior or greater the date in the cell, high light
the row red

Can anyone help?

Thanks,
--
Clint

David Biddulph[_2_]

Formula that returns a hi-lighted row
 
Format/ Conditional Formatting/ Formula Is:
=TODAY()<$A1-5 format as green,
=TODAY()<$A1 format as amber
=ISNUMBER($A1) format as red
--
David Biddulph

"Clint" wrote in message
...
I would like to look into a cell and return a high lighted row.

if todays date is less than 5 days prior the date in the cell, high light
the row green

if todays date is between 5 and 0 days prior the date in the cell, high
light the row amber

if todays date is 0 days prior or greater the date in the cell, high light
the row red

Can anyone help?

Thanks,
--
Clint





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

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