View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.misc
lola5375 lola5375 is offline
external usenet poster
 
Posts: 4
Default Conditional Formatting by date

Do I need to have a cell with the date in it to reference?

I have narrowed down the problem to the DAYS360 function - it only takes
into account 30-day months. Is there a function that rcognizes the 31st day?

"Peo Sjoblom" wrote:

Use

=TODAY()-A3=0

and so on

--


Regards,


Peo Sjoblom

"lola5375" wrote in message
...
I have inherited a spreadsheet with some conditional formatting that has
stopped working. The goal is to highlight data a certain color based on
its
age (Today, 1 day old, 2 days old). This has worked until today (31st day
of
the month) and I cannot figure out how to change the formula to make it
work.
These are the current formulas:
=AND(DAYS360(A3,TODAY())=0,C3<"",J3="",O3="",P3=" ")
=AND(DAYS360(A3,TODAY())=1,C3<"",J3="",O3="",P3=" ")
=AND(DAYS360(A3,TODAY())=2,C3<"",J3="",O3="",P3=" ")

I have tried using cell value = TODAY(), but that hasn't worked...

Thanks in advance :)