Split 1 excel file with 4 tabs with different schema into multiple files by country
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hello. I have an excel file that contains 4 tabs. Within each tab there is data for each country (around 80 different countries). I need to split the data into separate files for each country (should have a total of around 80 files) with 4 tabs. Attached is a sample of my file. Any assistance will be greatly appreciated
Solved! Go to Solution.
- Labels:
- Common Use Cases
- Dynamic Processing
- Help
- Macros
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Disregard. I figured it out.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
You can share your solution here for others to see and you can mark it as an accepted solution as well. This contributes to the community and to your future self referencing your own work :D
Alteryx ACE
https://www.linkedin.com/in/calvintangkw/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Step 1: Added 4 Input Data tool since I had 4 tabs to upload. Selected each tab within each Input Data tool. Step 2: Added formula tool with file name. The file name included the field titled "Territory" which contained the value for each country in my input file. I included the sheet name for each of the tabs within the formula. Step 3: Added 4 Output Data tool to each of the formulas. Within the output data tool, I selected the checkbox "Take file/table name from field". I then selected "Change Entire File Path" from the drop down. Lastly, I selected "File Name" as my field containing file name or part of file name. Refer to attached screenshots.
