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)

7

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

Basing Headers and Footers on the Previous Section

Word treats the headers and footers in a document independently, based on the section in which they appear. This means ...

Discover More

Shortcuts to Change Text Colors

Want a way to change the color of your text through a shortcut key? You can do so by using the macros described in this tip.

Discover More

Converting PDF to Excel

Reports and other formal documents are often distributed in PDF format so that they can be read and printed on a variety ...

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)

Controlling the Behavior of the Mouse Wheel

The mouse wheel, by default, controls scrolling vertically through your worksheet. If you don't want the wheel to control ...

Discover More

Controlling Display of Page Breaks

Do you want page breaks displayed on the screen? Excel allows you to specify whether it should show those page breaks or not.

Discover More

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
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 one more than 7?

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()
Dim Answer As Variant
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
If Answer = "0" Then
Application.FixedDecimal = False
Exit Sub
Else
Application.FixedDecimal = True
'ActiveCell.Value = ActiveCell.Value & "*" & Answer
Application.FixedDecimalPlaces = 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.

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.