Power Query Problems

How to Split Large Excel Data into Worksheets Using Power Query

Huda QurayshiHuda Qurayshi Oct 26, 2026 870 views

Question details

The user needs to separate a large Excel workbook into multiple distinct worksheets based on specific categories and numeric groups on a monthly basis.

How to Split Large Excel Data into Worksheets Using Power Query
Product
Microsoft Excel
Device & OS
not provided
Scenario
Automating the monthly process of dividing a large source dataset into approximately 40 category-specific worksheets without having to build or maintain a complex standalone parsing program.
Observed behavior
The user requires an efficient data transformation method using built-in features like Power Query, PivotTables, or Data Models to filter the master list into separate tabs.
Before you start

Ensure your large source dataset is formatted as a structured table with clear, consistent column headers for the categories or numeric groups you plan to split the data by.

Solution 1Recommended

Use Power Query to Filter and Load Individual Worksheets

This method is ideal for creating a smaller, specific number of worksheets by directly filtering the master dataset and loading the results to new tabs.

Power Query allows you to connect to your master file, filter for a specific category, and load that filtered view into its own worksheet. Once set up, the data can be updated monthly with a simple refresh.

1
Connect to the source data

Open a new blank Excel workbook. Go to the 'Data' tab on the ribbon, click on 'Get Data', select 'From File', and then choose 'From Workbook'. Select your large source Excel file and click 'Import'.

2
Filter the specific category

In the Power Query Editor window, locate the column containing the category you want to isolate. Click the drop-down arrow on the column header, uncheck 'Select All', and check only the specific category or numeric group you need.

3
Load to a new worksheet

Click the 'Close & Load' drop-down on the Home tab and select 'Close & Load To...'. Choose 'Table' and 'New Worksheet', then click 'OK' to populate the filtered data into a new sheet.

4
Duplicate for additional categories

Open the 'Queries & Connections' pane on the right. Right-click the query you just made and select 'Duplicate'. In the editor, change the filter step to select the next category, then close and load it. Repeat this for the required groups.

Use Power Query to Filter and Load Individual Worksheets
Easy Monthly Updates: When next month's data arrives, simply overwrite the original source file with the new data (keeping the same name and structure), open this summary workbook, and click 'Refresh All' on the Data tab.
Free Microsoft Office alternative

Analyze and Manage Large Datasets with WPS Office

While Power Query is a specific feature of Microsoft Excel, WPS Office provides a powerful, highly compatible, and free alternative for managing complex spreadsheets. You can easily open large datasets, utilize robust PivotTables for automated reporting, and seamlessly edit Microsoft Excel formats (.xlsx) without costly subscription fees.

  1. 1. Download and Install WPS Office: Visit the official WPS website to download the free suite and install it on your Windows, Mac, or Linux device.
  2. 2. Open Your Master Dataset: Launch WPS Spreadsheets and open your large .xlsx data file directly with complete formatting preservation.
  3. 3. Use PivotTables for Categorization: Select your data range, go to the 'Insert' tab, and choose 'PivotTable' to dynamically filter, group, and analyze your extensive data records.
Fully compatible with Microsoft Excel formats (.xls, .xlsx, .csv)Robust built-in PivotTable features for rapid data categorization and analysisLightweight software architecture ensuring fast performance with large datasetsFamiliar user interface requiring zero learning curve for Excel users
microsoft office alternative - wps office

Frequently Asked Questions

Do I need to write a VBA macro or custom parsing program to split Excel data?

No. You do not need a custom parsing program. You can use Excel's built-in Power Query to filter and load separate views, or use a PivotTable combined with the 'Show Report Filter Pages' feature to automatically generate worksheets based on category.

How do I update all 40 split worksheets when new data is added next month?

If you used Power Query connections or a Data Model, simply update the underlying source dataset with the new month's data. Open your report workbook, go to the Data tab, and click 'Refresh All'. All queries and PivotTables will update to reflect the new data.

Is it better to use Power Query or PivotTables to split my data?

It depends on the volume of worksheets. If you are splitting data into a small number of sheets (e.g., 3 to 5), duplicating Power Queries is straightforward. However, for a large number of sheets (like 40), maintaining 40 separate queries can bloat the file and slow performance. In that scenario, using a single Data Model and PivotTable is much more efficient.