Append Overlapping Tables and Remove Duplicates in Excel Power Query
Question details
Combine weekly tables with overlapping date ranges while removing repeated records.

- Product
- Microsoft Excel Power Query
- Device & OS
- not provided
- Scenario
- Weekly source tables contain overlapping dates and need to be combined into one dataset.
- Observed behavior
- The combined dataset should contain each record once while retaining distinct records that share a date.
Identify the columns that uniquely distinguish a record, such as a date and an ID. Make sure corresponding columns in the weekly tables have matching names and compatible data types.
Append the weekly queries and remove duplicate records
Use Power Query to combine the tables and deduplicate them by the columns that identify each record.
In Excel, select each source table and choose Data > From Table/Range to create a Power Query query for it.
In Power Query Editor, choose Home > Append Queries > Append Queries as New. Select Two tables or Three or more tables, add the weekly queries, and select OK.
In the appended query, select the column headers that identify a record. Use Ctrl-click to select multiple headers, such as Date and ID; include other relevant columns if needed.
Choose Home > Remove Rows > Remove Duplicates. Power Query compares only the selected columns when identifying duplicate rows.
Check the resulting rows, then choose Home > Close & Load to load the combined query into Excel. Use Data > Refresh All when the source tables change.

Work with Weekly Spreadsheets in WPS Office
WPS Office is a free, lightweight alternative for working with spreadsheets in a familiar interface. Open compatible Excel files to make migration easier, though WPS does not fix or replace the Excel Power Query workflow described above.

Frequently Asked Questions
Should I remove duplicates using only the date column?
Only if each date uniquely identifies a record. If several valid records can share a date, select Date together with an ID or other identifying columns before choosing Home > Remove Rows > Remove Duplicates.
What happens if the weekly tables share dates but not records?
Distinct records should remain when you remove duplicates using the appropriate identifying columns. Selecting only Date could incorrectly remove valid rows.
Can I append more than two weekly tables at once?
Yes. In Power Query Editor, choose Home > Append Queries > Append Queries as New, select Three or more tables, and add the queries you want to combine.
Will the combined result update when source data changes?
After loading the appended query, choose Data > Refresh All in Excel to rerun the query against its source tables.




