LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
mtheo
 
Posts: n/a
Default Conditional Formatting

Although I have to say I am not sure I understand what you meant by "the cell
says "yes-11/30/05" " here is what you can do in the general case for
conditional formatting:

Assume your date cell (cell A1) says "11/30/05". Let's see the following
cases:
1. You need to compare the cell value with the current date.

Highlight the cell(s), select Format-Conditional Formatting and in the
Conditional Formatting window select "Formual Is". In the formula field that
opens just enter the expression:

= $A1<now( )
and then select the desired formatting using the "Format..." button

2. You need to compare the cell value with a date of another cell in the
Sheet (e.g. B1).

Do the same as in (1) but the formula will be:

= $A1<$B$1

3. You need to compare the cell value with a date that does not appear on
any other cell in the Sheet (although not recommended as in any change you
will have to change all the conditional formatting (e.g. this date is
12/15/2005).

Do the same as in (1) and (2) but the formula will be:

= $A1< DATE(2005;12;15)

Hope it works for you

Markos

"clsmiles56" wrote:

Hi, I am in need of help with the conditional formatting feature. I have a
spreadsheet where dates are entered in for the expiration of insurance, and I
am wanting a way to format where the cell will be highlighted once it pasts a
certain date, so I can know what ones are expired and need to be updated.
For example, if the cell says "yes - 11/30/05", I want to have it highlighted
since it is before 02/01/06. I have tried looking up in the help and trying
things, but I still could not figure it out. Can anybody help with this?

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Conditional Formatting when inserting a row zahoulik Excel Worksheet Functions 2 January 7th 06 03:01 PM
Conditional Formatting Error ddate Excel Worksheet Functions 0 May 5th 05 09:00 PM
difficulty with conditional formatting Deb Excel Discussion (Misc queries) 0 March 23rd 05 06:13 PM
Determine cells that drive conditional formatting? Nicolle K. Excel Discussion (Misc queries) 2 January 7th 05 01:08 AM
Conditional formatting not available in Excel BAB Excel Discussion (Misc queries) 2 January 1st 05 03:33 PM


All times are GMT +1. The time now is 11:32 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"