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.
SOLVED

Import Multiple Excel Sheets Dynamically with Header Only on First Sheet in Alteryx

Red-01
5 - Atom

Hi everyone, I am new to Alteryx and I am trying to import multiple sheets from a single Excel file dynamically, instead of using a separate Input Data tool for each sheet.

There is one complication in my file structure. The first sheet contains a header row in row 1 and the data begins from row 2. All the following sheets contain only data with no header, and the data begins from row 1.

I tried adapting the solution from this community post:
https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Import-Multiple-Excel-Sheet-fr...
but I was not able to get it working.

Has anyone handled a similar scenario or can suggest an approach for combining these sheets dynamically while applying the correct header only once?

Thank you in advance for your help.

3 REPLIES 3
Yoshiro_Fujimori
16 - Nebula
16 - Nebula

Hi @Red-01 ,

I would read the first sheet and the rest separately.

When input with Dynamic Input Tool, set "First Row Contains Data" to off for the first sheet, and to ON for the rest of the sheets.

Then Union the records with "Auto Config by Position" mode.

Here is a sample workflow.

I hope this helps. Good luck.

Red-01_workflow.png

WirkKarl
8 - Asteroid

Hi Red-01, welcome to Alteryx! For this scenario, a common approach is to use the Dynamic Input tool along with a Control Parameter to iterate over all sheets. You can read the first sheet with headers normally, then read the remaining sheets without headers and union them together, applying the first sheet’s headers. Sometimes a Dynamic Rename after the union helps make sure all columns align correctly. This usually works well for combining multiple sheets while keeping the header from just the first one.

Red-01
5 - Atom

Thank you very much, this approach worked! I think i was complicating it by having different control parameters for sheet name, file name and header.

Labels
Top Solution Authors