How to Fix Incorrect Decimal Values in Excel Pivot Table Sums
Question details
The user needs to fix tiny rounding differences in Excel PivotTable sums so that both the displayed and underlying stored values show exact dollar amounts with only two decimal places.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Calculating financial or precise decimal data using a PivotTable.
- Observed behavior
- PivotTable sums display tiny floating-point rounding errors instead of exact two-decimal values, and standard number formatting does not fix the underlying stored value.
Verify whether you need to change only the visual display of the numbers on the report, or if you need to correct the actual underlying data values stored in your spreadsheet to avoid calculation errors.
Round the Source Data Using the ROUND Function
Use this method when you need the exact underlying value in the edit field to be strictly limited to two decimal places, eliminating floating-point errors completely.
Because spreadsheet software uses binary floating-point calculations, it cannot always represent decimal values exactly. Formatting only changes the display, so altering the raw data is necessary for accurate underlying values.
Add a new column next to your raw data where the financial amounts are stored.
In the new column, type the formula =ROUND(cell_reference, 2). For example, if your original value is in cell A2, type =ROUND(A2, 2).
Drag the fill handle down to apply the formula to all rows in your dataset.
Change your PivotTable data source to include this new column, swap out the old data field for the rounded one, and click 'Refresh' in the PivotTable Analyze tab.

Change the Number Format in the PivotTable
Apply this quick fix if you only need the numbers to visually display with two decimal places in reports, without permanently changing the underlying data.
Manage Pivot Tables and Decimal Values Seamlessly in WPS Spreadsheet
WPS Office provides a robust Spreadsheet application that supports advanced PivotTable features, number formatting, and essential mathematical functions like ROUND to help you ensure precise calculations for your financial reports.
- 1. Open your data: Launch WPS Spreadsheet and open the workbook containing your raw financial data.
- 2. Round your figures: Use the =ROUND(A2, 2) formula in a new column to guarantee exact decimal precision before summarization.
- 3. Create a PivotTable: Highlight your data range, navigate to the 'Insert' tab, and click 'PivotTable'.
- 4. Calculate the sums: Drag the newly created rounded data fields into the 'Values' area to display flawlessly exact sums.

Frequently Asked Questions
Why does my Pivot Table show tiny rounding differences?
This happens because spreadsheet software uses binary floating-point calculations. Computers cannot always perfectly represent base-10 decimal numbers in binary, resulting in microscopic fractional differences that compound when summed in a Pivot Table.
Does changing the cell formatting fix the floating-point error?
No, changing the number format to two decimal places only hides the extra digits visually. The underlying value stored in the cell, which is visible in the formula bar, retains the floating-point error.
Can I use 'Precision as displayed' to fix this globally?
Yes, enabling 'Set precision as displayed' in your spreadsheet's advanced options forces the underlying data to match the visual formatting. However, use this with caution because it permanently permanently alters your raw data and deletes original precision.




