Forum Discussion
Assign color to specific numbers
- Apr 07, 2018
Hi Niclas,
You can do that with another technique along with the Conditional Formatting.
After you finish the previous steps and apply the colors to the numbers:
- Select the range of numbers.
- Click Ctrl+1 to open the Format Cells dialog box.
- From the Number tab, select Custom category.
- In the Type box, type double quotation mark twice "" and then hit OK.
Hi Niclas,
Welcome to Microsoft Excel Community!
There is a powerful tool in Excel called (Conditional Formatting), through this tool you can achieve what you asking for in the following steps:
- Select the range (for example A1:B5) that you want to assign the colors to it.
- Go to Home >> Styles >> Conditional Formatting >> Highlight Cells Rules >> Equal To.
- In Equal To dialog box put the number and assign the color that you want to it, then click OK.
- Do the same steps for each number.
I hope this helps you
- Username1185Sep 25, 2020Copper Contributor
This doesn't help It only gives pre determined colorsHaytham Amairah
- David_MouFeb 20, 2020Copper Contributor
Hi,
Unfortunately when i tried this more than 1 time the function is no longer available.
I tried it and it work more or less perfect, but just for the first time.
Is it something that´s wrong with my excel or is it a setting?
Thanks fro your time
- Niclas JohanssonApr 07, 2018Brass Contributor
Hello Haytham,
First of all, thanks alot for your help.
An additional thing tho.
Is it possible to achieve that the numbers actually disappears in the actual cell? So only the color is visible?
Br
Niclas
- Haytham AmairahApr 07, 2018Silver Contributor
Hi Niclas,
You can do that with another technique along with the Conditional Formatting.
After you finish the previous steps and apply the colors to the numbers:
- Select the range of numbers.
- Click Ctrl+1 to open the Format Cells dialog box.
- From the Number tab, select Custom category.
- In the Type box, type double quotation mark twice "" and then hit OK.
- Niclas JohanssonApr 07, 2018Brass ContributorVery good.
Thanks alot.
Works perfectly.