Comparing Mean against Overall Mean using Conditional Formatting

MdotM

New Member
Joined
Oct 27, 2018
Messages
2
Hi,

I'm currently working on a project where I have a number of statements which are rated between 1(Strongly Disagree) and 4 (Strongly Agree). For each organisation I am presenting their mean average on this statement against the combined mean average for all other organisations, and I would like to create a traffic light code to indicate whether the organisation is on track (Green), improvements could be made (Amber) or this area needs to be focussed on (Red).

The mean average for each organisation and mean average for all organisations are presented in cells next to each other, but are pulled from data from another worksheet in the document, so both of these cells already contain formulas.

I would like the mean average cell (X) to contain a formula that covers these criteria in relation to the overall combined average cell (Y):

If Y is 2.25 or more
-If X is 0.25 or more than Y, X is Green
-If X is less than +/- 0.25 than Y, X is Amber
-If X is less than 0.25 than Y, X is Red

If Y is 2.24 or less
-If X is 0.25 or more than Y, Amber
-If X is less than +/- 0.25 than Y, X is Amber
-If X is less than 0.25 than Y, X is Red

Is this formula possible to build using conditional formatting within a single cell, and if so what would the formula be? Also as the cells containing the means already contain formulas to pull the data from another worksheet in the excel doc, is it still possible to build the conditional formatting into these cells?

Thanks for your help with this in advance
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
Welcome to the forum.

Please look at this grid and let us know if the colours are correct.

[FONT=Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif]
Book1
GHIJKLMN
10.25
2yx
333.263.253.243.002.762.752.74
42.262.522.512.502.262.022.012.00
52.252.512.502.492.252.012.001.99
62.242.502.492.482.242.001.991.98
722.262.252.242.001.761.751.74
Sheet45
[/FONT]
 
Upvote 0
Hi,

Thanks for your help with this, yes the colours are correct in this grid. How can I build this into my report?

Many thanks,
 
Upvote 0

Forum statistics

Threads
1,223,898
Messages
6,175,272
Members
452,628
Latest member
dd2

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