Hello, I don’t find a solution to split a sentence in a cell.
So, we have a few column, from a specific column (Fruits), I want to sort/filter the row into 3 different sheets following the keyword (Apple, Orange, Grapes)
Pls kindly support me with a xaml file and the solution. Thank you.
Hi
welcome to uipath community
yah of course its possible with FILTER DATATABLE ACTIVITY
or even With SELECT method
Fine
Hope these steps would help you resolve this
@
—use excel application scope activity and lass the file path as input
—use read range activity and get the output with a variable of type datatable named outdt
—use three assign activity like this outdt1 = outdt.Select(“[Fruits]=‘Apple’ “) outdt2 = outdt.Select(“[Fruits]=‘Orange’ “) outdt3 = outdt.Select(“[Fruits]=‘Grapes’ “)
Where
outdt1,outdt2,outdt3 are datatable variables which are defined in the variable panel with default value as new system.data.datatable
—use three write range activity and pass the datatable one by one as datatable input and in sheet name mention the sheetname we need in each write range activity and make sure rhatbadd headers is enabled in the property panel of write range activity