Why SUM and PivotTable Results May Differ in WPS Spreadsheets
Question details
User needs to understand why SUM totals and PivotTable results in a spreadsheet can show small differences and how to ensure exact decimal accuracy.

- Product
- WPS Spreadsheets
- Device & OS
- not provided
- Scenario
- The user is comparing worksheet SUM or SUMIF totals with PivotTable totals and sees slightly different values.
- Observed behavior
- SUM and PivotTable results differ slightly after decimal values are displayed with rounded formatting.
Open the workbook in WPS Spreadsheets and identify the cells used by the SUM formula and the PivotTable source range. Confirm whether the cells are formatted to show fewer decimal places than the stored values.
Use ROUND in WPS Spreadsheets to Match SUM and PivotTable Results
Use this when you need totals to match the displayed decimal places exactly, especially for financial or accounting workbooks.
WPS Spreadsheets stores numbers as binary floating-point values. The on-screen format may show two decimals, but the underlying value can still contain a tiny remainder. PivotTables aggregate the underlying values, while a SUM formula may also include that remainder, so rounding the formula results removes the displayed mismatch.
Click the cell that contains your SUM or SUMIF formula in WPS Spreadsheets.
In the formula bar, change =SUM(range) to =ROUND(SUM(range),2) to round the result to 2 decimal places.
Repeat for any SUMIF, SUBTOTAL, or other comparison totals so all calculations use the same rounding precision.
Click inside the PivotTable, go to the PivotTable Analyze tab, and choose Refresh so it picks up any changed source values.

Align PivotTable Source Values by Rounding the Source Data
Use this if you prefer to make the source data store only the displayed decimal precision before it reaches the PivotTable.
Match SUM and PivotTable Totals with ROUND in WPS Spreadsheets
Use WPS Spreadsheets to round formula results or source data so displayed totals and PivotTable results use the same decimal precision. The familiar ribbon and Excel-compatible functions make the fix straightforward.
- 1. Open the workbook in WPS Spreadsheets: Launch WPS Office, click Open, and select the .xlsx file that contains the mismatched SUM and PivotTable.
- 2. Edit the summary formula: Click the total cell, then in the formula bar wrap the calculation with ROUND, such as =ROUND(SUM(A2:A10),2).
- 3. Refresh the PivotTable: Select the PivotTable, go to the PivotTable Analyze tab, and click Refresh to update results.
- 4. Compare the totals: Verify that the worksheet total and PivotTable grand total now show the same value.

Frequently Asked Questions
Why does my SUM formula show a different total than the PivotTable in WPS Spreadsheets?
WPS Spreadsheets uses the underlying binary stored values, while the screen can show rounded values. PivotTables aggregate underlying values, so tiny remainders may appear. Wrap SUM with ROUND or round the source data to match the displayed precision.
How do I round a SUM formula to two decimal places?
Select the formula cell, click the formula bar, and change =SUM(range) to =ROUND(SUM(range),2). Press Enter to apply the rounded result.
Will ROUND in WPS Spreadsheets work the same as Excel?
Yes. WPS Spreadsheets supports the same ROUND function and .xlsx format, so rounded formulas behave consistently when files are opened in Excel.
Do I need to recreate the PivotTable to fix the mismatch?
No. Usually you can refresh the PivotTable after updating source values, or change the data source to a helper column that contains ROUND values.
Is this a bug in Excel or WPS Spreadsheets?
No. It is standard floating-point precision behavior used by spreadsheet applications. Both display rounded values while calculating with the stored binary approximation.




