My formula is as follow:
L31=IF(OR(J31=quot;quot;,K31=quot;quot;),quot;quot;,(J31-K31)/J31). M31is the goal number.
I set a conditional formatting that if L31 is less than M31 the cell is fill
red and if L31 is greater than or equal to M31 it will be green. When J31 and
K31 is blank, L31 is appear green.
I have another formula.
L43=IF(OR(J43=quot;quot;,K43=quot;quot;),quot;quot;,SUM(J43:K43)). I set some condtional formatting.
However when J43 and K43 is blank, L43 turn appear as red.
Why the difference?
What I dont understand is
Try this to correct L31's cond formatting ..
Select L31, then set the CF formulas/formats as:
Cond1: =OR(L31=quot;quot;,M31=quot;quot;)
Format: Leave it as quot;No Format setquot;
Cond2: =L31lt;M31
Format: Red fill
Cond3: =L31gt;=M31
Format: Green fill
For L43, your question was left hanging in mid-air? lt;ggt;
But think it'll work ok if you try something along the same lines as for L31
above
I'd usually set it to trap for quot;quot; as the first condition
before going into the other numeric conditions
--
Max
Singapore
savefile.com/projects/236895
xdemechanik
---
quot;chiuinggumquot; wrote:
gt; My formula is as follow:
gt; L31=IF(OR(J31=quot;quot;,K31=quot;quot;),quot;quot;,(J31-K31)/J31). M31is the goal number.
gt; I set a conditional formatting that if L31 is less than M31 the cell is fill
gt; red and if L31 is greater than or equal to M31 it will be green. When J31 and
gt; K31 is blank, L31 is appear green.
gt;
gt; I have another formula.
gt; L43=IF(OR(J43=quot;quot;,K43=quot;quot;),quot;quot;,SUM(J43:K43)). I set some condtional formatting.
gt; However when J43 and K43 is blank, L43 turn appear as red.
gt; Why the difference?
gt;
gt; What I dont understand is
- Mar 09 Fri 2007 20:36
conditional formating for blank.
close
全站熱搜
留言列表
發表留言