I have 2 Excel Sheets which I create Datatable and I sum them individually and write the sum at the end of the last column dyanamically using List of String Variable.
Now that list variable hold data like
List(9) { “0”, “0”, “0”, “60626.4094299998”, “8776.42535000011”, “0”, “52849.6766199999”, “-108272.198”, “401830.16” }
Create DataTable of the values that I am holding in List Variable and write back to new excel sheet. Not worried about the Column Header as I copy them before from other sheet.
Subtract 1st List with 2nd list and find the variance.