Answer:
Follow these steps to add subtotals to a list in a worksheet:
Sort the list on the field for which you want subtotals inserted.
Click the Subtotal button in the Outline group on the Data tab. ...
Select the field for which the subtotals are to be calculated in the At Each Change In drop-down list.
Step-by-step explanation:
google hope this helps you