Data Import & Export

How to Consolidate Hundreds of Excel Worksheets into a Time Series

Anum MushtaqAnum Mushtaq Nov 4, 2026 871 views

Question details

The user needs to combine approximately 1,000 date-based Excel worksheets containing sewage treatment plant details into a single daily time-series dataset.

How to Consolidate Hundreds of Excel Worksheets into a Time Series
Product
Excel
Device & OS
not provided
Scenario
Consolidating massive amounts of daily worksheet data spanning multiple years into a single functional database or time-series table.
Observed behavior
The data is scattered across roughly 1,000 differently structured or individual sheets, making simple lookups ineffective for data analysis.
Before you start

Before starting, ensure you standardize your column headings, remove all merged cells, and fill in blank row headers to make the data uniform across all sheets.

Solution 1Recommended

Combine Worksheets Using Power Query

Power Query is the most efficient and robust method for consolidating hundreds of worksheets without writing complex code.

To successfully append data from 1,000 sheets, the data structure across sheets must be uniform. Power Query can extract, transform, and load the scattered sheets into a single, clean receiving table.

1
Standardize the Source Data

Ensure there are no merged cells in your worksheets. Repeat identifier values (like plant names and capacities) on every row so each row is a self-contained record.

2
Create a Receiving Workbook

Open a new blank Excel workbook. This file will serve as the master time-series destination.

3
Get Data

Navigate to the 'Data' tab on the ribbon. Click 'Get Data', then choose 'From File' > 'From Workbook' (if all sheets are in one file) or 'From Folder' (if they are saved as individual files).

4
Transform and Append in Power Query

Select the sheets you want to import and click 'Transform Data'. In the Power Query Editor, use the 'Append Queries' function to stack all worksheet data vertically into a single table.

5
Load the Combined Data

Once the data is formatted into a continuous time series, click 'Close & Load' on the Home tab to output the consolidated data into your receiving sheet.

Combine Worksheets Using Power Query
Data Connection: Power Query creates a live connection. If you add new daily sheets to the source folder or workbook later, you can simply click 'Refresh' to update the time-series.
Efficient Data Management

Use WPS Spreadsheet to Consolidate Data

WPS Office offers robust data processing tools, including powerful macro support and seamless data consolidation features, making it easy to manage large datasets spanning thousands of sheets.

  1. 1. Open the Workbook: Launch WPS Spreadsheet and open your workbook containing the 1,000 date-based sheets.
  2. 2. Access Data Tools: Navigate to the 'Data' tab to utilize built-in consolidation features, or press ALT+F11 to open the WPS Macro Editor.
  3. 3. Execute Consolidation: Run your macro script to automatically extract and append the data from all individual worksheets into a unified master time-series table.
Fully compatible with Microsoft Excel (.xlsx, .xlsm, .csv) formats.Supports VBA and macros for automated data extraction and consolidation.Lightweight architecture handles large workbooks with hundreds of sheets smoothly.Free and user-friendly interface for seamless migration and daily tasks.
microsoft office alternative - wps office

Frequently Asked Questions

Why shouldn't I use VLOOKUP to combine these sheets?

VLOOKUP or simple lookup formulas require a static, uniform structure and perform poorly when searching across 1,000 separate sheets. Appending data via Power Query or VBA creates a stable, flat database which is essential for proper time-series analysis.

Why do I need to remove merged cells before combining data?

Merged cells cause structural errors during data import, leading to null values, shifted columns, or broken records. Unmerging cells and repeating the data ensures every row acts as a complete, independent record.

Is there a limit to how many worksheets Power Query can combine?

Power Query can handle hundreds or even thousands of worksheets efficiently. The primary limitations are your computer's memory (RAM) and the standard spreadsheet limit of 1,048,576 rows per sheet. If your consolidated data exceeds 1 million rows, you may need to load the data directly into the Data Model instead of a worksheet.