[Excel] How to Remove Decimals from Chart Axis Labels | Beginner’s Guide to Displaying Integers

目次

Introduction

When you create a chart in Excel, the axis labels often automatically display with decimal points, such as “1.0” or “2.0”, even when your data consists only of integers. To make your chart look cleaner and easier to read, you can change the format to display integers without decimal places.

In this article, I will explain the steps to change the axis label settings in Excel to remove decimals.

How to Format Chart Axis as Integers

In Excel, you can hide decimal points by changing the “Format Code” of the chart axis. Follow the steps below.

1. Click on the Chart Axis

Click on the labels (numbers) of the axis you want to change in your graph. This will select the axis.

2. Select “Axis Options” in Format Axis

When the axis is selected, the “Format Axis” pane usually appears on the right side of the screen. (If it does not appear, right-click on the axis and select “Format Axis”.)

Select the “Axis Options” icon (looks like a bar chart) in the pane.

3. Open “Number” Settings

Scroll down to the bottom of the “Axis Options” menu and click on “Number” to expand the section.

4. Change “Category” to “Number”

Find the “Category” dropdown menu and change it from “General” (or “Source Linked”) to “Number”.

5. Set “Decimal places” to 0

Once you select “Number,” a box for “Decimal places” will appear. Change the value in this box to “0”.

6. Apply Settings

Once you press Enter or click away, the settings will be applied immediately. The decimal points in the axis labels will disappear, and only integers will be displayed.

Summary

If chart axis labels in Excel are displaying unwanted decimal points, you can fix it by going to “Format Axis” -> “Number” -> change Category to “Number” -> set “Decimal places” to 0.

Using this method allows you to create charts that are cleaner and more professional. Please try it out.

よかったらシェアしてね!
  • URLをコピーしました!
  • URLをコピーしました!

この記事を書いた人

私が勉強したこと、実践したこと、してることを書いているブログです。
主に資産運用について書いていたのですが、
最近はプログラミングに興味があるので、今はそればっかりです。

目次