Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Excel Files Consolidation macro

dkma
8 - Asteroid

Hello all,

 

I wanted to consolidate a number of excel files into one. Each excel file contains several sheets. But I would need to grab the data from a specific sheet from each excel file.

 


Does any body have the Work flow or Macro for the same.

 

Any help is  much appreciated

5 REPLIES 5
dkma
8 - Asteroid

Thank you all. Allt he solutions were very helpful. It did my work.  🙂

dkma
8 - Asteroid

Hello all,

 

i went into a scenario today.

 

For Ex. There are 100 Excel (xlsx) files and each File has A, B C, D sheets.  The Objective is to pull the data from B Sheet from each File. But in some cases, the B Sheet Name is changed to B1. So. the workflow is throwing an error for this particular excel file. and consolidating the remaining sheets.

 

is there a way to notify the error message as a separate output. Or is there anyway to handle such scenarios ?

 

Best Regards,

NIkil

messi007
15 - Aurora
15 - Aurora

@dkma,

 

When you filter the sheet name you can use contains([Sheet name],"B") instead of [sheet name]="B".

 

Hope this helps,

Regards

Labels
Top Solution Authors