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

Written by Allen Wyatt (last updated December 13, 2021)
This tip applies to Excel 2007, 2010, 2013, and 2016


8

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

Multiple Print Areas on a Single Printed Page

Want to print small, non-contiguous areas of your worksheet all on a single page? You might think that defining a ...

Discover More

Applying Styles

Styles are a powerful formatting tool for the text in your documents. Once you've created styles that describe how you ...

Discover More

Expanding Width of All Tables

If you have a lot of tables in your documents, you might want to change the width of all of them. You can take forever ...

Discover More

Program Successfully in Excel! John Walkenbach's name is synonymous with excellence in deciphering complex technical topics. With this comprehensive guide, "Mr. Spreadsheet" shows how to maximize your Excel experience using professional spreadsheet application development tips from his own personal bookshelf. Check out Excel 2013 Power Programming with VBA today!

More ExcelTips (ribbon)

Enlarging the Formula Bar

The Formula bar is used to display the formula that appears in a cell. You may want to modify how the Formula bar is ...

Discover More

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

Setting a Default File Format

Excel normally saves workbooks using a default file format that is peculiar to your version of the program. You can ...

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 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()
See https://sites.google.com/view/MyExcelToolbox/


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.