How to Change Decimal Places in Excel Graph (3 Approaches)

While working with Excel, we deal with things like money, weight, and length and therefore we employ decimals. While dealing with those we may want the visual representation, thus we use graphs. We utilize decimal places in graphs when we need greater accuracy for partial replacement integers. In this article, we will demonstrate different approaches to change decimal places in Excel graph.


How to Change Decimal Places in Excel Graph: 3 Approaches

The basis for regrouping, multiple-digit multiplication, and other operations in the decimal system is laid by place value. This also serves as a springboard for comprehending other base systems. By highlighting patterns and trends that are hard to spot in the data, Excel graphs aid in understanding the information in a spreadsheet. Let’s follow the methods to change decimal places in Excel graphs.


1. Utilize Data Labels of Excel Graph to Convert Decimal Places

When we change any value on a spreadsheet, the Data Labels update numbers immediately on the spreadsheet which is related to changing data values. Since they provide information on a data series or its single data points, data labels help a graph’s viewers better grasp its contents. We can use this to change decimal places in the graph. Let’s look at the instructions to use this.

STEPS:

  • Firstly, we will insert the graph. For this, select the data.
  • Secondly, go to the Insert tab from the ribbon.
  • Thirdly, click on the Insert Column or Bar Chart drop-down menu under the Charts group.
  • Then, select the Clustered Column under the 2-D Column option.

how to change decimal places in excel graph

  • Thus the graph will be displayed in your sheet. We have added a title to the graph.
  • Click on the graph and go to the Chart Elements.
  • Further, go to Data Labels and select More Options.

how to change decimal places in excel graph

  • The Format Data Labels dialog will appear on the right side of your sheet.
  • Furthermore, go to Label Options and click on Number.
  • Subsequently, select Number from the Category menu.
  • Change the Format Code (#,##0).
  • Lastly, click on the Add button.

how to change decimal places in excel graph

  • Now, you can see the decimal places will change in your Excel graph.


2. Use of Format Cells Feature to Change Decimal Places

We use the Excel Format Cells feature to change the appearance of cell numbers in Excel while altering the actual value. Let’s have a look at the steps to change decimal places with format cell features.

STEPS:

  • Likewise the previous method, first, we insert the graph.

  • Then, select the data that have decimal places.
  • Go to the Home tab from the ribbon.
  • Further, to display the Format Cells dialog box, click on the tiny icon under the Number category.
  • Instead of doing this, you can use the keyboard shortcut CTRL+1 to display the Format Cells dialog box.

  • Thus, the Format Cells dialog box will appear.
  • Now, go to the Number menu and select Accounting (as we use Price & Sales).
  • Change the Decimal places, in our case we change 2 decimal places. and click on OK.

  • This will automatically change the decimal places in Excel graphs.

how to change decimal places in excel graph


3. Apply VBA to Commute Decimal Places in Excel Graph

With Excel VBA, users can easily use the code which acts as an Excel menu from the ribbon. To change decimal places with the VBA code, let’s follow the procedure.

STEPS:

  • Correspondingly, Incorporate the graph.
  • Then, go to the Developer tab from the ribbon.
  • Secondly, click on Visual Basic from the Code category to open the Visual Basic Editor. Or press ALT+F11 to open the Visual Basic Editor.

  • Thirdly, click on Module from the Insert drop-down menu bar.

how to change decimal places in excel graph

  • This will create a Module in your workbook.
  • And, copy and paste the VBA code shown below.

VBA Code:

Sub Change_DecimalPlaces()
  Dim objct As Object
For Each objct In ActiveSheet.ChartObjects
   With objct.Chart.Axes(xlValue)
   .TickLabels.NumberFormat = "#,##0"
      End With
   With objct.Chart.Axes(xlCategory)
    .TickLabels.NumberFormat = "#,##0"
   End With
Next objct
End Sub
  • After that, run the code by clicking on the RunSub button or pressing the keyboard shortcut F5.

how to change decimal places in excel graph

  • And, finally, following the steps will change the decimal places in your Excel graph.


How to Configure Excel to Automatically Place Decimal Points

You may modify Excel’s appearance and behavior using the Excel Options dialog box. Editing, copying, pasting, printing, display calculations, formulae, general, and compatible options are among them. Let’s have a glance at the procedures to configure excel to automatically place decimal points.

STEPS:

  • To begin with, go to the File tab.

  • This will take you backstage to the Excel menu.
  • Further, click on Excel Options.

  • Consequently, from the Excel Options, click on Advanced.
  • Scroll down to the Editing options and checkmark the Automatically insert a decimal place.
  • Select your preferred decimal place.
  • Finally, click on OK.
  • Now, whenever you insert any decimal places in your workbook, this will automatically show the place you have changed.


How to Change Axis Scale in Excel Graph

Whenever the chart data are vast numbers that you wish to seem smaller and more legible on the axis, changing the display unit might be helpful. Let’s take a look at the instructions to change the axis scale in the Excel graph.

STEPS:

  • Right-click on any axis of your graph and select Format Axis.

  • This will open the Format Axis window on the right side of your excel sheet.
  • Go to Axis Options and change the Minimum and Maximum values.
  • And, that’s it!


Things to Remember

  • Even after a chart has been generated, Excel makes it simple to change its type. Click within the chart to access the “Chart Design” page, then look for the “Change Chart Type” option and choose the new type of chart you wish to use.
  • When we build a chart in Microsoft Office Excel, the vertical (value) axis, also referred to as the y-axis, has minimum and maximum scale values that are determined. To best suit purposes, we may alter the scale.

Download Practice Workbook


Conclusion

The above methods will assist you regarding how to Change Decimal Places in Excel. Hope this will help you! Please let us know in the comment section if you have any questions, suggestions, or feedback.


Related Articles


<< Go Back to Customize Excel Charts | Excel Charts | Learn Excel

Get FREE Advanced Excel Exercises with Solutions!
Sabrina Ayon
Sabrina Ayon

Sabrina Ayon, a Computer Science and Engineering graduate from United International University, has been an integral part of the ExcelDemy project for two years. She authored 150+ articles, excelling in instructing through visually engaging Excel tutorials. With a passion for teaching, Sabrina conducted sessions on Excel VBA, sharing her knowledge and insights with others. Currently holding the position of Project Manager for the ExcelDemy Visual Development Project, she oversees various aspects of the project, ensuring its smooth operation... Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo