Color scale for above/below average conditional formatting

kdorClintR

New Member
Joined
Jul 7, 2020
Messages
6
Office Version
  1. 365
Platform
  1. Windows
Is it possible to create a 2-color scale for both below and above average conditional formatting? I'm looking at multiple sets of stats and trying to find where those numbers are both below and above average for that set, but would like to create a color scale so I can visualize how far below or above average those specific numbers are.
As an example, I would like to see all all cells shaded from red to yellow to green with the lowest number being red, average being yellow, and all numbers above average for that set showing in shades of green. I've tried setting two rules for the specific set of data using above average and below average, but only being able to use one color doesn't really help me visualize how far above or below average the numbers are. Is there a way to do this?
 

Attachments

  • excel help.PNG
    excel help.PNG
    12.3 KB · Views: 9

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
Why not use a 3 colour scale
Fluff.xlsm
E
1
2
3911
41056
51258
6938
71158
81170
9793
10771
11528
12899
13948.2
14
Main
Cell Formulas
RangeFormula
E13E13=AVERAGE(E3:E12)
Cells with Conditional Formatting
CellConditionCell FormatStop If True
E3:E12Other TypeColor scaleNO
 
Upvote 0
Why not use a 3 colour scale
Fluff.xlsm
E
1
2
3911
41056
51258
6938
71158
81170
9793
10771
11528
12899
13948.2
14
Main
Cell Formulas
RangeFormula
E13E13=AVERAGE(E3:E12)
Cells with Conditional Formatting
CellConditionCell FormatStop If True
E3:E12Other TypeColor scaleNO
I've considered it, but it doesn't quite give me what I'm looking for. In using a 3-color scale, yellow would represent the median, but not the average. Is there a way to set the 3-color scale so that the yellow would correspond to a set number? That would also work.
 
Upvote 0
You can edit the rule to change the mid point & either use a namer or a formula.
 
Upvote 0
Solution
I totally skipped over the fact that I could just set the midpoint color to the number representing the average for that dataset. Not the fastest process for 156 datasets, but it will work. Thanks!
 
Upvote 0
Glad to help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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