Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default CONDITIONAL FORMATING: 3 COLOR SCALE REFERENCED TO A DIFFERENT CEL

In Excel 2007.
From the following example:

A B
1 3
2 7
3 5
4 10
5 12
6 8
7 6
8 3
9 1

Suppose that in my worksheet, the values in column A will
always be in the range of 1 to 12.

I want to establish a conditional formatting on the corresponding
cells in column B, so that the cell color will be set by a 3
color scale (like green, yellow,red) according to the value of
the corresponding cell in column A.

So, B5 would be colored in RED (A5 has the max value of the scale),
B7 would be yellow (A7has the midpoint value), and B9 would be
green (A9 has the min value).

The only way I have been able to do this is by entering 12 different
rules in the conditional formating, one for each possible value in
column A, and setting one different color (different RGB values)
for each condition.

I would like to know how to enter a formula in the 3 color scale
conditional formatting dialog box that would give the same result.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,420
Default CONDITIONAL FORMATING: 3 COLOR SCALE REFERENCED TO A DIFFERENT CEL

Use CF formulae of

=B1=MAX($B$1:$B$10) - 'Red
=B1=MEDIAN($B$1:$B$10) - Yellow
= B1=MIN($B$1:$B$10) - Green

--
__________________________________
HTH

Bob

"R. Arizpe" wrote in message
...
In Excel 2007.
From the following example:

A B
1 3
2 7
3 5
4 10
5 12
6 8
7 6
8 3
9 1

Suppose that in my worksheet, the values in column A will
always be in the range of 1 to 12.

I want to establish a conditional formatting on the corresponding
cells in column B, so that the cell color will be set by a 3
color scale (like green, yellow,red) according to the value of
the corresponding cell in column A.

So, B5 would be colored in RED (A5 has the max value of the scale),
B7 would be yellow (A7has the midpoint value), and B9 would be
green (A9 has the min value).

The only way I have been able to do this is by entering 12 different
rules in the conditional formating, one for each possible value in
column A, and setting one different color (different RGB values)
for each condition.

I would like to know how to enter a formula in the 3 color scale
conditional formatting dialog box that would give the same result.



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
autoshape color conditional formating Dennis Collins Excel Discussion (Misc queries) 11 May 16th 08 01:35 PM
Change color without conditional formating spacesyco Excel Discussion (Misc queries) 5 March 20th 07 10:42 PM
Conditional Formating Background Color tankerman Excel Discussion (Misc queries) 2 January 31st 07 02:02 PM
Conditional Formating - Different row color also when using filter Steen Excel Discussion (Misc queries) 5 January 3rd 07 10:56 PM
Conditional formating-change color of cells over than one with for carrera Excel Discussion (Misc queries) 4 November 28th 06 07:49 AM


All times are GMT +1. The time now is 01:00 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"