vlookup (Join Function )
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi all, can I check to do a vlookup between 2 input files in alteryx, I have used a Join function however it seems like I am not getting the desired output. e.g. file A has 12 lines while File B has 25 lines, the expected output that I am expecting would be the 12 lines from file A however it seems like the output has slightly more than 12 lines when i use the "J" in the Join function. Is there a way to get the 12 lines output from excel A ?
Thank you!
Solved! Go to Solution.
- Labels:
- Developer Tools
- Workflow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @gavinloi_!
The issue you're experiencing most likely has to do with duplicate values in the joining columns in either dataset.
For example, if you're joining both datasets on column "Employee ID", and employee ID "123" appears once in dataset A, but twice in dataset B, you would get two rows for this employee ID from the J output, hence the additional rows.
Make sure that there are no duplicate values in dataset B, or add additional columns for joining to ensure that you capture only the required data.
Additionally, it may be easier to use the "Find Replace" tool if you're looking to do vlookup. Look out for duplicates though, if they are still present in the data, Find Replace tool is going to pick up the last match!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
thank you! that works after I removed duplicates from file B.
