Alteryx Designer Desktop Discussions

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

Different Header Different Schema Problem

terrellchong
Asteroide

Hi Alteryx Community,

I'm looking for a macro to help clean up some Excel files. Each file has different headers and columns and each of the file consist of 1million line item, which makes it hard to work with them.

Here's what I need the macro to do:

  1. Match columns that are similar across files with different headers.
  2. Make all the headers the same.
  3. Deal with any columns that are missing or extra.
  4. Clean up the data, like removing spaces and fixing formats.

I know this might be a bit tricky, but I'm sure there's a way to do it with Alteryx.

I've attached a sample input file and what I want the output to look like. If you have a macro that can help or any advice, please let me know.

Thanks for your help!

2 RESPOSTAS 2
Qiu
20 - Arcturus
20 - Arcturus

@terrellchong 
You put your input data into one Excel Sheet, which makes it more difficult.

Here is a macro should help with multiple files import for dealing different schema.

https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Import-Multiple-sheets-in-from...

terrellchong
Asteroide

Hi Qiu,

Thanks for the macro, but it didn't fix the header names. They're still different in each file. I need something that makes all the headers the same.

Any other ideas?

Rótulos