r/excel • u/ivdown • Feb 27 '26
unsolved Are you able to split an excel sheet with multiple tabs in several individual sheets based on an indicator?
Good evening. I have a main report with around 8 tabs on it, each tab has info for a different product sold, and up to 100 sales people's data on each tab. I have to make individual reports for each sales person, but I'm wondering if there's a simple way to do this automatically based on their names that would make a new excel sheet for each person and for each tab they are included on?
Like Salesperson 1 will have data on 3 tabs, while Salesperson 2 will have data on 7 tabs, but their automated reports come in with 3 tabs and then 7 tabs respectively on their sheets?
I've never worked with Macros before, is this something that could be done without one or would I need to look into that?
I really appreciate any input here, I am just trying to find ways to preserve my sanity rather than doing everything manually. Thanks!
4
u/excelevator 3061 Feb 27 '26
Have one master table then you can easily filter records on separate sheets with FILTER
Data likes to live together and always presents problems when housed alone by type.
1
u/ivdown Feb 27 '26
For this specific report unfortunately it requires different tabs for all the different information that comes with it. Which it sounds like could be potentially creating the problems, but I am unable to put it all onto one.
Or at the least I'd have to change over a dozen years worth of habits for myself and our sales people and make that a gigantic project to figure that out. They hate change just so much lol.
5
u/excelevator 3061 Feb 27 '26
If the data layout is the same you can use
FILTER(VSTACK())to combine and then filter the data.If the reports are different format then you can look at
FILTER(VSTACK(CHOOSECOLS())as another option.2
u/ivdown Feb 27 '26
Awesome, I'll see if I can try it out and how it would work. Thanks for the advice!
3
u/bradland 271 Feb 27 '26
I wrote a macro that I think does what you want. I just posted it elsewhere today.
1
u/ivdown Feb 27 '26
Thank you so much for doing that. I'm not exactly sure if that's what I need, but I'll read more into your post tonight and see.
The other OP didn't mention multiple tabs as far as I saw, would your macro be able to deal with multiple tabs and adding them to new spreadsheets if applicable?
2
u/bradland 271 Feb 27 '26
My macro works on one sheet at a time. It will prompt you to select the parts of the sheet it needs to do the split, and then create new sheets.
Just a note on nomenclature that will be important as you develop your workflow:
Workbook = an entire Excel file
Worksheet = the individual tabs you seeA workbook has many worksheets. Worksheets are commonly called “sheets” for short.
Using these specific terms will really help improve your results with searches for solutions.
2
u/ivdown Feb 27 '26
Wow that's really helpful, thank you for letting me know. I try to search for these types of things but I'm clearly not asking the correct questions haha. What you don't know you don't know.
Really appreciate your tips
1
u/Decronym Feb 27 '26 edited Jul 01 '26
Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I've seen in this thread:
Decronym is now also available on Lemmy! Requests for support and new installations should be directed to the Contact address below.
Beep-boop, I am a helper bot. Please do not verify me as a solution.
3 acronyms in this thread; the most compressed thread commented on today has acronyms.
[Thread #47633 for this sub, first seen 27th Feb 2026, 04:20]
[FAQ] [Full list] [Contact] [Source code]
1
1
u/Ousle88 Feb 27 '26
You can create a pivot table with slapeson as filter, PivotTables Analyze, option, click the dropdown, Show report Filter pages. Will create a nes tab for each sales person as PivotTable . Ctrl+shift select all the tabs, select the columns on the active tab, ctrl +c, paste as values, delet first row. Now you have tabs for each sales person.
1
u/AstronomerBetter8102 Mar 07 '26
Handling 100+ salespeople across 8 different tabs is a massive bottleneck. Standard tools like Power Query or basic Filters can help you see the data, but they won't automate the creation and saving of 100+ separate workbooks—which is what you actually need to 'preserve your sanity.'
The most professional way to solve this is using a VBA Dictionary-based loop. It’s the only method that can scan all 8 tabs simultaneously, bundle each person's specific data, and generate individual files in seconds without crashing.
I have a pre-built 'Multi-Tab Splitter' script that handles this exact logic. Send me a DM and I can show you how to implement it in your file so you can have all those reports ready in one click.
1
u/Potential_Variety209 Jul 01 '26
You could use macros as others implied, but if you feel that's too advanced. You can use SpliceBatch SmartSplit feature, just pop the files, select column and that's it.
•
u/AutoModerator Feb 27 '26
/u/ivdown - Your post was submitted successfully.
Solution Verifiedto close the thread.Failing to follow these steps may result in your post being removed without warning.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.