LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11
Default Conditional Format based on date ranges

The following works for me
Select the first cell (calculated or not - it makes no difference) for the
conditional formatting

Format
Conditional Formatting
Condition 1
<Cell Value between =now()-1 and =now()+14
format to required green
Add condition 2
<Cell Value between =now()+15 and =now()+30
format to required yellow
Add condition 3
<Cell Value greater than =now()+30
format to required red

(Note that in the conditions there are no spaces)

OK
Click on FORMAT PAINTER
Highlight all the cells the formatting is to apply to

Hope this solves your problem

Don C


"Corey" wrote:

Thanks for the reply.
I have entered as you suggested, but i do not get ANY shading at all??


--
Regards

Corey

"daddylonglegs"
wrote in message
news:daddylonglegs.2bs6qv_1154301011.7433@excelfor um-nospam.com...

The order in which you apply the conditions is important. You can use
"formula is" but "cell value is" works fine too. Use something like
this

condition 1
"cell value is" Greater than =TODAY()+30
red format

condition 2
"cell value is" Greater than =TODAY()+14
yellow format

condition 3
"cell value is" Greater than =TODAY()
green format


--
daddylonglegs
------------------------------------------------------------------------
daddylonglegs's Profile:
http://www.excelforum.com/member.php...o&userid=30486
View this thread: http://www.excelforum.com/showthread...hreadid=566469




 
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 format by comparing to current date Kitfox Excel Worksheet Functions 6 January 25th 07 09:16 AM
Changing date format in a footer Gord Dibben Excel Discussion (Misc queries) 2 December 9th 05 06:36 PM
Date Format Problems?? nastech Excel Discussion (Misc queries) 5 November 14th 05 01:53 AM
Conditional Format based on contents of cell. dave m Excel Worksheet Functions 13 April 29th 05 01:12 PM
How do I do conditional format based on a cell with a formula? Justin Excel Worksheet Functions 9 December 17th 04 02:05 PM


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