PC Review


Reply
Thread Tools Rate Thread

can i setup if, then statements to change the color of a row

 
 
=?Utf-8?B?RWQ=?=
Guest
Posts: n/a
 
      8th Aug 2006
I would like to use if and then statements to recognize P, O, or C
if the cell has P, O, or C I want the row to change colors Blue, Green, Red
Is this possible
 
Reply With Quote
 
 
 
 
Trevor Shuttleworth
Guest
Posts: n/a
 
      8th Aug 2006
Use Conditional Formatting with the three conditions.

Regards

Trevor


"Ed" <(E-Mail Removed)> wrote in message
news:97B02B64-74A1-4C2D-9E4D-(E-Mail Removed)...
>I would like to use if and then statements to recognize P, O, or C
> if the cell has P, O, or C I want the row to change colors Blue, Green,
> Red
> Is this possible



 
Reply With Quote
 
Gord Dibben
Guest
Posts: n/a
 
      8th Aug 2006
Select a row or range in a row.

Then assuming A1 is the cell with P, O or C

Format>Conditional Formatting>Condtion 1>Formula is

=$A$1="P"

Format as Blue

Add

Condition 2.......=$A$1="O"

etc. for condition 3


Gord Dibben MS Excel MVP

On Tue, 8 Aug 2006 14:41:02 -0700, Ed <(E-Mail Removed)> wrote:

>I would like to use if and then statements to recognize P, O, or C
>if the cell has P, O, or C I want the row to change colors Blue, Green, Red
>Is this possible


 
Reply With Quote
 
=?Utf-8?B?RWQ=?=
Guest
Posts: n/a
 
      9th Aug 2006
The CF works in the cell how do I get to work for the entire? So if I input
"p" the entire row of 10 turns blue?


"Trevor Shuttleworth" wrote:

> Use Conditional Formatting with the three conditions.
>
> Regards
>
> Trevor
>
>
> "Ed" <(E-Mail Removed)> wrote in message
> news:97B02B64-74A1-4C2D-9E4D-(E-Mail Removed)...
> >I would like to use if and then statements to recognize P, O, or C
> > if the cell has P, O, or C I want the row to change colors Blue, Green,
> > Red
> > Is this possible

>
>
>

 
Reply With Quote
 
Gord Dibben
Guest
Posts: n/a
 
      9th Aug 2006
Ed

Have a look at my post also.


Gord Dibben MS Excel MVP

On Tue, 8 Aug 2006 15:01:02 -0700, Ed <(E-Mail Removed)> wrote:

>The CF works in the cell how do I get to work for the entire? So if I input
>"p" the entire row of 10 turns blue?
>
>
>"Trevor Shuttleworth" wrote:
>
>> Use Conditional Formatting with the three conditions.
>>
>> Regards
>>
>> Trevor
>>
>>
>> "Ed" <(E-Mail Removed)> wrote in message
>> news:97B02B64-74A1-4C2D-9E4D-(E-Mail Removed)...
>> >I would like to use if and then statements to recognize P, O, or C
>> > if the cell has P, O, or C I want the row to change colors Blue, Green,
>> > Red
>> > Is this possible

>>
>>
>>


 
Reply With Quote
 
=?Utf-8?B?RWQ=?=
Guest
Posts: n/a
 
      9th Aug 2006
Hey, almost there.

So specifically every cell in column a will change to P, O, or C
How do I format the entire worksheet to do this?
Or how do I copy this format.

"Gord Dibben" wrote:

> Select a row or range in a row.
>
> Then assuming A1 is the cell with P, O or C
>
> Format>Conditional Formatting>Condtion 1>Formula is
>
> =$A$1="P"
>
> Format as Blue
>
> Add
>
> Condition 2.......=$A$1="O"
>
> etc. for condition 3
>
>
> Gord Dibben MS Excel MVP
>
> On Tue, 8 Aug 2006 14:41:02 -0700, Ed <(E-Mail Removed)> wrote:
>
> >I would like to use if and then statements to recognize P, O, or C
> >if the cell has P, O, or C I want the row to change colors Blue, Green, Red
> >Is this possible

