Customised colour scale using / as the value

winds

Board Regular
Joined
Mar 9, 2022
Messages
69
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
  2. MacOS
How to make a color scale in excel so that it applies to "/", and the color scale already starts red when only this value is inputted without the need to input other values.

In context, from what I understand, conditional formatting works so that as more values are inputted, the color scales adjust, but in this case that I am looking for, the color scales don't need to adjust, so when "/" is inputted it starts off with say red immediately and not the usual case say green so that when another "/" is inputted it will adjust.
 
i think this will need VBA Solution , which i do not provide

you could perhaps setup a range of rules
maybe 8 rules
so you change colour each 100

so RED = =AND(A2="/",COUNTIF(A2, "/")<=100)

then the shades in between maybe something like

lighter red <=200
Light orange <=300
orange <=400
Light Yellow <=500
Yellow <=600
light green <=700

Green = =AND(A2="/",COUNTIF(A2:$A$2,"/")>700)

Also not sure how many shades of colour are available - 300 shades of 1 colour seems a lot , even if possible in Excel - I guess VBA using RGB colour code , but not sure I think using colour index has 56 colours in total

BUT i could easily be wrong on this - as i have never really used anything like that many colours for conditional formatting
 
Upvote 0

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
Hey there, eventually I just did a workaround where I copypaste the complete colour scale into word, paste that back into excel, remove the values then replace it with /.
Thank you for your help.
 
Upvote 0
Thanks for providing the update
Glad you have found a solution/workaround

You could on another row count the number of / quite easily
1,2,3,4 etc
But I’m still not sure how a colour scale would work

How did you create it in word?
 
Upvote 0
Just copy a complete colour scale from excel into word, then copy from word back to excel, and remove values so only the colours are left.
 
Upvote 0

Forum statistics

Threads
1,215,064
Messages
6,122,936
Members
449,094
Latest member
teemeren

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