Fix Excel SUM Comparisons That Return FALSE Due to Rounding
Question details
A user needs to compare an Excel SUM result with a manually entered total despite hidden floating-point precision differences.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- A manually entered total is compared with the sum of values that have up to two decimal places.
- Observed behavior
- The displayed values appear equal, but the comparison returns FALSE.
Identify the cells in the SUM range and the cell containing the manual total. Decide how many decimal places the comparison should use; the examples below use two.
Round the SUM result before comparing it
Use ROUND to remove insignificant precision differences at the decimal place needed for the comparison.
Excel may store and calculate decimal values with tiny floating-point differences. Formatting cells to show two decimal places changes their display, not the underlying values.
Select the cell containing the SUM formula and replace it with =ROUND(SUM(B2:C2),2), adjusting B2:C2 to your range.
In the comparison cell, enter =ROUND(SUM(B2:C2),2)=D2, replacing D2 with the cell containing the manual total.
If the manual total may also contain extra decimal places, use =ROUND(SUM(B2:C2),2)=ROUND(D2,2) in the comparison cell.

Compare rounded totals in WPS Spreadsheet
Use SUM and ROUND in WPS Spreadsheet to compare a calculated total with a manually entered value at the precision you need.
- 1. Open the workbook: Open WPS Spreadsheet, select Open, and choose your Excel workbook.
- 2. Find the values: Locate the cells to add, such as B2:C2, and the cell with the manual total, such as D2.
- 3. Enter the comparison: Select the comparison cell and enter =ROUND(SUM(B2:C2),2)=ROUND(D2,2), adjusting the cell references and decimal places as needed.
- 4. Check the result: Press Enter and check whether the comparison cell displays TRUE or FALSE.

Frequently Asked Questions
Why does Excel show FALSE when both totals look the same?
The displayed values may hide small differences in the underlying numbers. Excel compares those underlying values, not just the displayed decimal places.
Does changing the number format fix the comparison?
No. Changing the decimal places displayed through the cell's number format does not change the stored value. Use ROUND in the formula to compare at a chosen precision.
Should I round both values in the comparison?
Round both sides if either value may contain extra decimal places. For example, use =ROUND(SUM(B2:C2),2)=ROUND(D2,2).
How do I compare totals to three decimal places?
Change the second argument of each ROUND function to 3, as in =ROUND(SUM(B2:C2),3)=ROUND(D2,3).




