//Apply subtotal, the consolidation function is Sum and it will applied to
//Second column (C) in the list
cells.subtotal(ca, 0, ConsolidationFunction.SUM, new int[] { 1 });
//Save the excel file
workbook.save("data/AsposeTotal.xls");
// Print message
System.out.println("Process completed successfully");
}
}