Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Changing cell color if date is...

Hello,
How do i change the cell color in case the date in the cell is due after 3
months..?? and where i put the code if you give it to me...

thanks
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Changing cell color if date is...


You can use conditional formatting.

Assuming your date cell in A1. Go to Menu-Click Format- Conditional
Formatting

Click formula is, and paste the formula into it. Then, go to format and
format the way you want it, eg. go to the pattern tab to change the cell
colour.

=AND(DAY(TODAY())=DAY(A1),MONTH(TODAY())-MONTH(A1)=3,TODAY()-A1=90)

If you have multiple cells, select all the cells by clicking on A1 then
shift click the rest. Make sure A1 is selected, then conditional format
it by putting in the same formula.

The conditions above should be accurate enough to take care of most
conditions. Enjoy.


--
KellTainer
------------------------------------------------------------------------
KellTainer's Profile: http://www.excelforum.com/member.php...o&userid=34322
View this thread: http://www.excelforum.com/showthread...hreadid=550750

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
Changing the color of a cell based on the color of another cell. LATC Excel Discussion (Misc queries) 7 December 4th 09 09:49 PM
Cell colors or text color changing when date in cell gets closer. Chase Excel Worksheet Functions 5 October 19th 06 08:57 AM
Changing color of single bar based on x-axis date value [email protected] Charts and Charting in Excel 2 August 4th 06 05:17 PM
Changing color of line chart by date [email protected] Charts and Charting in Excel 0 July 10th 06 06:40 PM
Changing a cell color based on date entry ... T. Denford Excel Programming 6 April 14th 05 12:16 AM


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