dt.AsEnumerable().Where(Function (row) Not String.IsNullOrEmpty(row(“Col3”).ToString) and Not String.IsNullOrEmpty(row(“Col6”).ToString)).ToList().ForEach(Sub (row) row.SetField(Of String)(“Col7”, row(“Col3”).ToString+ “-” +row(“Col6”).ToString))
I used this within an invoke code activity where dt is a datatable set as in/out parameter. Then I used a write range in order to write the entire dt in excel. (keep in mind you will need to make sure “Col7” exists)