H3:=SUM(COUNTIF($D:$D,IF($B$3:$B$1000=$G3,$A$3:$A$1000,"@#$%")))
I3: =SUM(SUMIF($D:$D,IF($B$3:$B$1000=$G3,$A$3:$A$1000,"@#$%"),$E:$E))
全部ctrl+shift+回车下拉
表2建议加一列经办人,值用公式引进 F2=VLOOKUP($D2,$A$2:$B$13,2,0),如图
1、先看图, 范围自定一下, H2=COUNTIF($D$2:$F$37,I2) I2=SUMIF($F$2:$F$37,I2,$E$2:$E$37)