Power Query Problems

How to Collect Weekly Schedule Data for Daily Excel Worksheets

Elise WilliamsElise Williams Oct 29, 2026 872 views

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.

How to Collect Weekly Schedule Data for Daily Excel 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 you start

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.

Solution 1Recommended

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.

1
Connect to the Master Workbook

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.

2
Select and Transform Data

In the Navigator window, select the sheet containing the schedule and click Transform Data to open the Power Query Editor.

3
Unpivot Date Columns

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).

4
Filter and Load

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.

Consolidate Schedule Data using Power Query
Automated Updates: Once this connection is set up, you only need to click 'Refresh All' on the Data tab whenever the master schedule changes to instantly update your daily worksheets.
Efficient Data Management

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. 1. Open Your Workbooks: Launch WPS Spreadsheet and open both your master schedule and daily report workbooks.
  2. 2. Extract the Data: Utilize built-in advanced lookup functions and data referencing tools to seamlessly pull shift information into your daily sheets.
  3. 3. Save and Share: Save your updated daily report workbooks seamlessly in .xlsx format to ensure perfect compatibility with your team.
Fully compatible with Microsoft Excel formats (.xlsx, .csv)Supports advanced dynamic array formulas for quick data extractionLightweight and fast, even when managing multiple linked workbooksFree to use with an intuitive, tabbed interface for seamless multitasking
microsoft office alternative - wps office

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.