Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Formate colour of cells

I have the value 1 in cell (A,1) then I wan´t the colour to change to red in
cells (B1:F1) or if I have the value 2 in cell (A1) then colour should change
to green in cells (B1:F1)
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 964
Default Formate colour of cells

You can use Conditional Formatting for this.

1. Select cells B1 through F1
2. From the Format Menu, choose "Conditional Formatting..."
3. Change "Cell Value Is" to "Formula Is"
4. Enter the formula: =$A$1=1
5. Select your format (red)
6. Click the ADD Button
7. Change "Cell Value Is" to "Formula Is"
8. Enter the formula: =$A$1=2
9. Select your format (green)
10. Click OK

HTH,
Elkar


"Bela" wrote:

I have the value 1 in cell (A,1) then I wan´t the colour to change to red in
cells (B1:F1) or if I have the value 2 in cell (A1) then colour should change
to green in cells (B1:F1)

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,718
Default Formate colour of cells

Highlight your range
Conditional Formatting
Condition 1: =$A$1=1 (Format as Red)
Condition 2: =$A$2=2 (Format as Green)

"Bela" wrote:

I have the value 1 in cell (A,1) then I wan´t the colour to change to red in
cells (B1:F1) or if I have the value 2 in cell (A1) then colour should change
to green in cells (B1:F1)

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Formate colour of cells

Thanks for the help! This help saved my sleep to night.

Bela

"Elkar" skrev:

You can use Conditional Formatting for this.

1. Select cells B1 through F1
2. From the Format Menu, choose "Conditional Formatting..."
3. Change "Cell Value Is" to "Formula Is"
4. Enter the formula: =$A$1=1
5. Select your format (red)
6. Click the ADD Button
7. Change "Cell Value Is" to "Formula Is"
8. Enter the formula: =$A$1=2
9. Select your format (green)
10. Click OK

HTH,
Elkar


"Bela" wrote:

I have the value 1 in cell (A,1) then I wan´t the colour to change to red in
cells (B1:F1) or if I have the value 2 in cell (A1) then colour should change
to green in cells (B1:F1)

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Formate colour of cells

Thank you for the answer, it works fine.

Bela

"Teethless mama" skrev:

Highlight your range
Conditional Formatting
Condition 1: =$A$1=1 (Format as Red)
Condition 2: =$A$2=2 (Format as Green)

"Bela" wrote:

I have the value 1 in cell (A,1) then I wan´t the colour to change to red in
cells (B1:F1) or if I have the value 2 in cell (A1) then colour should change
to green in cells (B1:F1)

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
I do not see the selection colour when I select some cells dev Excel Discussion (Misc queries) 1 August 17th 06 02:40 PM
Colour of highlighted cells teakwood Excel Discussion (Misc queries) 0 May 8th 06 05:03 PM
checking that cells have a value before the workbook will close kcdonaldson Excel Worksheet Functions 8 December 5th 05 05:57 PM
How can I count cells of a specific colour (pattern)? Nick@Durham Excel Worksheet Functions 1 November 29th 05 11:18 AM
HOW TO FORMATE CELLS TO COUNT CELLS WITH A FILL COLOR? Moore New Users to Excel 1 June 15th 05 07:41 PM


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

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"