How to Automatically Split an Excel Sheet into Owner Worksheets
Question details
The user needs to automatically divide a master sales sheet into separate worksheets for each representative without losing formulas or drop-down lists.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Distributing a master sales record to individual sales representatives for review.
- Observed behavior
- Manually copying the sheet and cleaning data for each representative is too time-consuming and prone to formatting or formula loss.
Before running macros or queries, ensure your master data is formatted as an official Excel Table (Ctrl+T) so that any future additions or new accounts are automatically included when the process is refreshed.
Use a VBA Macro to Split the Sheet Automatically
A VBA macro is the most efficient way to instantly split a master sheet into multiple worksheets based on a specific column (like sales rep names) while keeping all formulas and data validation intact.
By utilizing a VBA script, you can automate the process of filtering unique owners and copying their respective rows into newly created worksheets. This method perfectly preserves cell formulas, drop-down menus, and conditional formatting.
Press Alt + F11 in your Excel workbook to open the Visual Basic for Applications (VBA) editor.
Click on 'Insert' in the top menu and select 'Module' to create a blank script window.
Copy and paste a standard split-by-column VBA script into the module. Ensure the code is set to reference the specific column containing your owner or sales rep names.
Press F5 or click the 'Run' button. The macro will automatically filter the source table, create a new sheet for each unique owner, and copy the relevant data, formulas, and formatting.

Split Data Using Power Query
Power Query allows you to filter and load data into separate sheets without writing VBA code, keeping the connections to the master sheet live and refreshable.
Easily Manage Macros and Split Data with WPS Spreadsheet
WPS Spreadsheet provides robust support for VBA macros and advanced filtering, allowing you to automate repetitive tasks like splitting worksheets by owner quickly and efficiently.
- 1. Open your Workbook in WPS: Launch WPS Spreadsheet and open your master data file containing the sales records.
- 2. Access the Developer Tools: Navigate to the 'Developer' tab on the ribbon to access the macro and VBA tools.
- 3. Run the Split Macro: Click 'Macros', select your split-sheet script from the list, and click 'Run' to generate individual owner sheets instantly.

Frequently Asked Questions
Will splitting the sheet with a macro preserve my drop-down lists?
Yes, if the VBA macro uses the 'Copy' method for the entire row or range, all data validation rules, including drop-down lists and formatting, will be successfully carried over to the new worksheets.
What happens if new sales reps are added to the master list?
If you convert your source data to an official Excel Table, dynamic VBA scripts and Power Queries will automatically recognize the new unique names during the next execution and generate new sheets for them.
Can I split the sheets into separate workbooks instead of just worksheets?
Absolutely. You can modify the VBA macro to use the 'Workbook.Add' command instead of 'Worksheets.Add', which will save each owner's data as a brand-new, standalone Excel file.
Why didn't my formulas copy over when I used Power Query?
Power Query is designed to extract and transform data values, not the formulas themselves. If you need to preserve the exact formulas and interactive elements from the master sheet, using a VBA macro is the required approach.




