close

Is there a way I can change the color of a cell based on the value
entered into it?

Basically I want to color a cell RED with a value less than, say, 2.

Any ideas?

Thanks!You can use Conditional Formatting

Look here
www.contextures.com/xlCondFormat01.html

--
Regards Ron de Bruin
www.rondebruin.nlgt; wrote in message ps.com...
gt; Is there a way I can change the color of a cell based on the value
gt; entered into it?
gt;
gt; Basically I want to color a cell RED with a value less than, say, 2.
gt;
gt; Any ideas?
gt;
gt; Thanks!
gt;
yup. see conditional format under help.gt; wrote in message ps.com...
gt; Is there a way I can change the color of a cell based on the value
gt; entered into it?
gt;
gt; Basically I want to color a cell RED with a value less than, say, 2.
gt;
gt; Any ideas?
gt;
gt; Thanks!
gt;


wrote:
gt; Is there a way I can change the color of a cell based on the value
gt; entered into it?
gt;
gt; Basically I want to color a cell RED with a value less than, say, 2.
gt;
gt; Any ideas?
gt;
gt; Thanks!
gt;
As Ron and jiwolf mentioned conditional formatting does work and can do
a lot more like borders, background etc

For something as basic as one simple color the old method of number
formatting still works
Check out how negative numbers are red when you use currency format

There are only some basic colors to choose from
[Black], [Blue], [Cyan], [Green], [Magenta], [Red], [White], [Yellow]

and you can only specify 3 (maybe 4 zones) from memory
This example from the help file is self explanatory
[Red][lt;=100];[Blue][gt;100]
RED for less than or equal to 100 and BLUE for greater than 100

This should work for you under cell number formatting custom
[Red][lt;=2];[Black]

Hope this helps
George

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

    software

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