Alteryx Designer Desktop Discussions

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

Vlookup with more than one condition

nphuong84
7 - Meteor

Hi,

 

I have this case:

 

 

item1item2   item1item2value
AB   AB1
AC   AC2
AD   AD3
MB   MB4
MC   MC5
MD   MD6

 

 

 

How can I vlookup value for A if item 2 is B so I have the result 1, if item 2 is C the result is 3, item 2 is D the result is 3 and similar for M. What is the tool that I can apply in Alteryx?

 

Thanks

Phuong

2 REPLIES 2
RolandSchubert
16 - Nebula
16 - Nebula

Hi @nphuong84 ,

 

you could use the JOIN tool. You can select multiple fields to join on, so you would select [item1] and [item2] for both inputs.

 

27-02-_2020_12-35-08.png

 

Hope this is helpful.

 

Best,

 

Roland

nphuong84
7 - Meteor

Hi @RolandSchubert ,

 

It works, that is great. I think that I really don't understand the function of Alteryx tools, do you have any advice that where I can study the tools and apply this effectively.

 

Thanks

Phuong

Labels