Please Note: This article is written for users of the following Microsoft Excel versions: 2007, 2010, 2013, 2016, 2019, 2021, and Excel in Microsoft 365. If you are using an earlier version (Excel 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Excel, click here: Fixing the Decimal Point.

Fixing the Decimal Point

Written by Allen Wyatt (last updated February 4, 2023)
This tip applies to Excel 2007, 2010, 2013, 2016, 2019, 2021, and Excel in Microsoft 365


1

Most electronic calculators have an option that allows you to specify a fixed location for a decimal point. This comes in real handy when you are working with dollars and cents, for instance. With the decimal point fixed at two places, you can enter "213" and have the calculator translate it as "2.13". Likewise, if you enter "2", the calculator translates it as "0.02".

Excel has a feature that allows you to do the same thing. To fix the number of decimal places assumed when inputting information, follow these steps:

  1. Display the Excel Options dialog box. (In Excel 2007 click the Office button and then click Excel Options. In Excel 2010 and later versions display the File tab of the ribbon and then click Options.)
  2. At the left of the dialog box click Advanced.
  3. Under Editing Options, make sure that the Automatically Insert a Decimal Point check box is selected. (See Figure 1.)
  4. Figure 1. The advanced options of the Excel Options dialog box.

  5. Using the Places control, specify how many decimal places Excel should assume.
  6. Click the OK button.

Remember that this control only affects any new values that you enter into a cell. It does not affect any values entered previously. Thus, if a cell already contains the value 1.2345, then changing the setting to 2 decimal places will not change the value to 1.23 or 123.45.

It also only affects new values entered where you don't include a decimal point. Thus, if you have the decimal places set to 2 and you enter "1.2345" (with the decimal point), then the value entered will include the four decimal places.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (7565) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, 2021, and Excel in Microsoft 365. You can find a version of this tip for the older menu interface of Excel here: Fixing the Decimal Point.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Formatting All Headings At Once

If you need to apply a common formatting change to all the headings in your document, a quick way to do it is to use the ...

Discover More

Saving Information in a Non-Document Text File

Need to store some information in a plain text file? It's easy to do when you use a macro.

Discover More

Adding Ampersands in Headers and Footers

Add an ampersand to the text in a header or footer and you may be surprised that the ampersand disappears on your ...

Discover More

Create Custom Apps with VBA! Discover how to extend the capabilities of Office 2013 (Word, Excel, PowerPoint, Outlook, and Access) with VBA programming, using it for writing macros, automating Office applications, and creating custom applications. Check out Mastering VBA for Office 2013 today!

More ExcelTips (ribbon)

Automatically Loading Add-ins

Want to load a particular add-in for use with a specific worksheet? Here's a quick way to do it using macros.

Discover More

Turning Off Display of Zeros for All Worksheets

Some people like zero values displayed; others do not. Excel allows you to easily turn the display on or off for a single ...

Discover More

Controlling Display of the Formula Bar

The Formula Bar is a regularly used feature in the Excel interface. You can, however, modify whether Excel displays the ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is 7 - 7?

2023-02-04 11:33:13

J. Woolley

My Excel Toolbox includes the FixedDecimal macro to enable or disable fixed decimal data entry. You can easily adjust the fixed decimal place (positive or negative) assigned to numbers entered without a decimal point.
My Excel Toolbox also includes the following function to return the fixed number of decimal places, or FALSE if that feature is disabled:
=FixedDecimalPlaces()
See https://sites.google.com/view/MyExcelToolbox/
For related discussion, see https://excelribbon.tips.net/T007563_Entered_Values_are_Divided_by_100.html


This Site

Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.