Help with conditional formatting

Mchgh9

New Member
Joined
Feb 2, 2012
Messages
39
Benchmark</SPAN> Average</SPAN> Variance</SPAN>Cumulative Variance from Benchmark</SPAN>
£568.00</SPAN> £569.00</SPAN> +0%OVER

<TBODY>
</TBODY><COLGROUP><COL><COL span=6></COLGROUP>


Hi

I have conditional formatting on Cumulative Variance so that if it says OVER then the cell is RED. If it says UNDER then the cell is green.

I also want to colour the Variance cell based on the same criteria for the Cumulative cell, but to use the OVER/UNDER text to decide on the colour.

Any ideas?

Thanks for helping,

Dave
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
Benchmark</SPAN>
Average</SPAN>
Variance</SPAN>
Cumulative Variance from Benchmark</SPAN>
£568.00</SPAN>
£569.00</SPAN>
+0%
OVER

<TBODY>
</TBODY>


Hi

I have conditional formatting on Cumulative Variance so that if it says OVER then the cell is RED. If it says UNDER then the cell is green.

I also want to colour the Variance cell based on the same criteria for the Cumulative cell, but to use the OVER/UNDER text to decide on the colour.

Any ideas?

Thanks for helping,

Dave
Can't you just use the same formatting rule on the variance column as you did on cumulative column?
 
Upvote 0
If your sample data is in the range A1:D2, select C2:D2 and use the conditional formatting formulas:

=$D2="OVER"
=$D2="UNDER"

The $ sign fixes the column reference.
 
Upvote 0

Forum statistics

Threads
1,215,461
Messages
6,124,955
Members
449,199
Latest member
Riley Johnson

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