Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default How can I automatically color a cell based upon a condition being

I am trying to make a spreadsheet that when a numbered cell in one column is
used in a second column, that the cell in the first column becomes filled
with color.

Example: I have cells in Column "A" numbered from 1 to 10. In column "C" I
have cells that can be filled with numbers. When I, for example, put the
number 3 in cell C1, then cell A3 would become colorized. When I, for
example, put then number 1 in cell C5, then cell A1 would become colorized.
etc., etc..

Can anyone help?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default How can I automatically color a cell based upon a condition being

I'm using xl2003 menus...

Select A1:A10
With A1 the activecell,
Format|Conditional formatting
Formula is:
=COUNTIF($C$1:$C$10,A1)0
(Adjust the address for column C to what you want)

Give it a nice pattern under the Format button.




RBober2 wrote:

I am trying to make a spreadsheet that when a numbered cell in one column is
used in a second column, that the cell in the first column becomes filled
with color.

Example: I have cells in Column "A" numbered from 1 to 10. In column "C" I
have cells that can be filled with numbers. When I, for example, put the
number 3 in cell C1, then cell A3 would become colorized. When I, for
example, put then number 1 in cell C5, then cell A1 would become colorized.
etc., etc..

Can anyone help?


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default How can I automatically color a cell based upon a condition be

Dave,

Thanks, that worked just the way you said it would. Now can I take it one
step further and have it also colorize the adjacent cell to the one that gets
highlighted due to the conditional formatting? Example as befo

"I have cells in Column "A" numbered from 1 to 10. In column "C" I
have cells that can be filled with numbers. When I, for example, put the
number 3 in cell C1, then cell A3 would become colorized. When I, for
example, put then number 1 in cell C5, then cell A1 would become colorized.
etc., etc.." Now can I have cells A3 and B3 colorize at the same time?

Thanks again for all your help!


"Dave Peterson" wrote:

I'm using xl2003 menus...

Select A1:A10
With A1 the activecell,
Format|Conditional formatting
Formula is:
=COUNTIF($C$1:$C$10,A1)0
(Adjust the address for column C to what you want)

Give it a nice pattern under the Format button.




RBober2 wrote:

I am trying to make a spreadsheet that when a numbered cell in one column is
used in a second column, that the cell in the first column becomes filled
with color.

Example: I have cells in Column "A" numbered from 1 to 10. In column "C" I
have cells that can be filled with numbers. When I, for example, put the
number 3 in cell C1, then cell A3 would become colorized. When I, for
example, put then number 1 in cell C5, then cell A1 would become colorized.
etc., etc..

Can anyone help?


--

Dave Peterson

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default How can I automatically color a cell based upon a condition be

Select A1:B10 and with A1 the activecell...

Use this formula:

=COUNTIF($C$1:$C$10,$A1)0






RBober2 wrote:

Dave,

Thanks, that worked just the way you said it would. Now can I take it one
step further and have it also colorize the adjacent cell to the one that gets
highlighted due to the conditional formatting? Example as befo

"I have cells in Column "A" numbered from 1 to 10. In column "C" I
have cells that can be filled with numbers. When I, for example, put the
number 3 in cell C1, then cell A3 would become colorized. When I, for
example, put then number 1 in cell C5, then cell A1 would become colorized.
etc., etc.." Now can I have cells A3 and B3 colorize at the same time?

Thanks again for all your help!

"Dave Peterson" wrote:

I'm using xl2003 menus...

Select A1:A10
With A1 the activecell,
Format|Conditional formatting
Formula is:
=COUNTIF($C$1:$C$10,A1)0
(Adjust the address for column C to what you want)

Give it a nice pattern under the Format button.




RBober2 wrote:

I am trying to make a spreadsheet that when a numbered cell in one column is
used in a second column, that the cell in the first column becomes filled
with color.

Example: I have cells in Column "A" numbered from 1 to 10. In column "C" I
have cells that can be filled with numbers. When I, for example, put the
number 3 in cell C1, then cell A3 would become colorized. When I, for
example, put then number 1 in cell C5, then cell A1 would become colorized.
etc., etc..

Can anyone help?


--

Dave Peterson


--

Dave Peterson
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default How can I automatically color a cell based upon a condition be

Dave,

Again I thank you, everything worked perfect. I even expanded it to include
4 columns with the second column being the defined column. I will keep this
knowledge for future projects. Thanks Again---- Robert

"Dave Peterson" wrote:

Select A1:B10 and with A1 the activecell...

Use this formula:

=COUNTIF($C$1:$C$10,$A1)0






RBober2 wrote:

Dave,

Thanks, that worked just the way you said it would. Now can I take it one
step further and have it also colorize the adjacent cell to the one that gets
highlighted due to the conditional formatting? Example as befo

"I have cells in Column "A" numbered from 1 to 10. In column "C" I
have cells that can be filled with numbers. When I, for example, put the
number 3 in cell C1, then cell A3 would become colorized. When I, for
example, put then number 1 in cell C5, then cell A1 would become colorized.
etc., etc.." Now can I have cells A3 and B3 colorize at the same time?

Thanks again for all your help!

"Dave Peterson" wrote:

I'm using xl2003 menus...

Select A1:A10
With A1 the activecell,
Format|Conditional formatting
Formula is:
=COUNTIF($C$1:$C$10,A1)0
(Adjust the address for column C to what you want)

Give it a nice pattern under the Format button.




RBober2 wrote:

I am trying to make a spreadsheet that when a numbered cell in one column is
used in a second column, that the cell in the first column becomes filled
with color.

Example: I have cells in Column "A" numbered from 1 to 10. In column "C" I
have cells that can be filled with numbers. When I, for example, put the
number 3 in cell C1, then cell A3 would become colorized. When I, for
example, put then number 1 in cell C5, then cell A1 would become colorized.
etc., etc..

Can anyone help?

--

Dave Peterson


--

Dave Peterson

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
How to change line chart color based on condition like + and -. egii Charts and Charting in Excel 1 May 8th 09 09:06 AM
Condition font color in a single cell based on its formula data. Bee Excel Worksheet Functions 3 February 19th 08 12:09 AM
Change row color based on condition of celss B G Excel Worksheet Functions 3 June 28th 06 08:56 PM
I want to fill the cell color based upon the other cell condition sri Excel Discussion (Misc queries) 4 January 12th 06 01:47 PM
Color Change in chart based of condition KRT Charts and Charting in Excel 1 July 1st 05 12:51 PM


All times are GMT +1. The time now is 10:55 AM.

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

About Us

"It's about Microsoft Excel"