#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 159
Default Formula

I have a spreadsheet that has a name in cell a1 and in cell a2 I have a
number 1,2, or 0 depending on the person. Im trying to figure out a way for
the persons name to change colors depending on the value in cell a2.
Exampler: 0=black
1=blue
2= red
They all start at 0 and if the lose 1 game then i will change it to 1 and if
they lose another then I will change it to 2 and then they are out but I cant
figure out how to get excel to do this automaticly when I chane the value of
a2.
Thanks
Larry
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,572
Default Formula

Click in A1, then:

<Format <Conditional Formatting,
Change "Cell Value Is" to "Formula Is",

And enter this formula:
=A2=1

Then click on <Format,
And choose a nice Blue color, then <OK

Then click on "Add", for the second condition,

Again, change "Cell Value Is" to "Formula Is",

And enter this formula:
=A2=2

Then click on <Format,
And choose a nice Red color, then <OK <OK

And you're done.
--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Larry" wrote in message
...
I have a spreadsheet that has a name in cell a1 and in cell a2 I have a
number 1,2, or 0 depending on the person. Im trying to figure out a way

for
the persons name to change colors depending on the value in cell a2.
Exampler: 0=black
1=blue
2= red
They all start at 0 and if the lose 1 game then i will change it to 1 and

if
they lose another then I will change it to 2 and then they are out but I

cant
figure out how to get excel to do this automaticly when I chane the value

of
a2.
Thanks
Larry


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Formula

Hey RAGDYER
Thanks but it didnt work
Column A Column B
Bryan 0
Dave 1
Greg 1
Mike 2

I want column A to change the colors everytime I change the value in column
B. Example if I decided to change Bryan's 0 to a 1 I want his color to
change to blue. and I f I change Greg's 1 to a 2 his cell would change to red.
Thanks
"Ragdyer" wrote:

Click in A1, then:

<Format <Conditional Formatting,
Change "Cell Value Is" to "Formula Is",

And enter this formula:
=A2=1

Then click on <Format,
And choose a nice Blue color, then <OK

Then click on "Add", for the second condition,

Again, change "Cell Value Is" to "Formula Is",

And enter this formula:
=A2=2

Then click on <Format,
And choose a nice Red color, then <OK <OK

And you're done.
--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Larry" wrote in message
...
I have a spreadsheet that has a name in cell a1 and in cell a2 I have a
number 1,2, or 0 depending on the person. Im trying to figure out a way

for
the persons name to change colors depending on the value in cell a2.
Exampler: 0=black
1=blue
2= red
They all start at 0 and if the lose 1 game then i will change it to 1 and

if
they lose another then I will change it to 2 and then they are out but I

cant
figure out how to get excel to do this automaticly when I chane the value

of
a2.
Thanks
Larry



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,572
Default Formula

What didn't work?

You *originally* said name in A1,
And number in A2.

How does that match up to what you're asking *now*?
Name in Column A,
And number in Column B.

Follow the same instructions I originally gave, but change the formulas to:

=B1=1
And
=B1=2

Then, after you choose your colors and <OK out,
Click in A1,
Click on the "Format Painter" icon (yellow paint brush),
Click in A2 and drag down as needed, to duplicate the format to the
pertinent cells in Column A.

--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"lwa1974 Larry" <lwa1974 wrote in message
...
Hey RAGDYER
Thanks but it didnt work
Column A Column B
Bryan 0
Dave 1
Greg 1
Mike 2

I want column A to change the colors everytime I change the value in
column
B. Example if I decided to change Bryan's 0 to a 1 I want his color to
change to blue. and I f I change Greg's 1 to a 2 his cell would change to
red.
Thanks
"Ragdyer" wrote:

Click in A1, then:

<Format <Conditional Formatting,
Change "Cell Value Is" to "Formula Is",

And enter this formula:
=A2=1

Then click on <Format,
And choose a nice Blue color, then <OK

Then click on "Add", for the second condition,

Again, change "Cell Value Is" to "Formula Is",

And enter this formula:
=A2=2

Then click on <Format,
And choose a nice Red color, then <OK <OK

And you're done.
--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Larry" wrote in message
...
I have a spreadsheet that has a name in cell a1 and in cell a2 I have a
number 1,2, or 0 depending on the person. Im trying to figure out a way

for
the persons name to change colors depending on the value in cell a2.
Exampler: 0=black
1=blue
2= red
They all start at 0 and if the lose 1 game then i will change it to 1
and

if
they lose another then I will change it to 2 and then they are out but
I

cant
figure out how to get excel to do this automaticly when I chane the
value

of
a2.

Thanks
Larry




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Reusing formula Tony29 Excel Discussion (Misc queries) 7 September 7th 06 03:34 AM
2 Nesting questions Starchaser Excel Worksheet Functions 7 January 20th 06 06:53 PM
Match then lookup Tenacity Excel Worksheet Functions 9 December 3rd 05 05:30 AM
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 05:18 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM


All times are GMT +1. The time now is 09:37 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"