Alteryx Designer Desktop Discussions

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

Excel - Join (vlookup) from same column

Baz123
8 - Asteroid

Hi,

 

Bit of a weird one to ask, so bear with me :)

 

We have a data set that is imported and work flowed. At the end of the workflow the data looks like this:

 

RecordSupplierPurchaserPO NumberLocation
1ANULL20714BBBB
2ABob S21677BBBB
3BNULL21655EEEE
4BNULL21655EEEE
5BMary Y21341EEEE
6BNULL21342EEEE
7ANULL21678BBBB

 

We can see from the table above there are NULLs in Purchaser. Using columns Supplier and Location we can see that record 2 should be Bob, and records 3, 4, and 6 should belong to Mary.

 

Is it possible / how does one then use the current data set to fill in the NULLs? I have tried filtering the dataset, then joining (vlookup) on the original data set but this does not work.

 

Any suggestions?

Thanks.

6 REPLIES 6
Qiu
21 - Polaris
21 - Polaris

@Baz123 
We can seperate the records with Purchaser as Null then join with those are not withe key of 'Supplier' and "Location".

0919-Baz123.PNG

flying008
14 - Magnetar

Hi, @Baz123 

 

I assume your Supplier has only 1 Purchaser  in Location xxx.

 

录制_2022_09_19_10_21_45_725.gif

Baz123
8 - Asteroid

Hi @flying008 ,

 

Can you post the workflow so I can see the config?

 

It looks to be a simple fix.

 

Thanks.

flying008
14 - Magnetar

Hi, @Baz123 

 

If your supplier have N purchasers in location xxx. you can Join Supplier&Location as new filed to match. 

 

flying008_0-1663560899309.png

 

binuacs
20 - Arcturus

@Baz123 Another way of doing this with the Multi-Row tool

 

binuacs_0-1663568167065.png

 

Baz123
8 - Asteroid

Hi @flying008 

 

Your solution worked great. I had to tweak it slightly to work in the real data, but it sorted the issue.

 

:)

Labels