Hi,
I am checking whether the variables in an excel DT1 named ReferenceNumber and WONumber exist in the other excel DT2, if so, I want to write these variables in a new excel one by one.
This is my DT1
This is my DT2
I want to write matching numbers in a third excel like this
I can compare two data tables but I don’t know how to write these variables.
Thank you.
Could you try using Join Datatables Activity with Reference Number as the key column to match from both the Datatables. Keep the Join type as Inner Join. It should give you the required Output.
However, You would need to keep the Required Columns either by using Filter Datatable Activity or by using DefaultView.ToTable() method.