Free Trial

Alteryx Designer Desktop Discussions

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

Combine multiple excel files

taymadar
5 - Atom

Hi experts,

There are several excel files in a folder, all the files have a single sheet the schema is same but the sheet names are different for each file.
The ask is to import all the data and combine to a single output file along with the file name and sheet name in two separate columns in the output file.

I used a Directory tool to import all the files using wild card then used a batch macro to combine all the files, however I am not sure how to get file name and sheet name in two separate columns in the output file.

6 REPLIES 6
atcodedog05
22 - Nova
22 - Nova

Hi @taymadar 

 

Try this workflow:

atcodedog05_0-1643118590735.png

 

Hope this helps : )

 

taymadar
5 - Atom

Hi @atcodedog05 thank you so much for the prompt response. This solution worked perfectly 🙂

atcodedog05
22 - Nova
22 - Nova

Happy to help : ) @taymadar 

Cheers and have a nice day!

ACampbell1
7 - Meteor

Thank you, this helped my issue as well.

 

Is the red symbol a macro?

AnkitDwivedi6
7 - Meteor

Hi , i am looking for workflow where i need to consolidate multiple excel files in the folder but few excel doesn't have sheet available but the ones have need to be merged in single file.

flying008
15 - Aurora

Hi, @AnkitDwivedi6 

 

As your said "but few excel doesn't have sheet available..." , What's your mean?

Labels
Top Solution Authors