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

by Allen Wyatt
(last updated December 13, 2021)

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.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (7565) applies to Microsoft Excel 2007, 2010, 2013, and 2016. 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

Expiration Date for Excel Programs

If you use Excel to create a macro-based application, you may want to make sure that your programs cease working after a ...

Discover More

Listing Combinations

You can easily use the COMBIN worksheet function to determine the number of combinations that can be made from a given ...

Discover More

Missing Row Numbers

By default, Excel shows row numbers at the left side of your program window. If you cannot see the row numbers, there are ...

Discover More

Professional Development Guidance! Four world-class developers offer start-to-finish guidance for building powerful, robust, and secure applications with Excel. The authors show how to consistently make the right design decisions and make the most of Excel's powerful features. Check out Professional Excel Development today!

##### More ExcelTips (ribbon)

Changing Error Checking Rules

Excel can check the data and formulas in your worksheet to see if it detects any errors. The rules used for this checking ...

Discover More

Changing the Ribbon's Size and Look

The Ribbon, while debatably handy, can be downright difficult to use for those with a sight impairment. Here are some ...

Discover More

Changing Excel's Starting Date

When keeping track of dates, internally, Excel uses special date serial numbers that are based upon a specific day in the ...

Discover More
##### Subscribe

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

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 9 - 3?

2022-02-06 12:26:41

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. The following function returns the fixed number of decimal places, or FALSE if disabled:
=FixedDecimalPlaces()

2022-01-26 11:59:56

J. Woolley

@Philip
On Windows you can right-click the status bar and put a check mark next to "Fixed Decimal" so it will be indicated, but only if ON.

2022-01-25 09:13:49

Philip

On Mac (excel 365 latest update 16.57) the setting to fix the number of decimal places works fine, except for one thing: the "Fixed Decimal" indication on the status bar does NOT show up.

Anybody has the same experience?

2021-12-14 07:51:08

Billy Thomas

Macro to easily and quickly set the decimal point to 1, 2, 3, etc.. Note the part that says how to cancel & go back to zero...
Sub FixDecimals()
Answer = Application.InputBox("Enter Number of Decimals." & vbCrLf & "To cancel this feature, invoke this procedure and enter 0 [zero].", "Get Number", Type:=1)
If TypeName(Answer) = "Boolean" Then Exit Sub
Application.FixedDecimal = False
Exit Sub
Else
Application.FixedDecimal = True
'ActiveCell.Value = ActiveCell.Value & "*" & Answer
End If
End Sub

2021-12-13 09:58:01

kiwerry

This tool to toggle the setting may be useful if one needs to change the setting often. It has been written out long for readability, and if the setting is switched o it sets decimals to two, which can of course easily be changed:

Sub Toggle_Decimal_on_Entry()
If Application.FixedDecimal = True Then
Application.FixedDecimal = False
Else
Application.FixedDecimal = True
Application.FixedDecimalPlaces = 2
End If
End Sub

2020-07-11 22:45:41

Mark

Thanks, been trying to fix this for a month !

2017-08-19 09:14:27

Allen

On the Mac, Mike, choose Excel > Preferences > Edit. You can change the "Display this number of decimal places" setting.

-Allen

2017-08-19 08:04:45

Mike Smith

Unfortunately this doesn't seem to work in Excel for Mac Version 15.32 (170309).

There is no File tab available in the ribbon and no Options panel anywhere that I can find.

Any suggestions would be very welcome - this tip alone would save me hundreds of clicks a week!

##### 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.