+ Reply to Thread
Results 1 to 5 of 5

Excel automatically rounds to 10+ decimal places

  1. #1
    Registered User
    Join Date
    02-12-2016
    Location
    paramus, nj
    MS-Off Ver
    excel 2015
    Posts
    16

    Excel automatically rounds to 10+ decimal places

    Hi all,

    Sometimes when I am doing a formula and press enter, the result is a number with so many decimal places. Is this because of a setting? Is there a setting that automatically rounds the number to 2 decimal places without having to manually do it each time.

    Thanks for your help.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,916

    Re: Excel automatically rounds to 10+ decimal places

    Select the column - choose number format. It should set it automatically at 2 decimal places, but you can use the buttons to adjust it.

    Formulaically, you'd do it this way:

    =ROUND(your_formula,2)
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Expert
    Join Date
    05-01-2014
    Location
    California, US
    MS-Off Ver
    Excel 2010
    Posts
    1,795

    Re: Excel automatically rounds to 10+ decimal places

    Quote Originally Posted by jason4444 View Post
    Sometimes when I am doing a formula and press enter, the result is a number with so many decimal places. Is this because of a setting? Is there a setting that automatically rounds the number to 2 decimal places without having to manually do it each time.
    Not exactly. You might consider clicking File > Options > Advanced and setting the "Precision as displayed" (PAD) option.

    I do not recommend that option.

    And if you experiment with it, make a backup copy of the Excel file before setting the option.

    PAD will permanently change constant cell values that you enter with more decimal places than the cell format displays.

    But note that setting PAD causes cell values to be rounded to the number of decimal places specified by the cell format. That is not necessarily the number of decimal places displayed, if the cell is formatted as General.

    Moreover, PAD affects only the final cell value. It does not affect the precision of values used or derived within formulas.

    So setting PAD still might not solve all of your problems with the default precision of Excel calculations.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,916

    Re: Excel automatically rounds to 10+ decimal places

    Thanks for the rep!

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

  5. #5
    Forum Expert
    Join Date
    05-01-2014
    Location
    California, US
    MS-Off Ver
    Excel 2010
    Posts
    1,795

    Re: Excel automatically rounds to 10+ decimal places

    Quote Originally Posted by AliGW View Post
    Select the column - choose number format. It should set it automatically at 2 decimal places, but you can use the buttons to adjust it.
    Formulaically, you'd do it this way: =ROUND(your_formula,2)
    Quote Originally Posted by AliGW View Post
    Thanks for the rep!
    Jason, of course you specifically asked for a solution "without having to manually do it each time". So I assume that you rejected the ROUND(...,2) solution.

    And if you opted for the first solution -- setting the column format -- that might not be the right solution for you.

    Note that setting the format only changes the appearance of values [1]. The actual value still has many more decimal places, and those extra decimal places affect dependent calculations.

    [1] Unless you also set the option "Precision as displayed", which I deprecate and discuss earlier in this thread.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Adusting decimal places based on greatest number of places in a series
    By anelson87 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-11-2022, 01:05 PM
  2. Excel automatically rounds my results
    By mikel- in forum Excel General
    Replies: 9
    Last Post: 01-12-2012, 08:13 AM
  3. Excel 2007 : Decimal places in Excel 2007
    By OtisMardres in forum Excel General
    Replies: 8
    Last Post: 03-13-2011, 09:49 PM
  4. Excel always to 2 decimal places when opening
    By charri in forum Excel General
    Replies: 2
    Last Post: 04-26-2010, 12:08 PM
  5. Paste two decimal number in excel without extra decimal places appearing
    By jeffery_frick in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-13-2009, 07:49 PM
  6. How many decimal places does Excel use?
    By Sorcha in forum Excel General
    Replies: 2
    Last Post: 12-11-2008, 11:33 AM
  7. Replies: 3
    Last Post: 04-09-2007, 11:01 AM
  8. Replies: 2
    Last Post: 09-17-2005, 05:05 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1