>
>

 
Reply With Quote
 
SteveW
Guest
Posts: n/a
 
      9th Aug 2006
Every cell in Row 1 not Column A, will change if A1 is P,O or C
You have to have lock on to $A$1 in the Conditional Format Formula to get
row to change on A1 contents

You'll have to change this to $A1, then copy the format from Row 1 to
any/all rows that you want the same formatting

Steve

On Tue, 08 Aug 2006 23:19:03 +0100, Ed <(E-Mail Removed)>
wrote:

> Hey, almost there.
>
> So specifically every cell in column a will change to P, O, or C
> How do I format the entire worksheet to do this?
> Or how do I copy this format.
>
> "Gord Dibben" wrote:
>
>> Select a row or range in a row.
>>
>> Then assuming A1 is the cell with P, O or C
>>
>> Format>Conditional Formatting>Condtion 1>Formula is
>>
>> =$A$1="P"
>>
>> Format as Blue
>>
>> Add
>>
>> Condition 2.......=$A$1="O"
>>
>> etc. for condition 3
>>
>>
>> Gord Dibben MS Excel MVP
>>
>> On Tue, 8 Aug 2006 14:41:02 -0700, Ed <(E-Mail Removed)>
>> wrote:
>>
>> >I would like to use if and then statements to recognize P, O, or C
>> >if the cell has P, O, or C I want the row to change colors Blue,

>> Green, Red
>> >Is this possible

>>
>>




--
Steve (3)
 
Reply With Quote
 
Gord Dibben
Guest
Posts: n/a
 
      9th Aug 2006
Are you saying that Column A cells will have a P, O or C?

If so, select a range of rows and CF>Formula is

=$A1=P...........I misled you in first post by locking just A1

Note the single $ sign to lock just the Column A but not the row.

I wouldn't format the whole worksheet this way.

Just format a couple hundred rows for now and use the Format Painter to copy to
more rows later.


Gord


On Tue, 8 Aug 2006 15:19:03 -0700, Ed <(E-Mail Removed)> wrote:

>Hey, almost there.
>
>So specifically every cell in column a will change to P, O, or C
>How do I format the entire worksheet to do this?
>Or how do I copy this format.
>
>"Gord Dibben" wrote:
>
>> Select a row or range in a row.
>>
>> Then assuming A1 is the cell with P, O or C
>>
>> Format>Conditional Formatting>Condtion 1>Formula is
>>
>> =$A$1="P"
>>
>> Format as Blue
>>
>> Add
>>
>> Condition 2.......=$A$1="O"
>>
>> etc. for condition 3
>>
>>
>> Gord Dibben MS Excel MVP
>>
>> On Tue, 8 Aug 2006 14:41:02 -0700, Ed <(E-Mail Removed)> wrote:
>>
>> >I would like to use if and then statements to recognize P, O, or C
>> >if the cell has P, O, or C I want the row to change colors Blue, Green, Red
>> >Is this possible

>>
>>


 
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
Useing IF statements to change a cell color edward/ Microsoft Excel Misc 1 4th Dec 2009 05:08 PM
change color of a box with using if statements =?Utf-8?B?TWFyayBN?= Microsoft Excel Worksheet Functions 3 19th Nov 2007 10:44 PM
Change cell color for more than 3 conditional statements =?Utf-8?B?S2F0aWU=?= Microsoft Excel Worksheet Functions 1 5th Mar 2007 07:34 PM
Bullet Font Color Changes When I Change Text Color--Can I Change it Back? J. Danniel Microsoft Powerpoint 2 17th Mar 2005 09:06 PM
Changing color in IF-THEN statements Aaron Microsoft Excel Worksheet Functions 0 10th Sep 2003 01:12 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:24 PM.