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 does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
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,226,693
Messages
6,192,471
Members
453,726
Latest member
JoeH57

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