Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

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

Combining Excel Files by Looking Up Unique Identifier

altnoob
5 - Atom

Hello - I have the data below which is an output from SAP (note that the Number header is merged within 2 cells).  

 

Capture.PNG

 

I am trying to add the highlighted columns below from a different file to my file above (before the Hours columns) by looking up the data using the Number column.  The file below will sometimes contain multiple numbers in the Number column.  However, all the numbers are unique and has 11 digits.  Can someone please point me to the right tool to use?  Thanks so much!

 

Capture1.PNG

2 REPLIES 2
Claje
14 - Magnetar

Hi,


I think you need to use two tools here.

 

First, the Text to Columns tool, configured to create new rows, to split on your Number field (that has multiple values in it)

Then, the Join tool, to Join between your two files, using the Number column.

 

I've attached a really quick example of how you might approach this.

BenMoss
ACE Emeritus
ACE Emeritus

In your lookup table perform a split of the 'Number' column using the text to columns tool. Set the delimiter to be , and place the mode in 'split to rows'.

 

Next you can perform use the join tool to bring this data together.

 

If you wish you can share your data in excel files and we can help you build a sample solution.

 

Ben

Labels