Calculation Issues

How to Fix Excel Returning a Tiny Residual When Subtracting to Zero

Elise WilliamsElise Williams Oct 20, 2026 871 views

Question details

Users experience a microscopic non-zero decimal residual (e.g., 0.00000000000000006938894) when subtracting decimal values in Excel that mathematically should equal exactly zero.

How to Fix Excel Returning a Tiny Residual When Subtracting Values That Should Equal Zero
Product
Excel
Device & OS
not provided
Scenario
Calculating the difference between multiple decimal numbers where the expected result is zero.
Observed behavior
Excel returns a microscopic residual number instead of zero due to binary floating-point calculation errors.
Before you start

Determine the exact number of decimal places relevant to your data (e.g., 2 decimal places for standard currency) before applying rounding functions to fix the residual.

Solution 1Recommended

Use the ROUND Function to Eliminate Floating-Point Errors

The most reliable way to handle tiny residual errors is by explicitly rounding your calculation to the required number of decimal places.

Excel stores numbers in binary floating-point format, meaning some decimal fractions cannot be represented exactly. This inherently introduces microscopic errors during calculations.

By wrapping your subtraction formula in the ROUND function, you force Excel to drop these tiny residual anomalies and return a true zero.

1
Select the target cell

Click on the cell where you want the subtraction result to appear.

2
Enter the ROUND formula

Type the ROUND function, wrapping your subtraction and specifying the desired decimal places. For example, type =ROUND(A3-A4-A5, 2).

3
Apply the calculation

Press Enter to apply the formula. The result will now calculate as an exact zero rather than leaving a residual decimal.

Use the ROUND Function to Eliminate Floating-Point Errors
Avoid 'Precision As Displayed': Do not use the 'Set precision as displayed' workbook option to solve this. It permanently alters values throughout your entire workbook and can lead to unintended data loss.
Seamless Spreadsheet Calculations

Easily Manage Spreadsheets and Formulas with WPS Office

WPS Office offers a powerful, fully compatible spreadsheet application that handles complex formulas and data formatting with ease. You can seamlessly apply ROUND functions and manage numerical precision just like in Microsoft Excel.

  1. 1. Open your file: Launch WPS Spreadsheets and open your data document.
  2. 2. Initiate the formula: Click on the target cell and type =ROUND( to begin your calculation.
  3. 3. Select your values: Input or click the cells you wish to subtract (e.g., A1-A2).
  4. 4. Set the precision: Add a comma, type the number of decimal places you need, and close the parenthesis (e.g., ,2)).
  5. 5. Complete the calculation: Press Enter to get your precise calculation without floating-point residual errors.
Fully compatible with Microsoft Excel (.xlsx) formatsSupports all standard mathematical and financial formulasIntuitive formatting tools for precise data presentationLightweight architecture for fast calculation processing
microsoft office alternative - wps office

Frequently Asked Questions

Why does Excel show a number with an 'E' at the end instead of zero?

This is scientific notation (e.g., -1.42E-14), which Excel uses to display extremely small residual numbers caused by binary floating-point calculation limits. Using the ROUND function will convert this tiny number back to a true zero.

Will the EXACT function recognize this tiny residual as zero?

No, the EXACT function compares the exact stored values in the cell's memory. Because floating-point errors mean the stored value is microscopically larger or smaller than exactly zero, EXACT will return FALSE. You must round the calculated value first.

Does 'Set precision as displayed' fix floating-point errors safely?

While it forces Excel to calculate based solely on the visible format of the cell, it is highly discouraged for fixing tiny residuals. It permanently changes all constant values in your workbook to their displayed precision, which can cause irreversible data accuracy loss.