Custom Conditional Formatting

AmericanSeiko

New Member
Joined
Sep 16, 2013
Messages
21
Hi all,

I was wondering whether it is possible to apply a color scale (red [low] - white - blue [high]) based on a nxn matrix to a different, distinct nxn matrix.

If its not possible, can anyone think of a clever way to do this? Right now I am defining 10 distinct custom rules, which apply the conditional formatting by checking whether the cells in the reference matrix fall within a fixed range.

For a simple example, if cell A1 is 0<x<1, format="" cell="" aa1="" red.="" if="" a1="" is="" -1="" <="" x="" blue.="" however,="" this="" approach="" not="" dynamic.="" any="" ideas?=""
< x <= 1, color cell AA1 red; if cell A1 is -1 < x <= 0, color cell AA2 blue.

Thanks!

- AS</x<1,>
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
For each colour you're going to need a CF rule.
You might be able to use MOD function and use the result to select different colours.
 
Upvote 0
What about something where i found the min and max of the reference matrix, and used the max - min as the scale to slide between two ends of an RGB triple? Is there a way to tell excel to color a cell with three RGB integers as an input?
 
Upvote 0
Not sure about multi coloured cells, possibly using VBA, maybe someone else can confirm that.
 
Upvote 0

Forum statistics

Threads
1,223,910
Messages
6,175,318
Members
452,634
Latest member
cpostell

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top