Conditional Formatting Help

EvansB2

Board Regular
Joined
Nov 25, 2008
Messages
245
Office Version
  1. 365
Platform
  1. Windows
Hi,

I'm looking to apply some simple conditions to return a typical Red, Amber & Green (RAG) analysis.

The 3 conditions are set out below the table. The problem one is the Amber condition as it has two metrics and this is the one that I struggled to incorporate into a Conditional Formatting formula.

Any help would be appreciated.

Ben

ABC
1AverageScoreDiff
210050-100.0%
3708012.5%
4150140-7.1%
5
6
7
If Score is greater than 10% above the Average = Red
If Score is less than 10% above Average or less than 10% below the Average = Amber
If Score is greater than 10% below the Average = Green
<colgroup><col width="29" style="width: 22pt; mso-width-source: userset; mso-width-alt: 1060;"> <col width="58" style="width: 44pt; mso-width-source: userset; mso-width-alt: 2121;" span="2"> <col width="64" style="width: 48pt;" span="6"> <tbody> </tbody>
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
Its important to remember that '100%' in Conditional Formatting land is represented as '1'.

So if you wanted 10% above or below the average. You could take the Absolute value of the %, and check is it less than or equal to 0.1 (10%).

Amber
Code:
=ABS($C2)<=0.1

Hope that helps
Cheers

Caleeco
 
Upvote 0
Thanks Caleeco,

Could you sugest a 'Rule Type' in Conditional Formatting for this code?

Ben
 
Upvote 0
Select "New Rule" & then "Use a formula"
 
Upvote 0
Glad we could help & thanks for the feedback
 
Upvote 0

Forum statistics

Threads
1,215,467
Messages
6,124,984
Members
449,201
Latest member
Lunzwe73

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