Combine Excel Tables by Week Without Macros Using Power Query
Question details
Combine names from multiple Excel tables when a Yes field is set and the records fall within the same timestamp week, without macros or gaps.

- Product
- Microsoft Excel Power Query
- Device & OS
- not provided
- Scenario
- The user wants a consolidated list of qualifying names from several datasets for a given week.
- Observed behavior
- The desired result is a continuous list of names marked Yes for the selected week, without complex nested IF formulas.
Ensure each source dataset has consistent column names for the name, Yes/No field, and timestamp, and format each range as an Excel table. Confirm that Power Query is available under Excel's Data tab and decide which day starts your week.
Append and filter Excel tables with Power Query
Use this method to create a refreshable, gap-free list of names for a selected week.
Append stacks rows from the source tables. Creating a week-start date from each timestamp lets you filter by week without requiring timestamps to match exactly.
Select a source table and choose Data > From Table/Range. In Power Query, check the column names and data types, then use Home > Close & Load > Close & Load To and select Only Create Connection. Repeat for each table.
Open a source query from Data > Queries & Connections. In Power Query, select Home > Append Queries > Append Queries as New, choose the source queries, and select OK.
Open the filter on the Yes/No column and select Yes. Filter the name column to exclude blank or null values if needed.
Select Add Column > Custom Column. Name it Week Start and enter Date.StartOfWeek(Date.From([Timestamp]), Day.Monday), replacing Timestamp with your timestamp column name. This example uses Monday as the first day of the week.
Filter Week Start to the Monday of the desired week, remove columns you do not need, and select Home > Close & Load to place the results in Excel. Use Data > Refresh All when source data changes.

Work with Excel tables in WPS Spreadsheets
WPS Office is a free, lightweight alternative with a familiar interface for opening and editing spreadsheet files. Its Microsoft Office format compatibility helps you move existing workbooks between applications; use Excel for the Power Query workflow described above.

Frequently Asked Questions
Why are there gaps in my combined names list?
A formula that returns an empty string for nonmatching rows leaves those rows in place. In Power Query, filter the Yes/No field to Yes and exclude blank names before using Home > Close & Load.
Do the timestamps need to match exactly?
No. Add a week-start column using Date.StartOfWeek(Date.From([Timestamp]), Day.Monday), then filter that column to the desired Monday. Records on different days in that week will share the same week-start date.
Should I append or merge the tables?
Use Home > Append Queries to stack similar records into one list. Merge is for joining related rows by a key and can produce multiple matches when several records share the same week.
How do I update the result after adding source rows?
Add the rows inside the source Excel tables, then select Data > Refresh All. To show a different week, edit the Week Start filter in Power Query before refreshing.




