PC Review


Reply
Thread Tools Rate Thread

Changing Color in Cells

 
 
John Ritz
Guest
Posts: n/a
 
      22nd Mar 2007
Is there an easy way to make a cell content change to a certain color?

For example if you input say $2.00 into a cell can you have it
automatically become green?

Can you do the same thing with the background color?

Thanks
 
Reply With Quote
 
 
 
 
Dave Peterson
Guest
Posts: n/a
 
      22nd Mar 2007
Depends on how many rules you have and what version of excel you're using.

If you're using xl2003 or below, and only have 3 rules (plus the normal look),
you can use format|conditional formatting.

The limit was increased in xl2007.

John Ritz wrote:
>
> Is there an easy way to make a cell content change to a certain color?
>
> For example if you input say $2.00 into a cell can you have it
> automatically become green?
>
> Can you do the same thing with the background color?
>
> Thanks


--

Dave Peterson
 
Reply With Quote
 
Paul B
Guest
Posts: n/a
 
      22nd Mar 2007
john, have a look at conditional formatting, format, conditional formatting

--
Paul B
Always backup your data before trying something new
Please post any response to the newsgroups so others can benefit from it
Feedback on answers is always appreciated!
Using Excel 2002 & 2003

"John Ritz" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Is there an easy way to make a cell content change to a certain color?
>
> For example if you input say $2.00 into a cell can you have it
> automatically become green?
>
> Can you do the same thing with the background color?
>
> Thanks



 
Reply With Quote
 
John Ritz
Guest
Posts: n/a
 
      22nd Mar 2007
On Thu, 22 Mar 2007 05:59:41 -0500, Dave Peterson
<(E-Mail Removed)> wrote:

>Depends on how many rules you have and what version of excel you're using.
>
>If you're using xl2003 or below, and only have 3 rules (plus the normal look),
>you can use format|conditional formatting.
>
>The limit was increased in xl2007.
>
>John Ritz wrote:
>>
>> Is there an easy way to make a cell content change to a certain color?
>>
>> For example if you input say $2.00 into a cell can you have it
>> automatically become green?
>>
>> Can you do the same thing with the background color?
>>
>> Thanks



OK. So far so good. I turned the cells with a value of greater than
$2.00 to green and those with a value of less than $2.00 to red.

However, I did this by grabbing four of five columns across the top
and now every other cell down to the bottom of the page (infinity?) is
red. Is there way I can keep cells with no data white? I tried
several combinations, but nothing worked.

Thanks!
 
Reply With Quote
 
Dave Peterson
Guest
Posts: n/a
 
      22nd Mar 2007
Can you enter a 0 or negative numbers in that range?

If no, you can change your rule to greater than 0 and less than 2.

If yes, then you can use:
formula is:
=AND(G1<>"",G1<2)

G1 was my activecell in my selection.

John Ritz wrote:
>
> On Thu, 22 Mar 2007 05:59:41 -0500, Dave Peterson
> <(E-Mail Removed)> wrote:
>
> >Depends on how many rules you have and what version of excel you're using.
> >
> >If you're using xl2003 or below, and only have 3 rules (plus the normal look),
> >you can use format|conditional formatting.
> >
> >The limit was increased in xl2007.
> >
> >John Ritz wrote:
> >>
> >> Is there an easy way to make a cell content change to a certain color?
> >>
> >> For example if you input say $2.00 into a cell can you have it
> >> automatically become green?
> >>
> >> Can you do the same thing with the background color?
> >>
> >> Thanks

>
> OK. So far so good. I turned the cells with a value of greater than
> $2.00 to green and those with a value of less than $2.00 to red.
>
> However, I did this by grabbing four of five columns across the top
> and now every other cell down to the bottom of the page (infinity?) is
> red. Is there way I can keep cells with no data white? I tried
> several combinations, but nothing worked.
>
> Thanks!


--

Dave Peterson
 
Reply With Quote
 
John Ritz
Guest
Posts: n/a
 
      22nd Mar 2007
On Thu, 22 Mar 2007 14:55:57 -0500, Dave Peterson
<(E-Mail Removed)> wrote:

