PC Review


Reply
Thread Tools Rate Thread

Cell colour according to date

 
 
Boenerge
Guest
Posts: n/a
 
      13th Mar 2008
Hi,
Is there a formula that would change the cell colour if a date in a cell was
out of date afetr a set number of years.
Example:
Cell B9 contained date 140506
I then want the cell B9 to turn red when the date reaches 2 years later
140508.
Thanks in advance
Jason
 
Reply With Quote
 
 
 
 
Gary''s Student
Guest
Posts: n/a
 
      13th Mar 2008
Let's assume that your example date is 14 May 2006.

Click on B9 and:

Format > Conditional Formatting... > Formula Is > =TODAY()-B9>731
then pick the colour red.
--
Gary''s Student - gsnu200773
 
Reply With Quote
 
Bob Phillips
Guest
Posts: n/a
 
      13th Mar 2008
Use conditional formatting with a formula of

=DATE(YEAR(B9)+2,MONTH(B9),DAY(B9))<TODAY()

--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my addy)



"Boenerge" <(E-Mail Removed)> wrote in message
news:ED529FE6-680F-473E-98E8-(E-Mail Removed)...
> Hi,
> Is there a formula that would change the cell colour if a date in a cell
> was
> out of date afetr a set number of years.
> Example:
> Cell B9 contained date 140506
> I then want the cell B9 to turn red when the date reaches 2 years later
> 140508.
> Thanks in advance
> Jason



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing one cell colour by inserting date in another cell =?Utf-8?B?Sm9oYW5uTQ==?= Microsoft Excel Worksheet Functions 3 4th Sep 2006 07:42 PM
After a cell changes colour when a date is near =?Utf-8?B?Y2l0eWZj?= Microsoft Excel Misc 3 10th Jan 2006 03:58 PM
How can i change cell colour depending on month of date in cell? andy75 Microsoft Excel Misc 2 6th Jan 2006 07:46 AM
counting by colour only if a cell contains a date??? Simon Lloyd Microsoft Excel Programming 2 29th Oct 2004 02:33 PM
counting by colour only if a cell contains a date??? Simon Lloyd Microsoft Excel Programming 1 29th Oct 2004 12:32 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:06 PM.