Please Note: This article is written for users of the following Microsoft Excel versions: 97, 2000, 2002, and 2003. If you are using a later version (Excel 2007 or later), this tip may not work for you. For a version of this tip written specifically for later versions of Excel, click here: Fixing the Decimal Point.

Fixing the Decimal Point

by Allen Wyatt
(last updated February 19, 2018)

5

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 instances. 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. Choose Options from the Tools menu. Excel displays the Options dialog box.
  2. Make sure the Edit tab is selected. (See Figure 1.)
  3. Figure 1. The Edit tab of the Options dialog box.

  4. Make sure the Fixed Decimal check box is selected.
  5. Using the Places control, specify how many decimal places Excel should assume.
  6. Click OK.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (2755) applies to Microsoft Excel 97, 2000, 2002, and 2003. You can find a version of this tip for the ribbon interface of Excel (Excel 2007 and later) 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

Changing What Is Pasted in a Dialog Box

When you record a macro, Word very literally records what you do. This includes filling in various settings in dialog ...

Discover More

Font Substitution Problems

When your document uses fonts that are not available on your computer system, Word substitutes other fonts that it feels ...

Discover More

Counting Commas in a Selection

If you have a range of cells in which you want to count all the commas, there are several ways you can derive the figure ...

Discover More

Save Time and Supercharge Excel! Automate virtually any routine task and save yourself hours, days, maybe even weeks. Then, learn how to make Excel do things you thought were simply impossible! Mastering advanced Excel macros has never been easier. Check out Excel 2010 VBA and Macros today!

More ExcelTips (menu)

Limiting Number of Characters in a Cell

Need to limit the number of characters that can be entered into a cell? One easy way to do it is through the use of Data ...

Discover More

Entering Numbers in Excel

Enter information into a cell, and Excel needs to figure out what type of information it is. Here's how Excel interprets ...

Discover More

Referencing the Last Cell in a Column

When developing formulas, you may need to reference the very last value in a particular column. This can seem perplexing, ...

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}] 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 5 + 2?

2015-09-22 05:39:46

DHIRAJ

it was helpful
thanks a lot


2015-03-22 08:04:05

Michael (Micky) Avidan

@Ruri,
Assuuming the 5 columns are A<->E, try to use the following Event-MAcro in that specific sheey.
--------------------------------------
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Column <= 5 Then
Application.EnableEvents = False
Target = Target * 1000
Target.NumberFormat = "#,#"
Application.EnableEvents = True
End If
End Sub
----------
Michael (Micky) Avidan
“Microsoft® Answers" - Wiki author & Forums Moderator
“Microsoft®” MVP – Excel (2009-2015)
ISRAEL


2015-03-21 16:38:26

Ruri

I am looking for a way to do something similar to "Fixed-Decimal Places = -3" but only for about 5 specified columns within my worksheet. I want to enter 203 into the cell in that specified column and have it show and be used as 203,000. Is there a way to do this? Thanks ~RB


2013-06-19 19:36:56

John

Note this tip appears to apply to all Workbooks.

Also if you are using later versions of Excel (2010), you need to go to the File - Options - Advanced Dialog box where you will find the Automatic Insertion of Decimal Point Option.

One option would be to create an icon on a custom toolbar that would run the following macro to easily toggle the Automatic Insertion of the Decimal.

Sub DecimalPointTOGGLE()
'
' DecimalPointTOGGLE Macro
' TOGGLES Automatic Decimal Point Insertion
'

'
If Application.FixedDecimal = True Then
Application.FixedDecimal = False
Else
Application.FixedDecimal = True
End If
End Sub

You could also write a short macro that runs when you close your workbook to automatically set Application.FixedDecimal = False.

Likewise you could have it automatically set to Application.FixedDecimal = True when you load the workbook.


2013-06-17 18:46:43

David

It would be useful to know whether this major change applies to Excel or only to the currently active workbook.


This Site

Got a version of Excel that uses the menu interface (Excel 97, Excel 2000, Excel 2002, or Excel 2003)? This site is for you! If you use a later version of Excel, visit our ExcelTips site focusing on the ribbon 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.