I have a sheet which contains some data, I am using filter datatable to filter out the data using multiple keyword from a single column and write that filtered out data in a new excel sheet.
So this is my sample column which consist of :
IT/ Python is programming
IT/ UiPath is low code platform
IT/ React is frontend framework
Now, I am trying to get output as in a new excel sheet like this below (Expected output):
IT/Python is programming
IT/ UiPath is low code platform
This is what i have given in filter datatable but I’m not getting as per my expected output.
I have tried this also by using OR condition, but i am getting all the three rows of data which satisfy one keyword which is IT because, IT is common in all the three rows of data.
(From row In dt1.AsEnumerable()
Where (row.Field(Of String)("Description").Contains("IT") And
((row.Field(Of String)("Description").Contains("UiPath")) Or (row.Field(Of String)("Description").Contains("Python"))))
Select row).CopyToDataTable()