How to Split Large Excel Data into Worksheets Using Power Query
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.

- 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.
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.
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.
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'.
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.
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.
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 PivotTables and 'Show Report Filter Pages' for Many Sheets
Recommended when you need to generate a large number of sheets (e.g., 40+ categories), as maintaining dozens of individual Power Queries can reduce workbook performance and become difficult to manage.
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. 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. Open Your Master Dataset: Launch WPS Spreadsheets and open your large .xlsx data file directly with complete formatting preservation.
- 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.

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.




