Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 3
Default Conditional Formatting Dates Less Than 14 Years Ago

I need to conditionally format all dates in a column less than 14 years from today. Example: Today is 7/11/2012 so all dates from 7/12/1998 to the present need to be highlighted via conditional formatting.

Data resides in column I and the first cell w/ data is I3. I'm using Excel 2010 on Windows XP.

Thanks so much for any assistance you can provide!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,872
Default Conditional Formatting Dates Less Than 14 Years Ago

Hi,

Am Wed, 11 Jul 2012 12:55:00 +0000 schrieb rsexcel:

I need to conditionally format all dates in a column less than 14 years
from today. Example: Today is 7/11/2012 so all dates from 7/12/1998 to
the present need to be highlighted via conditional formatting.

Data resides in column I and the first cell w/ data is I3


formula in CF:
=I3DATE(YEAR(TODAY())-14,MONTH(TODAY()),DAY(TODAY()))


Regards
Claus Busch
--
Win XP PRof SP2 / Vista Ultimate SP2
Office 2003 SP2 /2007 Ultimate SP2
  #3   Report Post  
Junior Member
 
Posts: 3
Default

Quote:
Originally Posted by Claus Busch View Post
Hi,

Am Wed, 11 Jul 2012 12:55:00 +0000 schrieb rsexcel:

I need to conditionally format all dates in a column less than 14 years
from today. Example: Today is 7/11/2012 so all dates from 7/12/1998 to
the present need to be highlighted via conditional formatting.

Data resides in column I and the first cell w/ data is I3


formula in CF:
=I3DATE(YEAR(TODAY())-14,MONTH(TODAY()),DAY(TODAY()))


Regards
Claus Busch
--
Win XP PRof SP2 / Vista Ultimate SP2
Office 2003 SP2 /2007 Ultimate SP2
Thank you! That works perfectly.
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 formatting from Dates DavidM Excel Worksheet Functions 3 June 11th 09 05:00 PM
Conditional Formatting with Dates jstegall Excel Programming 0 November 28th 07 06:39 PM
Conditional formatting dates Contracto Excel Discussion (Misc queries) 2 April 10th 07 07:52 AM
Conditional formatting dates Joe Excel Discussion (Misc queries) 2 January 17th 07 02:28 PM
How do I subtract dates to get a number in years or years & month jude Excel Discussion (Misc queries) 2 August 25th 06 08:02 PM


All times are GMT +1. The time now is 08:35 AM.

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

About Us

"It's about Microsoft Excel"