If you arranged the data into a proper Excel table format then you would be able to use a PivotTable or AutoFilter with a SubTotal formula