1、统计,参考 http://foxtable.com/bbs/dispbbs.asp?BoardID=2&ID=104098&skin=0
2、如果要在excel里面处理,你需要编写vba代码 http://www.cnblogs.com/xwgli/p/5845317.html