The Alteryx Community is a finalist in three 2026 CMX Awards! Help us win Customer Support Community, Most Engaged Community, and User Group Program of the Year - vote now! (it only takes about 2 minutes) before January 9.
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Generate 99 output excel files based on a single template file and data source file

Bkatz99
5 - Atom

Hello Alteryx Users!

 

I have been having trouble with a project today- I have been trying to create a workflow that will generate 99 different output files (excel) based on a single excel template. I want the formatting, formulas, and data to all be identical on all of them except for 3 cells, which I would like to be populated with corresponding data from 3 separate columns on the data source excel file. There is a total of 99 rows in the data source file (excluding headers), hence, the 99 output files. 

Please let me know if anyone has any solutions or assistance to offer.

 

Thank you!

 

Best,

Ben

4 REPLIES 4
SPetrie
13 - Pulsar

What progress have you made so far? 

You're going to want a batch macro.

Create a batch macro that reads in each of your lines of data one at a time and then uses the blob tools to copy your template and create your outputs after which you output to the range you want in the output files for each row.

1. input 99 rows of data

2. read data into batch macro

inside batch macro

1.copy template excel and save to final destination with name convention.

2.output the current batch/row to the destination file using a range and preserve formatting turned on in your output.

 

I hope this makes sense.

alexnajm
19 - Altair
19 - Altair

Multiple articles can help with this!

- Newer option with control containers: Excel Templates with Blob Tools and Control Contai... - Alteryx Community

           - Older version by the same person Alteryx: Excel Templates with Blob Tools – Intersections and Overlaps & 

- Older option but has downloadable example: The Blob: Reporting That Isn’t From a Horror Film - Alteryx Community

 

Good luck!

Bkatz99
5 - Atom

Thank you so much! This was very helpful

alexnajm
19 - Altair
19 - Altair

Fantastic! Make sure to accept the response(s) that helped the most 👍

Labels
Top Solution Authors