Join the Alteryx Community’s Maveryx Summer Cup event! Compete, network with others, and earn your gold through a series of challenges from July 24th to August 11th. Learn more about the event here.

Alteryx Designer Desktop Discussions

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

Combine multiple tables of varying lengths on a single sheet to two outputs for lookups

JLMig
5 - Atom
Hello,
 
I have a few excel files with multiple tables on a single sheet. The tables can be varying lengths (widths will always be the same) and positioned at varying locations from one file to the next, but they will always be in the same order. I would like to combine them into 2 tables to prepare them for lookups. 
 
Is something like the outputs possible?
7 REPLIES 7
caltang
17 - Castor
17 - Castor

Hard, but possible.

Calvin Tang
Alteryx ACE
https://www.linkedin.com/in/calvintangkw/
flying008
14 - Magnetar

Hi, @JLMig 

 

Yes, it's possible, someone already build the batch-macro for get your want before 2 years, but so complex.

caltang
17 - Castor
17 - Castor

I went down a rabbit hole and did something complex for you. Hope this gives you some ideas.

 

image.png

Calvin Tang
Alteryx ACE
https://www.linkedin.com/in/calvintangkw/
Pang_Hee_Choy
12 - Quasar

my solution will be to manipulate the headers.

 

identify tables name, keep 3 columns each, assign columnID and table type, then join with the transposed data. 

 

and finally filter for each table and crosstab back to align the data. 

 

it may complex, but it less tools. 😁

Screenshot 2023-11-01 154413.png

Screenshot 2023-11-01 154430.png

JLMig
5 - Atom

Thank you! I'm just getting started with Alteryx, so I appreciate all the help I can get.

JLMig
5 - Atom

Thank you!

caltang
17 - Castor
17 - Castor

I'd appreciate it if you can mark my solution as an accepted solution as well since it splits the tables nicely for you into separate chunks in proper order.

 

Thanks @JLMig !

Calvin Tang
Alteryx ACE
https://www.linkedin.com/in/calvintangkw/
Labels