Function Problems

Consolidate Matching Customers and Sum Financial Years in Excel Sheets

Steven ParkerSteven Parker Nov 12, 2026 869 views

Question details

The user needs to combine matching customer records from four worksheets and calculate total amounts for every customer and financial year on a fifth worksheet.

Consolidate Matching Customers and Sum Financial Years Across Excel Sheets
Product
Microsoft Excel workbook with multiple customer-by-year worksheets
Device & OS
not provided
Scenario
Several worksheets contain similarly structured customer tables for different business lines, and a summary worksheet is needed for customer and financial-year totals.
Observed behavior
INDEX/MATCH formulas return #N/A when a customer does not appear on one or more source worksheets, preventing reliable totals.
Before you start

Make sure every source table uses the same column structure, such as Business Line, Customer, Financial Year, and Amount. Standardize customer names and financial-year labels first so that the same customer is not treated as separate entries.

Solution 1Recommended

Combine the source tables and summarize them with a PivotTable

Use this method when you need a refreshable summary of all customers and financial years without writing lookup formulas for each worksheet.

Appending the four source tables into one normalized list avoids missing-customer lookup errors. A PivotTable groups identical customer and financial-year values and sums the Amount column automatically.

1
Add a Business Line column to each source table

On each of the four worksheets, add a column named Business Line and enter the source area name, such as Prevention, EAP, Recovery, or Digital, for every row. Confirm that each table also has Customer, Financial Year, and Amount columns.

2
Append the records into one consolidated table

Create a new worksheet named Consolidated. Copy the data rows from each source table below the same headers so all records form one continuous list; include the Business Line value with each record.

3
Create a PivotTable from the consolidated list

Select any cell in the consolidated data, then choose Insert > PivotTable. Select the full data range or table and place the PivotTable on the summary worksheet.

4
Arrange customer and year totals

In the PivotTable Fields pane, drag Customer to Rows, Financial Year to Columns, and Amount to Values. If Amount is not totaled, open Value Field Settings and choose Sum.

5
Refresh after source changes

After appending new or revised records to the Consolidated sheet, click inside the PivotTable and choose Refresh to recalculate the customer totals.

Combine the source tables and summarize them with a PivotTable
Missing customers do not cause errors: A PivotTable sums only the records that exist. If a customer has no record for a financial year or business line, the summary can display a blank or zero instead of #N/A.
WPS Spreadsheet data summary

Create Customer and Financial-Year Totals with WPS Spreadsheet

WPS Spreadsheet lets you consolidate customer records into one table, create a PivotTable for a refreshable year-by-year report, or use SUMIFS formulas for a custom summary layout. Its familiar spreadsheet interface helps you move existing Excel data into a cleaner reporting workflow.

  1. 1. Open the workbook in WPS Spreadsheet: Launch WPS Office, choose Spreadsheets, and open the workbook containing the four customer data worksheets.
  2. 2. Create a consolidated data worksheet: Click the plus button beside the sheet tabs to add a worksheet, name it Consolidated, and paste the source records under common Business Line, Customer, Financial Year, and Amount headers.
  3. 3. Insert a PivotTable: Select the consolidated data, then choose Insert > PivotTable and place the report on a new or existing summary worksheet.
  4. 4. Configure the summary fields: In the PivotTable field list, place Customer in Rows, Financial Year in Columns, and Amount in Values, then ensure the value calculation is Sum.
Build PivotTables to total matching customers by financial year.Use SUMIFS to return zero for missing customer-year combinations instead of lookup errors.Open, edit, and save Microsoft Excel XLSX and XLS files with format compatibility.Use a familiar, lightweight spreadsheet workspace for multi-sheet reporting.
microsoft office alternative - wps office

Frequently Asked Questions

Why does INDEX/MATCH return #N/A for some customers across worksheets?

INDEX/MATCH returns #N/A when the customer name is absent from the lookup range on a particular worksheet. Use IFNA around the lookup to show 0, or consolidate the records and use SUMIFS or a PivotTable instead.

Can SUMIFS total the same customer from several business lines?

Yes. After all business-line records are appended to one consolidated range, SUMIFS can match the Customer and Financial Year columns and add every matching Amount value.

What should I do when customer names are spelled differently on different sheets?

Correct the names before consolidation so each customer has one consistent name. Extra spaces, abbreviations, and alternate spellings create separate PivotTable items and prevent SUMIFS matches.

How can I show zeros instead of blanks in a customer PivotTable?

Right-click the PivotTable, choose PivotTable Options, open the Layout & Format section, and enter 0 in the option for empty cells. The exact label may vary by spreadsheet version.

Do I need to include the Business Line column in the final report?

No. Keep Business Line in the consolidated data for traceability, but you can omit it from the PivotTable layout or SUMIFS criteria when the report only requires totals by Customer and Financial Year.