Consolidate Excel Records by Person, Assignment, and Date Using Pivot Tables
Question details
The user needs a reliable method to consolidate hundreds of dynamic employee assignment records involving varying codes, territories, supervisors, 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.
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.
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.
Highlight the entire range of your employee assignment records, ensuring all columns have headers.
Navigate to the 'Insert' tab on the ribbon and click 'PivotTable'. Choose to place it on a New Worksheet and click 'OK'.
In the PivotTable Fields pane, drag 'Person', 'Assignment', and 'Zone' into the Rows area to establish the consolidation hierarchy.
Drag 'Dates' into the Columns or Rows area depending on your layout preference, and drag any measurable data into the Values area.

Modify Source Data to Force Multiple Rows
Adjust your raw data by adding extra steps to ensure employees appear in multiple pivot table rows for distinct periods.
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. Open your data file: Launch WPS Spreadsheet and open the workbook containing your employee assignment records.
- 2. Insert a PivotTable: Go to the 'Insert' tab on the top menu and select 'PivotTable'.
- 3. Select data range: Confirm the selected data range and choose to generate the PivotTable on a new worksheet.
- 4. Build your report: Drag 'Person', 'Assignment', and 'Dates' from the field list into the Rows and Values areas to complete your consolidation.

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.




