Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Designer Desktop Discussions

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

Combine multiple excels into one with multiple tabs

selsset97
7 - Meteor

Hi, I am trying to combine multiple excels into one where each excel is included in a different tab.

In addition, I need each tab to be named as the name of the Excel file

I have +100 Excels. Is there a way to facilitate this exercise?

I have already read previous posts but for some reason I cannot re-do the code.

 

Can anyone integrate these excels in the following form, please?

 

Input (1):

A01.png

 

Input (2):

A11.png

Input (3):

A12.png

 

Output expected:

selsset97_0-1673609054631.png

 

 

Thank you. 

 

14 REPLIES 14
ShankerV
17 - Castor

Hi @selsset97 

 

Because of the rename here, the error is prompted in the output tool as the filename is renamed at the end.

 

ShankerV_0-1673611913574.png

 

Out of 101 file, does any one has duplicate file names? 

 

Many thanks

Shanker V

selsset97
7 - Meteor

selsset97_0-1673612054979.png

I put the same parameters you did but it still does not work.

This is the error message I have. The data I am trying to merge does not necessarily follow the same structure. Is this the reason why the error pops up? Thank you. 

selsset97
7 - Meteor

Hi, thank you for the response.

I have 98 files and they do not have the same structure necessarily.

I am struggling in trying to merge it with the macro.. is there any way I can get help with the macro please?

ShankerV
17 - Castor

Hi @selsset97 

 

No, its not because the data's in multiple files are not in the same structure.

That's why I have used macro to read the files with different structure/schema.

 

Can you please post few screenshots of workflow, not in need to share the data's if its sensitive information.

Need to know how its modified or to investigate further.

 

Many thanks

Shanker V

binuacs
20 - Arcturus

@selsset97 Make sure that your input files are having the sheet name 'Sheet1'. If not you need to create another batch macro to extract the tab names first 

Labels