>Can you enter a 0 or negative numbers in that range?
>
>If no, you can change your rule to greater than 0 and less than 2.
>
>If yes, then you can use:
>formula is:
>=AND(G1<>"",G1<2)
>
>G1 was my activecell in my selection.
>
>John Ritz wrote:
>>
>> On Thu, 22 Mar 2007 05:59:41 -0500, Dave Peterson
>> <(E-Mail Removed)> wrote:
>>
>> >Depends on how many rules you have and what version of excel you're using.
>> >
>> >If you're using xl2003 or below, and only have 3 rules (plus the normal look),
>> >you can use format|conditional formatting.
>> >
>> >The limit was increased in xl2007.
>> >
>> >John Ritz wrote:
>> >>
>> >> Is there an easy way to make a cell content change to a certain color?
>> >>
>> >> For example if you input say $2.00 into a cell can you have it
>> >> automatically become green?
>> >>
>> >> Can you do the same thing with the background color?
>> >>
>> >> Thanks

>>
>> OK. So far so good. I turned the cells with a value of greater than
>> $2.00 to green and those with a value of less than $2.00 to red.
>>
>> However, I did this by grabbing four of five columns across the top
>> and now every other cell down to the bottom of the page (infinity?) is
>> red. Is there way I can keep cells with no data white? I tried
>> several combinations, but nothing worked.
>>
>> Thanks!



I'm using Office 2000, if that makes a difference.

I don't have any formulas in the range. I'm just inputing the numbers
by hand. I don't know if that makes a difference either, but I'm
guessing it does.

Thanks
 
Reply With Quote
 
John Ritz
Guest
Posts: n/a
 
      22nd Mar 2007
On Thu, 22 Mar 2007 14:55:57 -0500, Dave Peterson
<(E-Mail Removed)> wrote:

>Can you enter a 0 or negative numbers in that range?
>
>If no, you can change your rule to greater than 0 and less than 2.
>
>If yes, then you can use:
>formula is:
>=AND(G1<>"",G1<2)
>
>G1 was my activecell in my selection.
>
>John Ritz wrote:
>>
>> On Thu, 22 Mar 2007 05:59:41 -0500, Dave Peterson
>> <(E-Mail Removed)> wrote:
>>
>> >Depends on how many rules you have and what version of excel you're using.
>> >
>> >If you're using xl2003 or below, and only have 3 rules (plus the normal look),
>> >you can use format|conditional formatting.
>> >
>> >The limit was increased in xl2007.
>> >
>> >John Ritz wrote:
>> >>
>> >> Is there an easy way to make a cell content change to a certain color?
>> >>
>> >> For example if you input say $2.00 into a cell can you have it
>> >> automatically become green?
>> >>
>> >> Can you do the same thing with the background color?
>> >>
>> >> Thanks

>>
>> OK. So far so good. I turned the cells with a value of greater than
>> $2.00 to green and those with a value of less than $2.00 to red.
>>
>> However, I did this by grabbing four of five columns across the top
>> and now every other cell down to the bottom of the page (infinity?) is
>> red. Is there way I can keep cells with no data white? I tried
>> several combinations, but nothing worked.
>>
>> Thanks!



OK. I fixed it by inputing >if cell value is less than or equal to
$1.99.<

However there is something curious. In the first condition, where I
have it turn green if it is greater than $2.00 it does a color fill.

In the second condition where I have it turn red it turns the font
red--no fill.

I wanted both to fill, and I did them both exactly the same, but I got
two different styles.

What am I missing?

Thanks again.
 
Reply With Quote
 
John Ritz
Guest
Posts: n/a
 
      22nd Mar 2007
On Thu, 22 Mar 2007 05:59:41 -0500, Dave Peterson
<(E-Mail Removed)> wrote:

>Depends on how many rules you have and what version of excel you're using.
>
>If you're using xl2003 or below, and only have 3 rules (plus the normal look),
>you can use format|conditional formatting.
>
>The limit was increased in xl2007.
>
>John Ritz wrote:
>>
>> Is there an easy way to make a cell content change to a certain color?
>>
>> For example if you input say $2.00 into a cell can you have it
>> automatically become green?
>>
>> Can you do the same thing with the background color?
>>
>> Thanks



I got it working now. I had to use two rules to get it to do the red
thing.

Thanks for pointing me in the right direction.

John
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing several cells text color =?Utf-8?B?bGF1cmFzMDM=?= Microsoft Excel Misc 1 12th Mar 2007 11:03 PM
color changing of cells changetires Microsoft Excel Misc 7 15th Jun 2006 07:43 PM
color changing cells darrenm Microsoft Excel Programming 3 27th Apr 2006 07:59 PM
Changing color on a range of cells Pete Microsoft Excel Programming 3 31st Dec 2003 10:03 PM
Changing color of cells Carl Brehm Microsoft Excel Programming 5 31st Oct 2003 12:27 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:15 PM.