I want my cells to turn
red if I enter quot;FAILquot;
yellow if I enter quot;EVALquot;
green if I enter either quot;OKquot; or quot;NAquot;
The standard setup for conditional formatting gives me only 3 choices
and no possibility to make one of the conditions a logical expression,
but I can't believe that such strict limitations really apply.
Isn't there a way to add more conditions?NSV--
nsv
------------------------------------------------------------------------
nsv's Profile: www.excelforum.com/member.php...oamp;userid=26500
View this thread: www.excelforum.com/showthread...hreadid=520006
You are limited to 3 choices, or 4 if you count the colour the cell is
if none of the criteria is met, if you search this site there are
macros which give you as many choices as you could wish.
However if you only wish to do what you said wanting 2 values to turn
it green and the cell you areintersted in is c6, go to conditional
formatting choose formula and add the following
=OR(C6=quot;okquot;,C6=quot;NAquot;)
and choose to make the cells green!
If it does not work check that excel has not added quotes around
everything
Regards
Dav--
Dav
------------------------------------------------------------------------
Dav's Profile: www.excelforum.com/member.php...oamp;userid=27107
View this thread: www.excelforum.com/showthread...hreadid=520006You can actually have 4 values, as there is always a default value, one that
doesn't adhere to the 3 specified conditions.
And you can use a logical expression in CF, just change Condition 1 to
Formula Is.
You could use worksheet_change events to manage more than 3 conditions, if
you want to go that way.
And finally, you could try this free add-in
www.xldynamic.com/source/xld.....Download.html.
--
HTH
Bob Phillips
(remove nothere from email address if mailing direct)
quot;nsvquot; gt; wrote in message
...
gt;
gt; I want my cells to turn
gt; red if I enter quot;FAILquot;
gt; yellow if I enter quot;EVALquot;
gt; green if I enter either quot;OKquot; or quot;NAquot;
gt;
gt; The standard setup for conditional formatting gives me only 3 choices
gt; and no possibility to make one of the conditions a logical expression,
gt; but I can't believe that such strict limitations really apply.
gt;
gt; Isn't there a way to add more conditions?
gt;
gt;
gt; NSV
gt;
gt;
gt; --
gt; nsv
gt; ------------------------------------------------------------------------
gt; nsv's Profile:
www.excelforum.com/member.php...oamp;userid=26500
gt; View this thread: www.excelforum.com/showthread...hreadid=520006
gt;
The 4th default condition is trivial; actually I have more than 4
different situations, but as far as I can see it is possible only to
select 3 different reactions (plus the do-nothing-default), in casu
background color, unless I turn to macro'ing or the add-in Bob suggests
- thanks for that tip, I shall have to look into that.
Anyway, the quot;Formula isquot; solution with an OR expression works just fine
until now, so thanks a lot.NSV--
nsv
------------------------------------------------------------------------
nsv's Profile: www.excelforum.com/member.php...oamp;userid=26500
View this thread: www.excelforum.com/showthread...hreadid=520006
- Dec 18 Thu 2008 20:47
More than 3 conditions for formatting
close
全站熱搜
留言列表
發表留言
留言列表

