Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8
Default Can a cell be changed on a certain date

I have Excel 2003 and I want a cell to change colors when the date i put in
the cell is within six months of todays date. Is this possible?
if A1 has 12NOV08 and A2 has 12NOV09 how can I get A2 to change to red when
its six months from todays date
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 47
Default Can a cell be changed on a certain date

Please follow following steps
1.Set the cells A1 and A2 to display date format as:-
select the cell right click format cells number tab select date
from category list select 03/14/01 from type list click ok
2.Now select A2 and click formatconditional formatting from the toolbar
3.In the dialog box, select cell value is from the left drop down list
4.select between from the middle drop down list
5.enter =$A$1 in the box to the between drop down list
6. enter =DATE(YEAR(A1),MONTH(A1)+6,DAY(A1)) to the last box
7.click format button and choose your color
8. click ok

Now you are done!......



Chris
------
Convert your Excel spreadsheet into an online calculator.
http://www.spreadsheetconverter.com

--
Message posted via http://www.officekb.com

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Can a cell be changed on a certain date

As a matter of interest, Chris, why have you done step 1, changing the
format of the date display?
Wouldn't the CF work regardless of what the date format display is?

The only logic I can see in changing the date format would be to spot if it
doesn't change, which would then tell you that the date contained text,
rather than a date, but if that was your logic in trying the format change,
you'd probably need to tell the OP what to do with the text if that is what
your test found.
--
David Biddulph

"Chris Bode via OfficeKB.com" <u49096@uwe wrote in message
news:90feb084e3c6a@uwe...
Please follow following steps
1.Set the cells A1 and A2 to display date format as:-
select the cell right click format cells number tab select date
from category list select 03/14/01 from type list click ok
2.Now select A2 and click formatconditional formatting from the toolbar
3.In the dialog box, select cell value is from the left drop down list
4.select between from the middle drop down list
5.enter =$A$1 in the box to the between drop down list
6. enter =DATE(YEAR(A1),MONTH(A1)+6,DAY(A1)) to the last box
7.click format button and choose your color
8. click ok

Now you are done!......



Chris
------
Convert your Excel spreadsheet into an online calculator.
http://www.spreadsheetconverter.com

--
Message posted via http://www.officekb.com



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
Auto enter current date in cell when another changed Andy Smith[_3_] Excel Worksheet Functions 7 June 24th 09 10:53 PM
STORE THE DATE & TIME THE VALUE HAS CHANGED IN A CELL Asoka Walpitagama - Brandix College IT Excel Discussion (Misc queries) 1 January 29th 09 12:12 PM
Insert date when a cell is changed jen2018 Excel Discussion (Misc queries) 3 October 29th 08 04:36 PM
How to auto insert date in one cell when another is changed Jim Excel Worksheet Functions 1 September 5th 08 12:02 PM
can i see the date the last time a cell was changed? JohnNuTek New Users to Excel 3 May 10th 07 11:32 PM


All times are GMT +1. The time now is 01:36 PM.

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"