分类汇总或是数据透视表都可以主要还是看你表格的数据是怎么样的,可能有的需要进行编辑
excel如何用数据透视表和数据透视图分类求和http://jingyan.baidu.com/article/455a9950b9dab3a16727785a.html