Limiting Precision

Written by Allen Wyatt (last updated June 24, 2023)
This tip applies to Excel 97, 2000, 2002, and 2003


There may be times when you want to limit the precision used in computations by Excel. This may come in particularly handy when you are working with set-precision numbers, such as currency amounts. As you learned in other issues of ExcelTips, Excel maintains fifteen digits of internal precision, but that may not be how you have your information displayed.

This dichotomy can lead to some interesting results. For instance, let's say that you have a number stored in Excel, which is 1.44. You want to figure out what 110% of that number is, and then double it. You put the original number (1.44) in cell A1. In cell A2 you place the formula =1.1*A1. In cell A3 you place the formula =2*A2. You then format each of the three cells for Currency formatting. At this point, A1 will contain $1.44, A2 will contain $1.58, and A3 will contain $3.17.

At first glance, it would appear that the result in A3 is wrong. After all, two times $1.58 is $3.16, not $3.17. The difference is due to how rounding is done and how Excel performs internal calculations. It turns out that the value in cell A2 is not really $1.58, but 1.584, and the value in cell A3 is then 3.168. When rounded, it becomes 3.17.

If you want to get around this problem, you can do so by changing how Excel handles precision. Follow these steps:

  1. Choose Options from the Tools menu. You will see the Options dialog box.
  2. Make sure the Calculation tab is selected. (See Figure 1.)
  3. Figure 1. The Calculation tab of the Options dialog box.

  4. Ensure that the Precision As Displayed check box is selected.
  5. Click on OK.

When you do this, Excel only performs calculations using the digits you have displayed in a cell. In the above example, it means that cell A3 now contains $3.16 because the calculation on A2 was done on only $1.58, as displayed.

You should note that when you change this precision setting on Excel, the numbers maintained by Excel are permanently changed. Thus, if you entered some numbers that had five digits to the right of the decimal, and then you displayed only two, changing the precision setting would permanently throw away three of the digits—those farthest to the right.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (2642) applies to Microsoft Excel 97, 2000, 2002, and 2003.

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 Measurement Units

When working in Word's dialog boxes, most people understand that you should enter measurements using inches. If you don't ...

Discover More

Making Banners in Word

Word can be used for printing a variety of document types. You may want to use the program to print a festive banner for ...

Discover More

Setting the Right Indent of a Paragraph in a Macro

Need to format your document using a macro? You can easily set the right margin for an individual paragraph by using the ...

Discover More

Create Custom Apps with VBA! Discover how to extend the capabilities of Office 2013 (Word, Excel, PowerPoint, Outlook, and Access) with VBA programming, using it for writing macros, automating Office applications, and creating custom applications. Check out Mastering VBA for Office 2013 today!

More ExcelTips (menu)

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

Excel Won't Display Different Windows in the Taskbar

If you want individual Taskbar buttons for each open Excel workbook but cannot seem to get those buttons, the culprit ...

Discover More

Canceling a Menu

Want to cancel whatever menu command you started to use in Excel? The normal method is by pressing Esc, but this is not ...

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 less than 9?

There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)


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.