Book2 - where I have column with name and Role
My point is to compare those DT’s and if I have in Book2 the same name as I have in Book1, I want to take the Role and write into the next free column in corresponding row in Book1
results like below
HI @niteckam Try this - (From a In DT2.AsEnumerable() Join b In DT1.AsEnumerable() On a(“Name”).ToString() Equals b(“Name”).ToString() Select a).CopyToDataTable()
Can you please try to put it into small workflow I was trying your suggestion but it does not work as I suppose it will Book1.xlsx (9.0 KB) Book2.xlsx (8.7 KB)