Hi @Dorothy_lee ,
Follow below steps.
-
Read KeyWord Excel into one datatable(KeyWordDT) and convert it to Array of Keywords as below
KeyWordArr=KeyWordDT.AsEnumerable().Select(Function (a) a.Field(of string)("Column Name").ToString).ToArray
-
Read target excel into Datatable (InputDT).
-
Assign ResDT=InputDT.Clone
-
Use below expression in assign activity.
ResDt=(From row in InputDT.Asenumerable
Where KeyWordArr.AsEnumerable.Where(Function(x) row("ColName").ToString.Trim.Contains(x.trim)).Count>0
Select row).CopyToDatatable()