Pivot Table Issues

How to Show Grand Total Rows for PivotTable Difference From Values in WPS Office Spreadsheets

Anum MushtaqAnum Mushtaq Nov 13, 2026 869 views

Question details

The user needs to display grand total rows for a PivotTable in which a value field uses the Difference From setting, because the row totals are not calculated automatically.

How to Show Grand Total Rows for PivotTable Difference From Values in WPS Office Spreadsheets
Product
WPS Office Spreadsheets
Device & OS
not provided
Scenario
The PivotTable has Difference From values across date columns, and the user wants a meaningful total for each row label.
Observed behavior
The PivotTable does not calculate the desired row totals automatically, even though column calculations may appear.
Before you start

Before you start, confirm that your PivotTable is created in WPS Office Spreadsheets and that the value field is set to show values as Difference From. Identify the row label cells and the exact difference columns you want to total.

Solution 1Recommended

Calculate Row Totals with a SUM Formula Next to the PivotTable

Use this when the PivotTable value field uses Difference From and the Grand Total row is blank or incorrect; a simple worksheet sum gives the row-level total.

Excel PivotTables, including those in WPS Office Spreadsheets, do not calculate the desired row totals automatically when a value field is set to Difference From. The Grand Total column may show a result, but the row total based on those difference values must be calculated outside the PivotTable.

1
Select the first row total cell

Click in an empty cell in the first data row, next to the PivotTable difference columns.

2
Enter the SUM formula

Type =SUM(F3:H3) and replace F3:H3 with the actual range of difference value columns for that row.

3
Fill the formula down

Press Enter, then drag the fill handle down to apply the formula to the remaining PivotTable rows.

Calculate Row Totals with a SUM Formula Next to the PivotTable
Row totals calculated: The formula totals each row’s Difference From values, so you can see the cumulative change for each row label.
WPS Office Spreadsheets

Calculate PivotTable Difference From Row Totals in WPS Office Spreadsheets

Open the workbook in WPS Office Spreadsheets and use a SUM formula next to the PivotTable to total each row’s Difference From values. You can also adjust Grand Totals from the Design tab to show only the total you need.

  1. 1. Open the workbook: Launch WPS Office Spreadsheets and open the Excel workbook containing the PivotTable.
  2. 2. Calculate row totals with SUM: Click in the first empty cell beside the PivotTable row and enter =SUM(F3:H3), using your actual difference columns.
  3. 3. Fill the formula down: Press Enter and drag the fill handle down through all row labels.
  4. 4. Adjust Grand Totals if needed: Select any PivotTable cell, click Design > Grand Totals > On for Columns Only to remove an unwanted Grand Total column.
Full compatibility with Microsoft Excel .xlsx PivotTables and formulasFree to create and edit PivotTables without a subscriptionFamiliar ribbon Design tab for Grand Totals optionsLightweight and fast for large spreadsheets
microsoft office alternative - wps office

Frequently Asked Questions

Why doesn’t the PivotTable Grand Total row calculate correctly when I use Difference From?

When a value field uses Difference From, the PivotTable calculates each cell relative to a base item, and the Grand Total row is not designed to sum those row-level difference values automatically. You can calculate the row total with a worksheet formula such as =SUM(F3:H3) or adjust the Grand Total display from Design > Grand Totals.

How do I calculate cumulative row totals for Difference From values in WPS Office Spreadsheets?

Click in an empty cell next to the PivotTable row, enter =SUM(F3:H3) with the actual difference columns, press Enter, and fill the formula down to the remaining rows.

How do I remove the unwanted Grand Total column in a PivotTable?

Select any cell inside the PivotTable, go to the Design tab, click Grand Totals, and choose On for Columns Only.

Can I use a different range if my Difference From columns are not F through H?

Yes. Replace F3:H3 in the SUM formula with the range that contains your difference value columns for that row, then drag the fill handle down.

Will WPS Office preserve my PivotTable and formulas when saving as Excel?

Yes. WPS Office Spreadsheets supports Excel .xlsx workbooks, so your PivotTable settings, formulas, and Grand Totals options are preserved when you save.