Please Note: This article is written for users of the following Microsoft Excel versions: 2007, 2010, 2013, 2016, 2019, Excel in Microsoft 365, and 2021. 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, Excel in Microsoft 365, and 2021


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, Excel in Microsoft 365, and 2021. 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

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

Getting Rid of Fixed Objects

Some dialog boxes in Excel refer to "fixed objects" in worksheets. What are they and how do you get rid of them?

Discover More

Understanding Forms

If you have ever created several documents that contain the same basic information with only a few minor differences, ...

Discover More

Comprehensive VBA Guide Visual Basic for Applications (VBA) is the language used for writing macros in all Office programs. This complete guide shows both professionals and novices how to master VBA in order to customize the entire Office suite for their needs. Check out Mastering VBA for Office 2010 today!

More ExcelTips (ribbon)

Changing Ribbon Tool Defaults

The tools available on the Ribbon allow you to easily format information in a worksheet. If you'd like those tools to ...

Discover More

Setting the AutoRecover Directory

Excel, by default, periodically writes information to AutoRecover files that can help protect your data in case Excel is ...

Discover More

Displaying Excel's Developer Tab

The Developer tab of the ribbon is the gateway to many advanced features in Excel, including those features related to ...

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 2 + 2?

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.