Apply conditional formatting colour scale compared to another column

hotdogs1999

Board Regular
Joined
Dec 11, 2018
Messages
57
Hello,
See below table for referencing. I am trying to apply colour scale conditional formatting (3-colour scale) to column B, dependent on corresponding column A values

Minimum - A is greater than or equal to B (e.g. B4 and B2 would be red)
Midpoint - A is less than B, but no more than 500 less (e.g. B3 would be yellow)
Maximum - A is less than B by more than 500 (e.g. B1 would be green)

How do i do this?

AB
11000020000
21500015000
33475035000
455005000
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
Hi @hotdogs1999
Thanks for posting on MrExcel board.

Use these 3 conditional formats:
Libro2
AB
110,000.0020,000.00
215,000.0015,000.00
334,750.0035,000.00
45,500.005,000.00
Hoja1
Cells with Conditional Formatting
CellConditionCell FormatStop If True
B1:B4Expression=A1>=B1textNO
B1:B4Expression=(B1-A1)<=500textNO
B1:B4Expression=(B1-A1)>500textNO


--------------
Let me know the result and I'll get back to you as soon as I can.
Cordially
Dante Amor
--------------​
 
Upvote 0

Forum statistics

Threads
1,223,214
Messages
6,170,772
Members
452,353
Latest member
strainu

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