Use Excel color scale to do gradient with more than 3 points

Timon

New Member
Joined
Feb 11, 2016
Messages
2
Hello,

I would like to use Excel color scale to do a conditional formatting on some cells.
If the cell value < 0 --> cell color is red
If 0<=cell value <1 -> cell color is a gradient chaging from red to yellow
If the cell value is 1 --> cell color is yellow
If 1< cell value is <=2 --> cell color is a gradient changing from yellow to green
If cell value =2 --> cell color is green
If 2<cell value <=3 --> cell color is a gradient changing from green to yellow
If cell color =3 --> cell color is yellow
If 3< cell value < 4 --> cell color is gradient changing from yellow to red
If cell value >=4 --> cell color is red

I tried using multiple rules in the color scale but it seems the cell only recognize 1 rule at a time. Can someone help me to create this? Thanks!
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
Hi and welcome to the MrExcel Message Board.

Yes, it will only run one rule but it looks as if you only need one to work.

What formulas did you use?
 
Upvote 0
Re: Use Excel color scale to do gradient with more than 3 points (Solved)

Hi and welcome to the MrExcel Message Board.

Yes, it will only run one rule but it looks as if you only need one to work.

What formulas did you use?

Thank you very much for the follow up! I actually just solved this problem by using macros to do the gradient.
 
Upvote 0
Re: Use Excel color scale to do gradient with more than 3 points (Solved)

OK, thanks for letting me know.

Regards,
 
Upvote 0

Forum statistics

Threads
1,217,361
Messages
6,136,103
Members
449,991
Latest member
IslandofBDA

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