Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 586
Default Set Priority for Conditional Formatting in Excel 2003

I have a worksheet that is conditonally formatted to change the interior
color of every other row to make viewing the data easier. I have one
particular column that contains dates. I want to add a second condition that
if the date in the column is less than today's date then change interior
color to red. I want this second condition to take priority over the first
condition, how can I do that in Excel 2003?
--
Cheers,
Ryan
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,939
Default Set Priority for Conditional Formatting in Excel 2003

Conditional formatting is applied in the order that they are created.

If Condition 1 = True then
apply Format 1
elseif Conditon2 = true then
apply Format 2
elseif Conditon3 = true then
apply Format 3
end if

So if the first conditon is met then the second condition is never
evaluated. As a guess you just have your conditions in the wrong order...
--
HTH...

Jim Thomlinson


"RyanH" wrote:

I have a worksheet that is conditonally formatted to change the interior
color of every other row to make viewing the data easier. I have one
particular column that contains dates. I want to add a second condition that
if the date in the column is less than today's date then change interior
color to red. I want this second condition to take priority over the first
condition, how can I do that in Excel 2003?
--
Cheers,
Ryan

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Set Priority for Conditional Formatting in Excel 2003

On Sep 17, 11:25*am, Jim Thomlinson <James_Thomlin...@owfg-Re-Move-
This-.com wrote:
Conditional formatting is applied in the order that they are created.

If Condition 1 = True then
* apply Format 1
elseif Conditon2 = true then
*apply Format 2
elseif Conditon3 = true then
*apply Format 3
end if

So if the first conditon is met then the second condition is never
evaluated. As a guess you just have your conditions in the wrong order...
--
HTH...

Jim Thomlinson



"RyanH" wrote:
I have a worksheet that is conditonally formatted to change the interior
color of every other row to make viewing the data easier. *I have one
particular column that contains dates. *I want to add a second condition that
if the date in the column is less than today's date then change interior
color to red. *I want this second condition to take priority over the first
condition, how can I do that in Excel 2003?
--
Cheers,
Ryan- Hide quoted text -


- Show quoted text -


Ryan-
Jim is correct. The precedence is set on which order they occur. To
do what you need, highlight just the cells in the date column and
bring up Conditional formatting. The every other row formatting
should be listed as condition 1. Add a second condition and make it
equal to the first condition. Then, go back to the first condition
and modify it to do the red formatting.

It's just a matter of reordering the conditions.
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
EXCEL 2003 - Conditional Formatting Peterepeat Excel Discussion (Misc queries) 2 January 14th 10 04:44 PM
Conditional formatting excel 2003 Kostas Excel Discussion (Misc queries) 2 April 2nd 09 12:11 PM
Excel 2003 and 2007 priority setting Asurion Bill Excel Discussion (Misc queries) 3 January 25th 09 06:21 PM
Conditional formatting in Excel 2003 Bruce McGinnis Excel Discussion (Misc queries) 3 October 16th 08 12:20 AM
Priority order in conditional formatting Eric D Excel Discussion (Misc queries) 2 July 10th 08 05:16 PM


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