Hi everyone,
I have one excel where it will contain duplicates in column A of it has mean it sholud add all B column values and past it as unique row
Try this in assign
dt = dt.AsEnumerable.GroupBy(function(x) x(0).ToString).Select(function(x) dt.LoadDataRow(x.ToString,x.Sum(function(y) cdbl(y(1).ToString)).ToString},False)).CopyToDataTable
Cheers
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.
