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

Doing the Vlook up with Multiple column

harmful_virus
6 - Meteoroid

Hi Team,

 

I have one static excel file (Refer below) .

 

Static Data(We will be updating this static file manually if we have new customer details)
Bank Account 1Customer IDSource IDCIF IDClient Name
1256458981478961256987ABC
1478547892562362145878PQR
1569145691258931458888UVC
1256147891254783256987BHJ
1748145631254692145889KJUY
1458145891247851254789BBh hhh

 

 

Now my requirement is - I have the below file  & I want alteryx to perform vlookup the "Unique Identifier" in All the Above static column(Bank account 1, Cust ID, Source ID, CIFID) and if these are available in any of the column then give me the Client name as output Else BLANK

 

 

Input Data
Unique identifier
14569
125478
1254789
1748
45898

 

The below should be my output

 

Output Data 
Unique identifierClient Name
14569UVC
125478BHJ
1254789BBh hhh
1748KJUY
45898ABC

 

Please Note: I dont want to use Append tool and make my Static data one below the another & perform the file & replace option. Please suggest me some simple tool to get my output

 

 

 

 

 

 

3 REPLIES 3
binuacs
21 - Polaris

@harmful_virus One way of doing this

 

binuacs_0-1678219671173.png

 

harmful_virus
6 - Meteoroid

@binuacs  Thanks for your quick response. The above is just a dummy Data. I tried the same logic in my actual data but the  records are getting duplicated & the Identifiers which are not availabe in static data is getting filtered out. I may require  union tool to append the missing data which looks very confusing.

 

can you please help me with simple vlook up logic or macro - where my "identifier" should get looked up in multiple column of static data & give me the Client name as output data.

binuacs
21 - Polaris

@harmful_virus I think it should work in your real data as well, would you be able to provide a sample input file with the duplicate values as well? It would be easy for me to work on that file

Labels