How to Collect Weekly Schedule Data for Daily Excel Worksheets
Question details
The user needs to extract daily employee schedules, roles, and hours from a two-week schedule workbook into a separate workbook containing daily worksheets.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Consolidating and filtering employee shift data from a master weekly or bi-weekly schedule into individual daily reports.
- Observed behavior
- The user requires a reliable formula or Power Query solution to automate the extraction of daily employee lists based on matching dates and availability.
Before building complex Power Query connections or formulas, ensure both your master schedule workbook and daily report workbook are saved in the same accessible folder or cloud drive.
Consolidate Schedule Data using Power Query
Power Query is the most robust method for merging and transforming data between two different workbooks, especially when restructuring horizontal schedule dates into vertical daily lists.
By using the Unpivot feature in Power Query, you can easily transform a two-week horizontal schedule into a structured database format. This allows you to filter by specific dates and load the exact employees, roles, and hours needed for each daily worksheet.
Open your daily workbook. Navigate to the Data tab, click on Get Data > From File > From Workbook, and locate your two-week master schedule workbook.
In the Navigator window, select the sheet containing the schedule and click Transform Data to open the Power Query Editor.
Select all the columns representing the daily dates. Right-click the column headers and choose 'Unpivot Columns'. This will convert your horizontal schedule into vertical rows with 'Attribute' (Date) and 'Value' (Hours/Shifts).
Filter the new Date column to match the specific day you need. Remove any rows where the shift value is blank or null. Finally, click 'Close & Load To...' to insert this cleaned daily data into your worksheet.

Use Dynamic Array Formulas (FILTER and XLOOKUP)
If you prefer not to use Power Query, dynamic array formulas can be used to extract daily records based on date matching.
Prepare an Anonymized Sample for Community Support
If your workbook structure is highly complex, preparing an anonymized sample file is the best way to get a custom formula or Power Query script from support forums.
Manage Complex Schedules Easily with WPS Spreadsheet
WPS Spreadsheet offers powerful data processing tools, including advanced formulas and data consolidation features, to help you manage employee schedules and daily reports effortlessly.
- 1. Open Your Workbooks: Launch WPS Spreadsheet and open both your master schedule and daily report workbooks.
- 2. Extract the Data: Utilize built-in advanced lookup functions and data referencing tools to seamlessly pull shift information into your daily sheets.
- 3. Save and Share: Save your updated daily report workbooks seamlessly in .xlsx format to ensure perfect compatibility with your team.

Frequently Asked Questions
Can I link data between two different Excel workbooks automatically?
Yes, you can use Power Query (via Data > Get Data > From File > From Workbook) or external cell references to link data. Using Power Query is generally more stable and allows you to update the destination workbook simply by clicking Refresh.
Why is Power Query recommended over formulas for schedule consolidation?
Power Query can easily 'unpivot' horizontal data (like daily schedule columns) into vertical records. This makes it much easier to filter, sort, and summarize large datasets without slowing down the workbook with thousands of complex, resource-heavy formulas.
How do I anonymize my Excel data before sharing it for help?
You can use the Find and Replace tool to swap real names with generic labels, or use a simple formula like `="Employee "&ROW()` to generate dummy names. Copy these generated names and paste them as values over the original sensitive data before sharing the file.




