Alteryx Designer Desktop Discussions

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

Locate a value in one excel in another excel

BobjiK
8 - Asteroid

Hi, I am new to Alteryx development. I would like to request for help.

 

Below are 2 excel tables. I need to locate the vendor no that is there in FP Data, in the excel, Triage Data. Once it is found, I need to remove the particular row from the FP Data and write it into another excel. Please let me know how can I prepare the workflow

 

 

TRIAGE DATA

 

Duplicate GroupDivisionVendor No.VendorInternal Ref.Invoice No.
1Div 120000Vendor 1Ref 1Invoice 1
2Div230000Vendor 2Ref 1Invoice 2
3Div340000Vendor 3Ref 1Invoice 3
4Div450000Vendor 4Ref 1Invoice 3
5Div 155000Vendor 5Ref 1Invoice 3
6Div234000Vendor 6Ref 1Invoice 3
7Div353000Vendor 7Ref 1Invoice 3
8Div412000Vendor 8Ref 1Invoice 3
9Div 111000Vendor 9Ref 1Invoice 3
10Div229000Vendor 10Ref 1Invoice 3
11Div356000Vendor 11Ref 1Invoice 3
12Div477000Vendor 12Ref 1Invoice 3
13Div 145000Vendor 34Ref 1Invoice 3
14Div233000Vendor 66Ref 1Invoice 3
15Div336000Vendor 76Ref 1Invoice 3

 

FP DATA

 

RiskSystemDivisionVendor No.VendorInternal Ref.Invoice No.
HighSys1Division 120000Vendor 1Ref 1Invoice 1
Highsys2Divison 230000Vendor 2Ref 1Invoice 2
HighSys1Division 340000Vendor 3Ref 1Invoice 3
Highsys2Division 450000Vendor 4Ref 1Invoice 3
HighSys1Division 555000Vendor 5Ref 1Invoice 3
Highsys2Division 534000Vendor 6Ref 1Invoice 3
HighSys1Division 653000Vendor 6Ref 1Invoice 3
Highsys2Division 712000Vendor 8Ref 1Invoice 3
HighSys1Division 711000Vendor 9Ref 1Invoice 3
Highsys2Division 829000Vendor 10Ref 1Invoice 3
HighSys1Division 856000Vendor 11Ref 1Invoice 3
Highsys2Division 977000Vendor 12Ref 1Invoice 3
Highsys5Division 1045000Vendor  12Ref 1Invoice 3
Highsys8Division 1133000Vendor 14Ref 1Invoice 3
Highsys9Division 1236000Vendor 88Ref 1

Invoice 3

 

      

 

10 REPLIES 10
Prometheus
12 - Quasar

@BobjiK You can join the two datasets on Vendor No. Any records from FP data that don't join will come out of the Join tool. You can take these records and write them to another Excel file, thus "removing" the records where the Vendor No. in FP is in the Triage data file.

Unjoined Right.PNG

caltang
17 - Castor
17 - Castor

I would use thé Join tool to connect them via the Vendor No. as the primary key for both tables. If they appear in J, then you’ve already technically removed them from the FP data since the Join tool works with L, J, and R outputs.

 

I would assume the Triage Data is the left side and the FP data is the right side. So whatever comes out of the right side is whatever that is not found in the Triage data.

Calvin Tang
Alteryx ACE
https://www.linkedin.com/in/calvintangkw/
BobjiK
8 - Asteroid

Thanks. Let me try this solution

BobjiK
8 - Asteroid

Thanks. Let me try

BobjiK
8 - Asteroid

Thanks Prometheus and Caltang. The solution works. I would like to format the spreadsheet before it is written in the output folder. I know it needs a combination of tools like Render, Layout. Can you please let me know how this can be achieved.

caltang
17 - Castor
17 - Castor

Let us know how you want it to look like. 

 

cc @Prometheus 

Calvin Tang
Alteryx ACE
https://www.linkedin.com/in/calvintangkw/
BobjiK
8 - Asteroid

I want the final output to look like format as table in Excel. Font to be Arial Nova and the size set to 9. 

BobjiK
8 - Asteroid

There is also one other requirement. From the table FB data, I need to remove the very next line alongwith the line that has been located in the Triage table. Please help.

 

I thought of Select tool but by having it before the Join tool, it will remove some lines before going into the Join Tool. If I include Select Tool after Join, by the time the records are already separated and Select Tool as such will not have any use.

caltang
17 - Castor
17 - Castor

There's no Arial Nova. I chose Arial. Have a go.

Calvin Tang
Alteryx ACE
https://www.linkedin.com/in/calvintangkw/
Labels