We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Merging multiple files to 1 file based on a criteria

ROHANPACH
7 - Meteor

Hi experts,

 

Have many excel files (each having 1 tab but different structures) based on a country like this

 

ROHANPACH_0-1630076866597.png

Is there a possibility to merge by country in 1 single file for each country? for eg; for UK we would have 1 excel file with 2 tabs (FTE & Plan vs Actuals summary) and so on?

 

Thanks

2 REPLIES 2
Laurap1228
11 - Bolide

If all the FTE files have the same structure and all the Plan vs. Actuals summary have the same structure, you can try the attached solution.

 

It uses a batch Macro to Import the files and write them out to a single file one country at a time.

Laurap1228_0-1630124829911.png

 

ArtApa
Alteryx
Alteryx

Hi @ROHANPACH - Here is what you can do. Hope that helps.

 

Firstly, you read the files:

ArtApa_0-1630126368413.png

 

Then you write them back:

ArtApa_1-1630126395990.png

 

Labels
Top Solution Authors