close

I have searched all over and can't find an answer to this....

I want to color a cell depending on variables. I have 5 variables, so
unfortunately, conditional formatting won't work, what I did was create
an IF statement to get the variables down to 3 in the adjacent cell.
But when I go back in to conditional formatting, what formula do I use
to look at the adjacent cell?

i.e. Depending on what number is typed in A1...A2 can equal G, Y, or
R. I can build the three conditional formats to color G,Y,R the way I
want...but I can't figure out what the formula is to look at A2 to
determine it's value.

Cell A1 Cell A2
11455 G

Or is there another way to utilize conditional formatting when I have
the following variables...

gt;11001 = R
10001 - 11000 = Y
6700 - 10000 = G
4500- 6699 = Y
lt;4499 = R

Mucho Gracia to anyone who might be able to help!!! --
meandmyhorse
------------------------------------------------------------------------
meandmyhorse's Profile: www.excelforum.com/member.php...oamp;userid=31689
View this thread: www.excelforum.com/showthread...hreadid=513872Actually, you won't need anything in Column B. All of your conditions can be
met just with Conditional Formatting in Column A.

Use these 3 formulas:

=OR(A1lt;=4499,A1gt;=11001)

=OR(AND(A1gt;=4500,A1lt;=6699),AND(A1gt;=10001,A1lt;=11000 ))

=AND(A1gt;=6700,A1lt;=10000)

HTH,
Elkar

quot;meandmyhorsequot; wrote:

gt;
gt; I have searched all over and can't find an answer to this....
gt;
gt; I want to color a cell depending on variables. I have 5 variables, so
gt; unfortunately, conditional formatting won't work, what I did was create
gt; an IF statement to get the variables down to 3 in the adjacent cell.
gt; But when I go back in to conditional formatting, what formula do I use
gt; to look at the adjacent cell?
gt;
gt; i.e. Depending on what number is typed in A1...A2 can equal G, Y, or
gt; R. I can build the three conditional formats to color G,Y,R the way I
gt; want...but I can't figure out what the formula is to look at A2 to
gt; determine it's value.
gt;
gt; Cell A1 Cell A2
gt; 11455 G
gt;
gt; Or is there another way to utilize conditional formatting when I have
gt; the following variables...
gt;
gt; gt;11001 = R
gt; 10001 - 11000 = Y
gt; 6700 - 10000 = G
gt; 4500- 6699 = Y
gt; lt;4499 = R
gt;
gt; Mucho Gracia to anyone who might be able to help!!!
gt;
gt;
gt; --
gt; meandmyhorse
gt; ------------------------------------------------------------------------
gt; meandmyhorse's Profile: www.excelforum.com/member.php...oamp;userid=31689
gt; View this thread: www.excelforum.com/showthread...hreadid=513872
gt;
gt;

It seems to me that you have used CF only with the Cell Value Is
option. There is a Formula Is choice where you enter a formula that
evaluates to true/false. This feature is the one of choice when we want
to base formatting on the values of other cells.

In there you can use the formulas suggested by Elkar.

HTH
Kostis Vezerides

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 software 的頭像
    software

    software

    software 發表在 痞客邦 留言(0) 人氣()