I have 2 excel sheets like this
Sheet 1 :
Sheet 2 :
Now what I want to do is From sheet 1 i need to add up all the numbers and see if the total matches to the number of the second sheet or not
how to achieve this
I have 2 excel sheets like this
Sheet 1 :
Sheet 2 :
Now what I want to do is From sheet 1 i need to add up all the numbers and see if the total matches to the number of the second sheet or not
how to achieve this
First read the data in the sheet1 using read range activity which will give the output as datatable
In Assign you can use the following to get the sum of columns:
int SumOfData = DT.AsEnumerable.Sum(Function (x) Convert.ToInt32(x.Item(“YourColumnName”).ToString))
Regards,
Rajeswari
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.