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

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
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,216,411
Messages
6,130,440
Members
449,581
Latest member
econtent2

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