3 Color Scale Conditinal Format

eddecaso

New Member
Joined
Apr 1, 2017
Messages
2
Office Version
  1. 365
Platform
  1. Windows
What am I doing wrong in trying to get I8 thru I1 to fill highlight in green if Column I is > Column G, in red if Column I is lower than Column K and in yellow if Volumn I is in midpoint/average of Columns G and K? I thin it works when I do for just one row but when I copy down the formats it doesn't work. And if I try to change Low, Mid, High criterias to a relative formula it doesn't allow me.

1678035130537.png
 

Attachments

  • 1678035067816.png
    1678035067816.png
    97 KB · Views: 11

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
This is not 3 scale, imnot sure how important the scale is for midpoint values:
mr excel questions 12.xlsm
GIJKLM
1BA PriceCurrent PriceBB PriceGreenRedYello
213.3013.2313.11FALSEFALSETRUE
312.8012.7612.64=I2>G2=I2<J2=AND(I2<=G2,I2>=J2)
414.6814.7314.51TRUEFALSEFALSE
512.6412.5412.47FALSEFALSETRUE
613.0112.7512.84FALSETRUEFALSE
713.7413.6213.56FALSEFALSETRUE
812.2011.9512.06FALSETRUEFALSE
914.3514.2214.15FALSEFALSETRUE
1013.5013.3813.34FALSEFALSETRUE
1112.2712.2312.14FALSEFALSETRUE
Sheet31
Cell Formulas
RangeFormula
K2,K4:K11K2=I2>G2
L2,L4:L11L2=I2<J2
M2,M4:M11M2=AND(I2<=G2,I2>=J2)
K3:M3K3=FORMULATEXT(K2)
Cells with Conditional Formatting
CellConditionCell FormatStop If True
I2:I11Expression=I2<J2textNO
I2:I11Expression=AND(I2<=G2,I2>=J2)textNO
I2:I11Expression=I2>G2textNO
 
Upvote 0
here it is with five colors so you can see the ranges between extremes and average:

mr excel questions 12.xlsm
GIJ
1BA PriceCurrent PriceBB Price
213.3013.2313.11
312.8012.7212.64
414.6814.7314.51
512.6412.5412.47
613.0112.7512.84
713.7413.6513.56
812.2011.9512.06
914.3514.2214.15
1013.5013.3813.34
1112.2712.2312.14
Sheet31
Cells with Conditional Formatting
CellConditionCell FormatStop If True
I2:I11Expression=I2<J2textYES
I2:I11Expression=I2>G2textYES
I2:I11Expression=ROUND(I2,2)=ROUND(AVERAGE(G2,J2),2)textYES
I2:I11Expression=I2<AVERAGE(G2,J2)textNO
I2:I11Expression=AND(I2>AVERAGE(G2,J2),I2<G2)textNO
 
Upvote 0
Thanks for you prompt reply Awoohaw. I think you meant row 8 when u said 2, Col G and Col K when u said U.

I believe it may be know working and if not I will tweek your formulas if I'm not understanding properly. Here are the cells after your suggestion

1678043717438.png
 
Upvote 0

Forum statistics

Threads
1,214,911
Messages
6,122,198
Members
449,072
Latest member
DW Draft

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