To apply a grand total to a column using a data function:
Select a column and choose Table, then Grand Total.
The Insert Grand Total dialog box is displayed.
Select a data function from the Grand Total Function drop-down list box.
Select one or more columns to be totaled from the Add Grand Total To list and click OK.
The total and any subtotals in the column are computed to reflect the new data function.