Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default Conditional formating dates

I have a range of dates in a column and I would like it if I could highlight
any date that is more that 3 years old.

So if the date reads 02/10/2004 this should be highlighted red.

I would really appriciate a bit of help.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 457
Default Conditional formating dates

CF formula is:

=DATEDIF(A2,TODAY(),"y")=3

--
Best Regards,

Luke M
"Teeny" wrote in message
...
I have a range of dates in a column and I would like it if I could
highlight
any date that is more that 3 years old.

So if the date reads 02/10/2004 this should be highlighted red.

I would really appriciate a bit of help.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default Conditional formating dates

1. Select the cell/Range (say A1:A10). Please note that the cell reference A1
mentioned in the formula is the active cell in the selection. Active cell
will have a white background even after selection
2. From menu FormatConditional Formatting
3. For Condition1Select 'Formula Is' and enter the below formula
=AND(A10,DATEDIF(A1,TODAY(),"y")3)

4. Click Format ButtonPattern and select your color (say Red)
5. Hit OK

PS: If you are using XL2007 Goto Home tabStylesConditional
FormattingManage rulesNew ruleUse a formula to determine which cells to
format. Enter the formula in the box below.

--
Jacob (MVP - Excel)


"Teeny" wrote:

I have a range of dates in a column and I would like it if I could highlight
any date that is more that 3 years old.

So if the date reads 02/10/2004 this should be highlighted red.

I would really appriciate a bit of help.

Reply
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 formating with dates Lost Jason Excel Worksheet Functions 1 August 12th 09 10:13 PM
conditional formating on dates Margotbf Excel Discussion (Misc queries) 6 May 28th 08 02:46 PM
conditional formating dates Brockjr38 Excel Worksheet Functions 1 February 13th 06 11:04 PM
Install dates formating using conditional formating? Jerry Eggleston Excel Discussion (Misc queries) 2 November 9th 05 05:49 PM
CONDITIONAL FORMATING DATES tomklem Excel Discussion (Misc queries) 3 October 7th 05 04:24 PM


All times are GMT +1. The time now is 10:30 PM.

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"