Pivot Table Issues

Consolidate Excel Records by Person, Assignment, and Date Using Pivot Tables

Khadija KhanKhadija Khan Nov 3, 2026 870 views

Question details

The user needs a reliable method to consolidate hundreds of dynamic employee assignment records involving varying codes, territories, supervisors, and dates.

How to Consolidate Excel Records by Person, Assignment, Zone, and Dates
Product
Excel
Device & OS
not provided
Scenario
Structuring and summarizing a large dataset of employee assignments where variables change over time, requiring a clean and accurate consolidated report.
Observed behavior
The user requires a reporting layout where employees might need to appear in multiple rows based on periods, but standard pivot tables group identical data, preventing manual adjustments to force multiple rows per person without modifying the source data.
Before you start

Create a representative sample workbook with anonymized data to test your desired layout, and ensure you add explicit rows for leave or missing periods to your source data before building the pivot table.

Solution 1Recommended

Consolidate Records Using a Pivot Table

Use a pivot table to automatically group and summarize your employee records by the required categories.

A pivot table is the most reliable approach for grouping available source records. However, because its rows are strictly determined by the underlying data, it cannot be manually adjusted to force a particular person into multiple periods without corresponding data.

1
Select your source data

Highlight the entire range of your employee assignment records, ensuring all columns have headers.

2
Insert the Pivot Table

Navigate to the 'Insert' tab on the ribbon and click 'PivotTable'. Choose to place it on a New Worksheet and click 'OK'.

3
Configure the Rows area

In the PivotTable Fields pane, drag 'Person', 'Assignment', and 'Zone' into the Rows area to establish the consolidation hierarchy.

4
Add Date and Values

Drag 'Dates' into the Columns or Rows area depending on your layout preference, and drag any measurable data into the Values area.

Consolidate Records Using a Pivot Table
Source Data Limitation: The number of rows in a pivot table is determined by the source data. If an employee needs to appear in two distinct rows for different periods, ensure both periods exist as separate records in the source table.

Effortlessly Consolidate Employee Data with WPS Spreadsheet

WPS Spreadsheet provides powerful Pivot Table tools that allow you to consolidate, analyze, and report on complex employee records seamlessly and efficiently.

  1. 1. Open your data file: Launch WPS Spreadsheet and open the workbook containing your employee assignment records.
  2. 2. Insert a PivotTable: Go to the 'Insert' tab on the top menu and select 'PivotTable'.
  3. 3. Select data range: Confirm the selected data range and choose to generate the PivotTable on a new worksheet.
  4. 4. Build your report: Drag 'Person', 'Assignment', and 'Dates' from the field list into the Rows and Values areas to complete your consolidation.
Easily group and consolidate data by person, zone, and date using intuitive pivot tables.Fully compatible with Microsoft Excel (.xlsx) file formats for seamless sharing.Free, lightweight, and features a highly familiar user interface.Advanced data filtering and sorting capabilities to handle hundreds of assignment records.
QA img-9

Frequently Asked Questions

Why doesn't a person appear in multiple rows in my pivot table?

A pivot table automatically groups identical source data into a single summary row. To make a person appear in multiple rows, you need distinct data entries in your source table, such as different assignment codes or distinct date periods.

How do I include missing periods like employee leave in my consolidation?

Pivot tables only display existing data. You must manually add explicit rows for leave or other missing periods in your original dataset before creating or refreshing the pivot table.

Can I manually adjust the number of rows in a pivot table?

No, the rows in a pivot table are strictly determined by the underlying source data and cannot be manually added directly within the pivot table interface. You must modify the source data instead.

What is the best way to test my data consolidation layout?

It is highly recommended to create a representative sample workbook with anonymized data that mirrors your original layout. This allows you to test the pivot table output and logic before applying it to your main file.