logo
search
Calculation Issues

How to Stop Excel from Rounding Numbers in the Formula Bar

Tauseeq MagsiTauseeq Magsi Oct 22, 2026 868 views

Question details

The user wants to prevent Excel from automatically altering or rounding the exact underlying decimal values of numbers shown in the formula bar.

How to Stop Excel from Rounding Numbers in the Formula Bar
Product
Excel
Device & OS
not provided
Scenario
Entering exact decimal numbers into cells and needing the underlying stored value to remain completely accurate regardless of visual cell formatting.
Observed behavior
Excel automatically rounds both the displayed values in the cell and the underlying constants stored in the formula bar, leading to a loss of exact decimal precision.
Before you start

Check if your numbers are only visually rounded due to cell formatting, or if the actual underlying values in the formula bar have been permanently changed. Note that disabling workbook precision settings will not restore numbers that were already permanently rounded.

Solution 1Recommended

Disable the 'Set Precision as Displayed' Option

Turn off this advanced workbook calculation setting to ensure Excel retains the exact underlying values you enter, rather than permanently rounding them to match the cell's visual formatting.

When 'Set precision as displayed' is enabled, Excel permanently changes the underlying stored value to match whatever is visually displayed in the cell. If a cell is formatted to show zero decimal places, a number like 2117.51 will be permanently rounded to 2118, and the exact decimals will be lost.

1
Open Excel Options

Click on 'File' in the top ribbon, then select 'Options' located at the bottom of the left-hand menu.

2
Navigate to Advanced Settings

In the Excel Options dialog box, click on 'Advanced' in the left pane.

3
Disable Precision as Displayed

Scroll down to the 'When calculating this workbook' section. Clear the checkbox next to 'Set precision as displayed', then click 'OK'.

4
Re-enter Rounded Values

Check your data. Any constants that were previously rounded by this setting have lost their original decimals and must be typed into the cells again manually.

Disable the 'Set Precision as Displayed' Option
Permanent Data Loss Warning: Disabling the setting does not retroactively restore lost decimal places. You will need to re-enter the original unrounded numbers for any cells that were already affected.
Precise Data Management

Prevent Number Rounding Issues Easily in WPS Spreadsheet

WPS Office offers a highly compatible and intuitive spreadsheet tool that safely handles decimal precision and advanced cell formatting. You can easily manage how your data is calculated and displayed without risking unexpected permanent rounding to your underlying numbers.

  1. 1. Open WPS Spreadsheet: Launch WPS Office and open your spreadsheet file.
  2. 2. Access Options: Click on 'Menu' at the top left corner and select 'Options' from the drop-down list.
  3. 3. Adjust Calculation Settings: Navigate to the 'Calculation' tab located in the Options dialog box.
  4. 4. Disable Precision Setting: Ensure the 'Precision as displayed' checkbox is cleared, then click 'OK' to safely preserve your exact decimal values.
Fully compatible with Microsoft Excel (.xlsx, .xls) file formats.Precise control over advanced calculation settings and decimal formatting.Free, lightweight, and fast to launch on Windows, Mac, and Linux.
microsoft office alternative - wps office

Frequently Asked Questions

Why does Excel change the number in the formula bar instead of just the cell display?

Excel alters the underlying value in the formula bar if the 'Set precision as displayed' option is turned on. This setting forces the actual stored number to permanently match the rounded value shown visually on the screen.

Can I recover numbers that were already rounded by the precision setting?

Unfortunately, once 'Set precision as displayed' is applied and the file is saved or recalculated, the original decimal numbers are permanently lost. You must disable the setting and manually re-enter the original unrounded constants.

How do I round the visual display without changing the exact underlying value?

Select the cell, right-click, and choose 'Format Cells'. Under the 'Number' tab, adjust the 'Decimal places' counter to your desired rounding level. This changes the visual display only, keeping the exact value intact in the formula bar as long as 'Set precision as displayed' is disabled.