LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default conditional formatting using dates


To highlight dates 1 year old (to the day) or older use this formula
with conditional formatting "formula is" option.

=DATEDIF(A1,TODAY(),"y")

If you have blank cells in your range you might also wish to adapt that
to prevent blanks being highlighted so use

=(A1<"")*DATEDIF(A1,TODAY(),"y")


--
daddylonglegs
------------------------------------------------------------------------
daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486
View this thread: http://www.excelforum.com/showthread...hreadid=569234

 
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
Dates in Conditional Formatting help!!! Corey Excel Worksheet Functions 1 July 27th 06 10:08 AM
Conditional formatting - range of dates Annabelle Excel Discussion (Misc queries) 0 May 24th 06 03:52 PM
How do I use conditional formatting to hilite weekend dates where. IngeD Excel Worksheet Functions 1 April 19th 06 03:50 AM
conditional formatting question Deb Excel Discussion (Misc queries) 0 March 23rd 05 02:07 AM
conditional formatting overdue dates Joooooooo Excel Discussion (Misc queries) 1 February 7th 05 01:14 PM


All times are GMT +1. The time now is 11:41 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"