Please use join datatable activity after reading both the files data into datatable. Join to be done on Name and city(inner join)
then use filter datatable to have only columns needed that are second file related columns (Name,City,Company) then paste it into the excel using write range activity
Use assign activity and left side give DT_C and Right side DT_A.Clone
use one more assign activity and place DT_C.
Right Side
(From a In DT_A Join b In DT_B On a(“Name”).ToString.Trim Equals b(“Name”).ToString.Trim and a(“City”).ToString.Trim Equals b(“City”).ToString.TrimSelect DT_C.Rows.Add({b(“Name”),b(“City”),b(“Company”)})).CopyToDataTable