I have a Datatable which has 3 main columns. These columns are Days, Department, ProjectorType.
NB The data is coming from another system that i have no control over so I can not manipulate the data before getting it into the Datatable.
For example, the datatable may contain -
2 - Sales - 55HP
5 - Sales - 12HP
4 - Sales - 55HP
3 - HR - 55HP
2 - HR - 55HP
I now need to create a cleaner datatable that shows only one entry per department for each projector type...therein showing its total days.
So the above example would change to -
6 - Sales - 55HP
5 - Sales - 12HP
5 - HR - 55HP
I am not sure how to consolidate this info...so far i have been able to access each row but only remove them not add them together.
Any help much appreciated...
Start Free Trial