Create an Excel Total Sheet for Equipment IDs with Power Query
Question details
Create a Total worksheet that sums values for each equipment ID across multiple worksheets with different lists.

- Product
- Microsoft Excel Power Query
- Device & OS
- not provided
- Scenario
- Equipment IDs and their values are listed on separate worksheets, and each worksheet may contain different IDs.
- Observed behavior
- The desired Total worksheet should show one combined value for each equipment ID found in the source lists.
Check that each source list has the same column names, such as Equipment ID and Value, and that values are numeric. Remove blank ID rows and use consistent spelling and formatting for IDs that should be grouped together.
Append and group the source tables with Power Query
Use this method to create a refreshable total for every equipment ID, even when the lists differ between worksheets.
On each source worksheet, select the list and choose Home > Format as Table. Confirm that the table has headers, then give each table a distinct name on the Table Design tab.
Click inside a source table and select Data > From Table/Range. In Power Query, choose Home > Close & Load > Close & Load To, then select Only Create Connection. Repeat for each source table.
Select Data > Get Data > Combine Queries > Append. Choose Three or more tables if needed, add all the source queries, and select OK.
In the appended query, select Home > Group By. Group by Equipment ID, name the new column Total, choose the Sum operation, and select the Value column.
Choose Home > Close & Load > Close & Load To. Select Table and an existing worksheet location on the Total sheet, or load to a new worksheet and rename it Total.
After editing the source tables, right-click the result table on the Total sheet and select Refresh.

Sum equipment IDs across worksheets in WPS Spreadsheet
Use a Total worksheet and SUMIF formulas in WPS Spreadsheet to combine values for IDs listed on separate sheets. Maintain the ID list on the Total sheet as new IDs are added.
- 1. Open the workbook: Open your workbook in WPS Spreadsheet and check that each source sheet has equipment IDs in column A and values in column B.
- 2. List the IDs: Add a worksheet named Total. Enter Equipment ID in A1 and Total in B1, then list each distinct equipment ID from the source sheets in column A.
- 3. Enter the total formula: In Total!B2, enter =SUMIF('Sheet1'!A:A,A2,'Sheet1'!B:B)+SUMIF('Sheet2'!A:A,A2,'Sheet2'!B:B). Replace Sheet1 and Sheet2 with your source sheet names and add another SUMIF term for each additional sheet.
- 4. Fill down and maintain the list: Drag the fill handle from B2 down alongside the IDs in column A. When a new equipment ID appears on a source sheet, add it to the Total list and copy the formula down.

Frequently Asked Questions
Do the equipment IDs need to appear on every worksheet?
No. Appending the source queries combines their rows, and Group By totals each ID wherever it appears.
How do I update the Power Query totals after changing a value?
Right-click the result table on the Total worksheet and select Refresh. Changes made within the source tables will be included.
Will a new equipment ID appear in the Power Query result?
Yes, if you add it as a row within an existing source table and refresh the result. A new source worksheet must also be added to the append query.
Why are matching IDs showing as separate groups?
Check the source tables for differences in spelling, spaces, or ID formatting. Standardize the IDs, then right-click the result table and select Refresh.




