Fix Inconsistent Subtraction Results in Excel
Question details
Understand why Excel subtraction results can differ slightly from the expected decimal values and calculate them at the required precision.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Subtracting decimal values or comparing subtraction results in an Excel worksheet.
- Observed behavior
- Results may contain small rounding differences even when the displayed cell values appear identical.
Identify the cells being subtracted and decide how many decimal places the result should retain. Check whether the source cells contain entered values or formulas.
Round subtraction results to the required precision
Use ROUND when decimal calculations need a specific number of decimal places.
Excel uses binary floating-point arithmetic, so many decimal fractions cannot be represented exactly. Changing the number of displayed decimal places does not necessarily change the value used in calculations.
Click the cell where you want to display the difference between B1 and A1.
In the formula bar, enter =ROUND(B1-A1,1) and press Enter. The final argument rounds the result to one decimal place.
Use the fill handle to copy the formula to the next row, or enter =ROUND(B2-A2,1) in its result cell. Change 1 to the number of decimal places appropriate for your data.

Inspect source values and formulas
Check the inputs if rounded results still do not match what you expect.
Round Subtraction Results in WPS Spreadsheets
Use the ROUND function in WPS Spreadsheets to calculate differences at the decimal precision your data requires.
- 1. Open your workbook: In WPS Office, open the spreadsheet containing the values you want to subtract.
- 2. Select a result cell: In WPS Spreadsheets, click the cell where the subtraction result should appear.
- 3. Enter the formula: Type =ROUND(B1-A1,1) in the formula bar and press Enter. Replace 1 with the decimal precision you need.
- 4. Copy the formula: Drag the result cell's fill handle down to apply the formula to other rows.

Frequently Asked Questions
Why can two identical-looking Excel values produce an unexpected difference?
The cells may contain hidden decimal places or small binary floating-point differences. Select each cell to inspect the formula bar, and use Home > Increase Decimal to show more displayed digits.
Does formatting a cell to one decimal place round the value used in formulas?
No. Cell formatting changes the display, not necessarily the underlying value. Use a formula such as =ROUND(B1-A1,1) to round the calculation result.
How can I compare a subtraction result with 0.1?
If one decimal place is appropriate for your data, use =ROUND(B1-A1,1)=0.1 instead of comparing the unrounded difference directly.
How do I check whether an input is stored as text?
Enter =ISNUMBER(A1) in an empty cell. If it returns FALSE, A1 is not stored as a number; inspect the cell and convert the value if appropriate.




