How to Filter Master Excel Data into Separate Sheets by Category
Question details
The user wants to organize rows from a master spreadsheet into individual tabs based on specific column categories.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Organizing and summarizing a large master dataset by splitting it into distinct category-based worksheets without manual copying.
- Observed behavior
- The user needs a method to dynamically distribute master data into separate sheets based on category values.
Ensure your master data is structured properly with clear column headers and no blank rows to prevent formula errors or incomplete filtering.
Use the FILTER Function to Split Data Dynamically
The FILTER function automatically extracts data to new sheets based on specific criteria, keeping it updated if the master data changes.
This method requires Microsoft 365 or a spreadsheet tool that supports dynamic array functions. It is highly efficient because any updates made to the master sheet will automatically reflect on the respective destination sheets.
Click the '+' icon at the bottom of the window to add a new worksheet for your first category.
Click on cell A1 in the newly created destination sheet.
Type the formula: =FILTER(Master!A:D, Master!A:A="Value 1"). Make sure to replace 'Master!A:D' with your actual master data range, and 'Value 1' with the category name you want to filter.
Press Enter. The filtered data will dynamically spill into the adjacent columns and rows.
Create a new sheet for each unique category and repeat the formula, changing the comparison value (e.g., "Value 2") as needed.

Organize Data Using a PivotTable
A PivotTable allows you to interactively summarize data and filter by category without writing complex formulas.
Filter Master Data Seamlessly with WPS Office
WPS Spreadsheets provides powerful dynamic array functions and PivotTable features to quickly split and organize your master data into separate sheets. It handles large datasets smoothly and offers a highly compatible environment for your daily data processing.
- 1. Open your dataset: Launch WPS Spreadsheets and open the workbook containing your master data.
- 2. Apply the FILTER function: Create a new sheet, select cell A1, and type =FILTER(Master!A:D, Master!A:A="CategoryName").
- 3. Generate category sheets: Press Enter to instantly populate the sheet with filtered data. Repeat for other categories to complete your setup.

Frequently Asked Questions
Why am I getting a #CALC! error when using the FILTER function?
A #CALC! error typically occurs if the FILTER function does not find any rows that match your criteria. You can prevent this by adding an optional third argument to display a custom message for empty results, such as: =FILTER(A:D, A:A="Value", "No results found").
Can a PivotTable automatically generate separate sheets for every category at once?
Yes. Once you add your category field to the 'Filters' area in a PivotTable, go to the PivotTable Analyze tab on the ribbon, click the arrow next to 'Options', and select 'Show Report Filter Pages'. This powerful feature will automatically generate a separate worksheet for each item in the filter drop-down.
Is the FILTER function available in all versions of Excel?
No, the FILTER function is a dynamic array function available only in Microsoft 365, Excel 2021, Excel for the web, and supported modern spreadsheet software like WPS Office. If you are using an older version, you must use PivotTables, the Advanced Filter tool, or VBA macros to achieve similar results.




