Setting up Subtotals
If the data you selected includes numerical fields, you can set up the query to perform calculations on the data. Use this procedure to define how you want subtotals and sums displayed in the worksheet.
To display a subtotal
- Click the Subtotal tab.
- From the At Each Change In list, select the record at which you want Excel to calculate a subtotal.
- From the Use Function list, select the operation you want Excel to perform.
- In the Add subtotal to: list, select the field you want the calculations to be performed on.
- Click Next to proceed to the Sort tab.