Alteryx Designer Desktop Discussions

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

Multiple string VLOOKUP

AKISHORE
6 - Meteoroid

Hi,

 

I'm trying to do VLookup using Find Replace tool from two different excel files, but since i have to do multiple combinations of VLookups and the data may not match exactly I'm unable to arrive at the expected results. Please see the screenshot below where table1, table2 with desired output.

 

AKISHORE_1-1682610329286.png

 

Note : This is just a sample data.

 

any suggestions appreciated...Thanks

4 REPLIES 4
ShankerV
17 - Castor

Hi @AKISHORE 

 

One way of doing this.

 

ShankerV_0-1682611920730.png

 

 

Many thanks

Shanker V

ShankerV
17 - Castor

Hi @AKISHORE 

 

Step 1: Input both datasets

 

ShankerV_0-1682611998020.png

 

 

Step 2: 

 

ShankerV_1-1682612013029.png

 

 

Step 3:

 

ShankerV_2-1682612028088.png

(.+)(\s.+)

 

ShankerV_3-1682612049275.png

 

Step 4:

 

ShankerV_4-1682612081765.png

(.+)(\s.+)

 

ShankerV_5-1682612090058.png

 

Step 5:

 

ShankerV_6-1682612112155.png

 

ShankerV_7-1682612120613.png

 

 

Step 6:

 

ShankerV_8-1682612144778.png

 

ShankerV_9-1682612154322.png

 

Many thanks

Shanker V

 

 

 

 

AKISHORE
6 - Meteoroid

Thank you Shankar V for your response but i may have not explained it better. Below picture has one more record added in table 2(Red border) with the same name but with different Established Country, Booked Country and ID and i would like to get the 2nd row(Green Bordered) record ID in the output since the name, established country and booking country are same in the table 2 cells.

AKISHORE_1-1682674579900.png

 

Really appreciate your help..

FinnCharlton
13 - Pulsar

@AKISHORE , I would approach the problem like this:

FinnCharlton_0-1682675194106.png

In the Join tool, we join the two datasets on Name, Established Country and Booked Country. This replicates the functionality of using a VLookup for all these fields. Hope this helps!

Labels