is it possible to provide concrete example for SUM or AVE functions? For example, I wanted to append a new row to a table which shows Total of particular column.
I have attached a template Word document (SumAvgExample.docx) here for your reference. This document contains a “mail merge with regions” Row that is duplicated the number of times the DataTable has Rows in it. As shown in following example code, after the MailMerge.ExecuteWithRegions method call, the UpdateFields method of Aspose.Words calculates the values of SUM and AVERAGE formula fields which are contained inside the second Row in the template document.