View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Eduardo Eduardo is offline
external usenet poster
 
Posts: 2,276
Default conditional formatting

Hi,
go to conditional formating, and use where the formula is
A2-A1395, options fill with red color

"John Johansen" wrote:

I am having trouble using conditional formatting when comparing two dates.
What I need is.

Cell A1 has a date 02/01/2007
Cell A2 has a date 03/05/2008

I want cell A2 Highlighted Red if the difference between the dates is 395
days or more.

I'm a novice in excel and any help is appreciated.

Thank you,
--
John Johansen