View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Gregory Day Gregory Day is offline
external usenet poster
 
Posts: 25
Default Conditional Format Based on Age, but not if blank.

That was AWESOME. Thank you!
--
Thank you,

Gregory


"Pete_UK" wrote:

In the CF dialogue box select Formula Is rather than Cell Value Is,
and enter this formula:

=AND(A1<"",A1<=TODAY()-180)

assuming the cell in question is A1 - adjust to suit.

Hope this helps.

Pete

On Mar 28, 7:45 pm, Gregory Day
wrote:
I was to apply conditional formating to a cell. In that cell is a date,
formatted as 3/28/2008.

The Conditional Formating should look at the date, if that date is 180 days
or more in the past, it should fill the cell with yellow. If the cell is
blank, it shouldbe left as is.

I have gotten the 180 day part to work with "Cell value is, less than or
equal to, =(TODAY()-180)"

But a blank cell is also "less than or equal to". How can I make it leave a
blank cell alone?
--
Thank you,

Gregory