Calculation Issues

Fix Excel Cells That Look Equal but Compare as Different

Amos GikundaAmos Gikunda Nov 25, 2026 869 views

Question details

Compare calculated cells that display the same value but are treated as different.

Fix Excel Cells That Look Equal but Compare as Different
Product
Microsoft Excel
Device & OS
not provided
Scenario
A user compares calculated values with a formula or conditional formatting rule.
Observed behavior
Cells display identical values, but formulas or conditional formatting report a difference because of small internal decimal differences.
Before you start

Identify the cells or formulas being compared and decide how many decimal places or what tolerance is appropriate. Check whether the values are calculated results, since number formatting can hide small differences without changing stored values.

Solution 1Recommended

Round calculated results to the required precision

Use rounding when the results should be compared at a fixed precision, such as two decimal places for currency.

1
Select the calculated cell

Click the cell containing the calculation and select its formula in the formula bar.

2
Wrap the calculation in ROUND

Replace the formula with a rounded version, such as =ROUND(578358.34+582792.56,2) or =ROUND(B12-B14-B15-B16+C14+C15+C16,2). Change 2 to the number of decimal places you need.

3
Round the other result if needed

Select the other calculated cell and apply ROUND at the same precision, then check the comparison or conditional formatting result.

Round calculated results to the required precision
Formatting does not change the stored value: Changing the displayed decimal places from the Home tab affects appearance only. Use ROUND in the calculation when the result itself needs to be rounded.
Compare spreadsheet values

Compare Rounded Values in WPS Spreadsheet

Use ROUND or an ABS tolerance formula in WPS Spreadsheet to compare calculated values that appear equal on screen.

  1. 1. Open the workbook: Open WPS Spreadsheet and use Open to select your Excel workbook.
  2. 2. Round calculated values: Select a calculated cell and edit its formula in the formula bar, for example =ROUND(B12-B14-B15-B16+C14+C15+C16,2).
  3. 3. Compare within a tolerance: In an empty cell, enter =ABS(B18-C18)<0.001, replacing the references and tolerance as needed.
  4. 4. Save the workbook: Use Menu > Save As to save the updated workbook in the desired format.
Round calculated results to a chosen number of decimal placesTest whether values differ by less than an acceptable toleranceOpen and edit Microsoft Excel XLSX and XLS filesWork with a familiar spreadsheet interface
microsoft office alternative - wps office

Frequently Asked Questions

Why do two Excel cells look equal but compare as different?

Binary floating-point calculations can produce tiny differences that are hidden by the displayed number format. Use ROUND in the calculations or compare their difference with ABS.

Does showing two decimal places round the stored value?

No. Changing decimal places on the Home tab changes the display, not the underlying value. Use a formula such as =ROUND(A1,2) to calculate a rounded result.

How can I highlight values that differ by at least 0.001?

Select the target cells and go to Home > Conditional Formatting > New Rule. Choose a formula-based rule and enter =ABS(B18-C18)>=0.001, adjusting the references to match your selected range.

What tolerance should I use for comparing values?

Choose a tolerance based on the precision your task requires. For example, =ABS(B18-C18)<0.001 treats differences smaller than 0.001 as acceptable; a different task may need a smaller or larger threshold.