Pivot Table Issues

Excel PivotTable: Summarize Invoice Amounts by Reference and Due Date

Anum MushtaqAnum Mushtaq Nov 12, 2026 869 views

Question details

The user needs to combine outstanding invoice amounts for records that share the same invoice reference and due date.

Product
Microsoft Excel PivotTable
Device & OS
not provided
Scenario
An invoice data sheet contains invoice references, due dates, and outstanding amounts that need to be summarized into grouped totals.
Observed behavior
The desired result is a flat summary showing one row for each invoice reference and due date combination, with the outstanding amounts summed.
Before you start

Check that the source data has one header row and that invoice references, due dates, and outstanding amounts are in separate columns. Confirm that due dates are recognized as dates and outstanding amounts are numeric values before creating the PivotTable.

Solution 1Recommended

Create a PivotTable grouped by invoice reference and due date

Use this method to automatically combine outstanding amounts for every matching invoice reference and due date.

A PivotTable groups identical field combinations and applies an aggregation such as Sum to numeric values. Using Tabular Form produces a flat, report-friendly result instead of nested row labels.

1
Select the invoice data

Click any cell in the invoice data range, or select the full range including the headers for Invoice Reference, Due Date, and Outstanding Amount.

2
Insert a PivotTable

Open the Insert tab and choose PivotTable. Confirm the selected table or range, choose a new worksheet or an existing worksheet, and select OK.

3
Add the grouping fields

In the PivotTable Fields pane, drag Invoice Reference to the Rows area, then drag Due Date below it in the Rows area.

4
Sum the outstanding amounts

Drag Outstanding Amount to the Values area. Open its Value Field Settings or Summarize Values By menu and select Sum.

5
Show a flat summary

Open the PivotTable Design or PivotTable Tools tab, choose Report Layout, select Show in Tabular Form, then choose Subtotals and select Do Not Show Subtotals if a flat list is required.

Result: The PivotTable now displays grouped totals for each invoice reference and due date. Refresh the PivotTable after changing the source data.

Summarize Invoice Amounts with a WPS Spreadsheet PivotTable

WPS Spreadsheet can create the same grouped invoice summary directly. Insert a PivotTable, place invoice reference and due date in Rows, add outstanding amount to Values, and format the report as a flat table.

  1. 1. Open the invoice worksheet: Launch WPS Spreadsheet and open the workbook containing the invoice reference, due date, and outstanding amount columns.
  2. 2. Insert a PivotTable: Select the source range, open the Insert tab, choose PivotTable, confirm the range, and select the worksheet location.
  3. 3. Build the grouped summary: In the PivotTable Fields pane, drag Invoice Reference and Due Date to Rows, then drag Outstanding Amount to Values and set the calculation to Sum.
  4. 4. Format and refresh the report: Use the PivotTable Design tools to select Tabular Form and remove subtotals if needed. Refresh the PivotTable after adding or changing invoice records.
Group invoice references and due dates and calculate summed outstanding amounts quickly.Use a familiar spreadsheet interface with PivotTable field controls and refresh options.Open, edit, and save Microsoft Excel XLSX files with compatible formatting.Use a lightweight alternative for organizing and analyzing invoice data.
microsoft office alternative - wps office

Frequently Asked Questions

Why does my PivotTable count invoice amounts instead of adding them?

The amount column may contain text or the Values field may be set to Count. Open the field menu in Values, choose Value Field Settings, and select Sum. If Sum is unavailable, convert the source values to numbers and refresh the PivotTable.

How can I group invoices by both reference and due date?

In the PivotTable Fields pane, place Invoice Reference in the Rows area and place Due Date directly beneath it. The PivotTable will create a separate group for each reference-and-date combination.

How do I remove subtotal rows from the invoice summary?

Select the PivotTable, open the Design or PivotTable Tools tab, choose Subtotals, and select Do Not Show Subtotals. Use Report Layout and Show in Tabular Form for a flatter output.

What should I do if due dates are grouped by month or year automatically?

Right-click a date item in the PivotTable and choose Ungroup if you need each individual due date. Also verify that the source column contains valid dates rather than text values.

Will new invoice rows appear automatically in the PivotTable?

If the source is an Excel table, new rows are included in the source after refreshing. Right-click the PivotTable and select Refresh; for a fixed range, update the PivotTable data source first.