Home > Format > Format > Numbers

Show Rounded Numbers with Formatting

Debra Dalgleish - Contextures

Format Excel numbers to look rounded, but keep the original values in the cells. And why does Excel show the wrong total sometimes?

Excel shows the wrong total automatic rounding

Rounding Numbers in Excel

In many Excel worksheets, columns of numbers are rounded, because they're easier to read, with the decimal points lined up.

There are two types of number rounding:

  1. Visual Rounding: Use number formatting, to show a specific number of decimal places or digits.
    • This page has visual rounding examples
  1. Value Rounding: Use Excel rounding functions, like ROUND and ROUNDUP, to calculate a specific level of rounding

Round With Formatting

With formatting, a number can appear rounded on the worksheet, but the cell value is not affected.

In the screen shot below, the total appears to be incorrect, because 2+3 does not equal 4.

round with formatting total incorrect

However, if you click on any of the cells, you can see its actual value in the formula bar. For example, the coffee price, in cell B3, is $1.54.

round with actual value in formula bar

The numbers in cells B3:B5 were formatted as currency, using the Number format drop down on the Ribbon's Home tab.

round with formatting currency

Then, the Decrease Decimal button was clicked twice, to set the number of decimals to zero.

round with formatting decrease decimals

If the Currency number format is reapplied, it shows the default formatting of 2 decimals, so the total amount looks correct

  • 1.54 + 2.54 =4.08

round with formatting 2 decimals

When the numbers were rounded with formatting, each amount displayed as the closest dollar amount:

  • the coffee price rounded up to $2
  • the sandwich rounded up to $3
  • the total rounded down to $4.

Round With Custom Number Format

In a summary report, with very large numbers, precision to the decimal places is probably not required. It's difficult to get a quick overview, if the numbers are too detailed, as shown below.

round with formatting large numbers

To round large numbers, and make them easier to read, you can use Custom Number Formats, to round to the left of the decimal point.

For example, show 123456.78 in one of the following formats.

round with formatting custom formatting

Apply a Custom Format

To apply a custom format to cells:

On the Ribbon's Home tab, click the dialog launcher, at the bottom right of the Number group.

round with formatting launch number format

On the Number tab, in the list of Categories, click Custom.

Then, select one of the existing custom formats, or clear the box, to create your own.

round with formatting custom format

For example, enter the custom format -- #, -- to show only the rounded thousands in a large number.

Then, click the OK button, to close the dialog box, and apply the format.

round with formatting custom format thousands

Here are a few more custom number formats that you can use:

round with formatting custom format examples

You can also use a custom number format to line up numbers with varying decimal places. The question mark (?) is a placeholder that adds extra spacing, so the numbers line up at the decimal point.

round with formatting custom format examples

There are more examples of Custom formats on the Microsoft website: Create a Custom Number Format

Automatic Number Rounding

If you leave the default number format -- General -- and enter long numbers on a worksheet, Excel might visually round some of those numbers automatically. And that could make totals look wrong.

Excel shows the wrong total automatic rounding

To see how Excel can automatically round numbers with the General format, watch this short video. There are Automatic Rounding Details further down the page.

Automatic Rounding Details

If cells are formatted with General format, Excel can apply automatic rounding in the displayed numbers.

  • Note: The cell values are NOT changed. Only the displayed numbers are rounded

Below, there are steps to prevent automatic rounding, and my observations about number rounding

1) Prevent Automatic Rounding

To prevent this automatic rounding/formatting, use either of these two methods:

  1. Number Format: Apply a built-in number formats, such as Number, and set the number of decimals that you want to display.
  2. Custom Number Format: Apply a custom number, using a set number of decimals

2) Maximum Characters in Cell

In my tests, a maximum of 11 characters (including a decimal place) are displayed in a cell, even if the column is wide enough to show more numbers.

  • If a number is longer than 11 characters, the decimals are rounded, to show a maximum of 11 characters.
  • long numbers rounded - decimals

  • If a number is longer than 11 characters, and there are no decimals, the number is changed to Scientific format.
  • long numbers rounded - Scientific

3) Rounding If Column Too Narrow

If you reduce the column width, with General format applied, the displayed numbers will be automatically rounded, in an attempt to fit.

  • Decimals are rounded, to show only the number that will fit the column
  • The number will be rounded to an integer, if there is no room for decimals
  • The number will change to Scientific format, if the rounded integer will not fit
  • The cell will display number signs, if it can't display in Scientific format

long numbers rounded - Scientific

Get the Sample Files

  1. Rounding Format: To follow this tutorial, you can get the rounding formats sample file. The zipped file is in xlsx format, and does not contain macros.

Get Monthly Excel Tips!

Don't miss my monthly Excel newsletter! You'll get quick tips, article links, and a bit of fun. Add your email, and click Sign Up.

Next, when you get my reply, click the Confirm button. I add this step to protect you from spam!

Excel Functions Tutorials

Rounding Functions

Average Functions

Sum Functions

 

 

Last updated: October 23, 2026 11:30 AM