Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
dan dan is offline
external usenet poster
 
Posts: 866
Default Conditional Formating For a Date

I would like to set a conditional format for a date, day-month-2 digit year.
If I enter any give date in a cell, and once that date exceeds 2 yrs, then I
would like the text or the cell to be highted to a color.
Thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,805
Default Conditional Formating For a Date

Use the following formula in FORMULA is
=(A1-Today())730

assuming your dates are in Col A

"Dan" wrote:

I would like to set a conditional format for a date, day-month-2 digit year.
If I enter any give date in a cell, and once that date exceeds 2 yrs, then I
would like the text or the cell to be highted to a color.
Thanks

  #3   Report Post  
Posted to microsoft.public.excel.misc
dan dan is offline
external usenet poster
 
Posts: 866
Default Conditional Formating For a Date

Will this still work even if they are not todays dates. Some of these dates
go back a yaer or so.

"Sheeloo" wrote:

Use the following formula in FORMULA is
=(A1-Today())730

assuming your dates are in Col A

"Dan" wrote:

I would like to set a conditional format for a date, day-month-2 digit year.
If I enter any give date in a cell, and once that date exceeds 2 yrs, then I
would like the text or the cell to be highted to a color.
Thanks

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,805
Default Conditional Formating For a Date

Yes. Today() gives you the today's date and then compares it with the date in
A1

NOTE: I gave you the wrong direction.
Pl. use
=(Today() - A1)730

Use 731 Iinstead of 730) if you want to take care of leap year...
"Dan" wrote:

Will this still work even if they are not todays dates. Some of these dates
go back a yaer or so.

"Sheeloo" wrote:

Use the following formula in FORMULA is
=(A1-Today())730

assuming your dates are in Col A

"Dan" wrote:

I would like to set a conditional format for a date, day-month-2 digit year.
If I enter any give date in a cell, and once that date exceeds 2 yrs, then I
would like the text or the cell to be highted to a color.
Thanks

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 based on Date Flcnmech Excel Worksheet Functions 1 February 14th 08 08:21 PM
Conditional Formating Jithu Excel Discussion (Misc queries) 1 September 27th 07 01:01 PM
Conditional Formating Based on Date Roy Excel Discussion (Misc queries) 5 June 7th 06 04:49 PM
Install dates formating using conditional formating? Jerry Eggleston Excel Discussion (Misc queries) 2 November 9th 05 05:49 PM
Conditional formating w/ Date Steven Stadelhofer Excel Worksheet Functions 1 February 3rd 05 05:29 PM


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