Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Designer Desktop Discussions

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

If Data in one sheet is in the other then create column

pablomtz28
6 - Meteoroid

Hello all,

 

I have two excel sheets. In both excel sheets there is several data, but they both have two certain data that are the same, which is the personal id number and year started. The first sheet has much more data than the other, but all the data in the second sheet can be found in the first one. I want to basically check if I can find the personal ID and date from every row in the second to the first, and add a column at the end of the first stating if found or not. Is there a way to do so? Let me explain with a table.

 

Data 1

Personal IDYear Started
00012010
00012011
00022013
00052014

Data 2

Personal IDYear Started
00012010
00052014

 

Output

Personal IDYear StartedBoth?
00012010Yes
00012011No
00022013No
00052014Yes

 

Anyone can help?

2 REPLIES 2
AbhilashR
15 - Aurora
15 - Aurora

Hi @pablomtz28, you could join the two datasets on Personal ID and Year Started to compare the datasets and write a formula tool downstream to get your Both? column flag. Something like the attached solution.

AbhilashR_0-1594950692811.png

 

 

pablomtz28
6 - Meteoroid

Nice! I am fairly new to Aldryx, and this helped me a lot. Thanks!

Labels