I have a datatable in which a colume name has same data i need to make it as single
Name. Age
Sruthe,Dilip,Dilip. 12,30,30
Since in column Name has two dilip and in age two 30 so my output should be
Name. Age
Sruthe,Dilip 12,30
we can get any name or age the output is dynamic
Anil_G
(Anil Gorthi)
2
@sruthesanju
Can you share an excel with expected input and output please
Or a screenshot of how datatable looks
Cheers
Hi @sruthesanju
You can use the following function as your objective seems to remove the duplicate row.

Hope this helps 
Hi @sruthesanju
In UiPath, you can remove duplicate values in a DataTable by using the following steps:
- Create a new, empty DataTable with the same columns as the original DataTable.
- Use a For Each Row activity to loop through each row in the original DataTable.
- Use the condition row(index) = row(index+1).you can continue until the last row value
- If the values do not exist, add the current row to the new DataTable.
- After the loop, the new DataTable will only contain unique rows.
Regards,
Kaviyarasu N
system
(system)
Closed
8
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.