Alteryx Designer Desktop Discussions

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

Combine multiple workbooks into 1 sheet, first col of combined sheet = filename

Robotomation
5 - Atom

I have a bunch of Excel files in a directory. Each file has only 1 sheet which are formatted identically and are named all the same (i.e. Sheet 1). Only the file name has the indication differentiating the files from each other 

I need to combine all these workbooks into 1 sheet, but the first column of this new combined dataset should be the last 8 characters of the file name of the original files. How would I go about doing this? Looking for an automated solution because this will be a monthly process 

e.g. 

 

Each workbook would be: 

Col ACol B 
12
24


Final combined output would be: 

File nameCol ACol B 
10312023   12
12312023 24
0 REPLIES 0
Labels