GreenWizard
Board Regular
- Joined
- Dec 8, 2013
- Messages
- 106
Is there a way to apply conditional formatting to one Column, but reference the Adjacent Column for the values (highest to lowest)? See example below:
[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD]COLUMN 1[/TD]
[TD]COLUMN 2[/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD]73[/TD]
[TD]10[/TD]
[/TR]
[TR]
[TD]48[/TD]
[TD]8[/TD]
[/TR]
[TR]
[TD]70[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD]42[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]29[/TD]
[TD]7[/TD]
[/TR]
[TR]
[TD]99[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD]51[/TD]
[TD]10[/TD]
[/TR]
[TR]
[TD]69[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]64[/TD]
[TD]10[/TD]
[/TR]
</tbody>[/TABLE]
One can select Column 1 then click > 'Conditional Formatting' > 'Color Scales' > 'Green - Yellow - Red Color Scale'
And a color gradient will be applied to Column 1 where the highest value is Green and the lowest value is Red.
HOWEVER, how can you apply the same color gradient on Column 1, BUT reference Column 2 to determine the highest to lowest values??
In this example, values 73, 51, & 64 would get a Green background (highest value corresponding value = 10), while 42 would have a Red background (lowest value corresponding value = 1)???
Thanks in advance!!!
[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD]COLUMN 1[/TD]
[TD]COLUMN 2[/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD]73[/TD]
[TD]10[/TD]
[/TR]
[TR]
[TD]48[/TD]
[TD]8[/TD]
[/TR]
[TR]
[TD]70[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD]42[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]29[/TD]
[TD]7[/TD]
[/TR]
[TR]
[TD]99[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD]51[/TD]
[TD]10[/TD]
[/TR]
[TR]
[TD]69[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]64[/TD]
[TD]10[/TD]
[/TR]
</tbody>[/TABLE]
One can select Column 1 then click > 'Conditional Formatting' > 'Color Scales' > 'Green - Yellow - Red Color Scale'
And a color gradient will be applied to Column 1 where the highest value is Green and the lowest value is Red.
HOWEVER, how can you apply the same color gradient on Column 1, BUT reference Column 2 to determine the highest to lowest values??
In this example, values 73, 51, & 64 would get a Green background (highest value corresponding value = 10), while 42 would have a Red background (lowest value corresponding value = 1)???
Thanks in advance!!!