Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in
x
or
x
x
Register
x

or

How to change chart axis labels' font color and size in Excel?

For example you have a chart and Y axis labels are numbers, and now you are wanting to change the labels' font color and font size based on value scale in Excel, how to solve this problem? Here I will introduce 4 ways to change labels' font color and size in a selected axis of chart in Excel easily.

Change all axis labels' font color and size in a chart

Change all negative axis labels' font color in a chart

Change axis labels' font color by positive/negative/0 with conditional formatting in a chart

Change axis labels' font color if greater or less than value with conditional formatting in a chart

Easily combine multiple worksheets/workbooks/CSV files into one worksheet/workbook

It may be tedious to combine dozens of sheets from different workbooks into one sheet. But with Kutools for Excel’s Combine (worksheets and workbooks) utility, you can get it done with just several clicks! Full Feature Free Trial 60-day!
ad combine sheets books 1


arrow blue right bubbleChange all axis labels' font color and size in a chart

We can easily change all labels' font color and font size in X axis or Y axis in a chart.

Just click to select the axis you will change all labels' font color and size in the chart, and then type a font size into the Font Size box, click the Font color button and specify a font color from the drop down list in the Font group on the Home tab. See below screen shot:

Then the font color and font size of all labels in the selected axis are changed at once.


arrow blue right bubbleChange all negative axis labels' font color in a chart

If you want to change all negative labels' font color in X axis or Y axis in a chart, you can do it as follows:

1. Right click the axis where you will change all negative labels' font color, and select the Format Axis from the right-clicking menu.

2. Do one of below processes based on your Microsoft Excel version:
(1) In Excel 2013's Format Axis pane, expand the Number group on the Axis Options tab, click the Category box and select Number from drop down list, and then click to select a red Negative number style in the Negative numbers box.
(2) In Excel 2007 and 2010's Format Axis dialog box, click Number in the left bar, click to highlight the Number in the Category box, and then click to select a red Negative number style in the Negative numbers box.

Excel 2013 and higher versions:

Excel 2007 and 2010:

Note: You can also enter the code of #,##0_ ;[Red]-#,##0 into the Format Code box and click the Add button too. By the way, you can change the color name in the format code, such as #,##0_ ;[Blue]-#,##0.

3. Close the Format Axis pane or Format Axis dialog box.
Now all negative labels in the selected axis are changed to red (or other color) immediately. See below screen shot:


arrow blue right bubbleChange axis labels' font color by positive/negative/0 with conditional formatting in a chart

Sometimes, you may want to change labels' font color by positive/negative/0 in an axis in chart. You can get it done with conditional formatting easily as follows:

1. Right click the axis you will change labels by positive/negative/0, and select the Format Axis from right-clicking menu.

2. Do one of below processes based on your Microsoft Excel version:
(1) In Excel 2013's Format Axis pane, expand the Number group on the Axis Options tab, and then enter [Blue]#,###;[Red]#,###;[Green]0; into the Format Code box, and click the Add button.
(2) In Excel 2007 and 2010's Format Axis dialog box, click the Number in left bar, enter [Blue]#,###;[Red]#,###;[Green]0; into the Format Code box, and click the Add button.

Excel 2013 and higher versions:

Excel 2007 and 2010:

Note: In the format code of [Blue]#,###;[Red]#,###;[Green]0; , the "Blue" means it will change all positive labels to blue, "Red" means it will change all negative labels to red, "Green" means 0 will turn to green, and you can change all color names based on your needs.

3. Close the Format Axis pane or Format Axis dialog box.
Then all labels' font color are changed based on the format code in the selected axis. See below screen shot:


arrow blue right bubbleChange axis labels' font color if greater or less than value with conditional formatting in a chart

If you want to change axis labels' font color when label numbers are greater or less than a specific value in a chart, you can get it done with conditional formatting too.

1. Right click the axis you will change labels when they are greater or less than a given value, and select the Format Axis from right-clicking menu.

2. Do one of below processes based on your Microsoft Excel version:
(1) In Excel 2013's Format Axis pane, expand the Number group on the Axis options tab, enter [Blue][<=400]General;[Magenta][>400] Format Code box, and click the Add button.
(2) In Excel 2007 and 2010's Format Axis dialog box, click Number in left bar, enter [Blue][<=400]General;[Magenta][>400] into Format Code box, and click the Add button.

Excel 2013 and higher versions:

Excel 2007 and 2010:

3. Close the Format Axis pane/dialog box.
Note: The format code [Blue][<=400]General;[Magenta][>400] means if labels are less or equal to 400, they will be changed to blue, and if labels are greater than 400 they will be changed to magenta. See below screen shot:


Demo: change labels' font color on axis of chart in Excel

In this Video, the Kutools tab and the Kutools Plus tab are added by Kutools for Excel. If need it, please click here to have a 60-day free trial without limitation!

Save chart as AutoText and reuse it with only one click in Excel

Kutools for Excel’s Auto Text utility can save a selected chart as an Auto Text, and you can reuse this chart at any time in any workbook by only one click. Full Feature Free Trial 60-day!
ad autotext chart axix font color


Recommended Productivity Tools

Ribbon of Excel (with Kutools for Excel installed)

300+ Advanced Features Increase Your Productivity by 71%, and Help You To Stand Out From Crowd!

Would you like to complete your daily work quickly and perfectly? Kutools For Excel brings 300+ cool and powerful advanced features (Combine workbooks, sum by color, split cell contents, convert date, and so on...) for 1500+ work scenarios, helps you solve 82% Excel problems.

  •  Deal with all complicated tasks in seconds, help to enhance your work ability, get success from the fierce competition, and never worry about being fired.
  •  Save a lot of work time, leave much time for you to love and care the family and enjoy a comfortable life now.
  •  Reduce thousands of keyboard and mouse clicks every day, relieve your tired eyes and hands, and give you a healthy body.
  •  Become an Excel expert in 3 minutes, and get admiring glance from your colleagues or friends.
  •  No longer need to remember any painful formulas and VBA codes, have a relaxing and pleasant mind, give you a thrill you've never had before.
  •  Spend only $39, but worth than $4000 training of others. Being used by 110,000 elites and 300+ well-known companies.
  •  60-day unlimited free trial. 60-day money back guarantee. Free upgrade and support for 2 years. Buy once, use forever.
  •  Change the way you work now, and give you a better life immediately!

Office Tab Brings Efficient And Handy Tabs to Office (include Excel), Just Like Chrome, Firefox, And New IE

  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Open and create documents in new tabs of same window, rather than in new windows.
  • Help you work faster and easily stand out from the crowd! One second to switch between dozens of open documents!
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.
  • To post as a guest, your comment is unpublished.
    steve · 2 years ago
    Hi
    Can you help me? how do you make a line chart change colour when it goes negative. I can do it with a bar chart but not with a line chart for some reason.
    Any help is appreciated.
    Thanks
    Steve