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.

Alteryx Designer, combine multiple excel files in same directory

brperkins2
7 - Meteor

Is there an Alteryx workflow or macro that can take multiple excel files in the same column format (in same folder directory), merge into one dataset? For example, I have 18 excel files in the same column format. The reason is because there is like 5 million records, so we break them up into smaller files. But I then need to combine to get total record counts, column totals, etc. I know I can input the files one by one then union them. However, I wanted to see if there is a workflow that can take all the excel files in one folder directory, union them, then get statistics.

4 REPLIES 4
DataNath
17 - Castor
17 - Castor

@brperkins2 are the files named similarly and the sheet names within the same, as they are in the example you have provided? There's a few ways to handle this but the easiest is just using a wildcard in the input if the naming follows a similar convention.

binu_acs
21 - Polaris
Qiu
21 - Polaris
21 - Polaris
DataDynamite
7 - Meteor

What @DataNath suggests is the easiest, also a directory tool feeding a dynamic input, replacing the file path string is another harder option.  Using a batch macro for this isn't necessarily needed.

Labels
Top Solution Authors