就按你的例子,
在A9输入:合计
回车,
B9输入:男
回车,
C9输入:=count(if(($B$2:$B$8=B9)*($C$2:$C$8>=25)*($C$2:$C$8<=35),$C$2:$C$8)
按Ctrl+Shift+Enter结束编辑
C9就是你要的值
D1输入公式
=SUMPRODUCT((B2:B8="男")*(C2:C8>=25)*(C2:C8<=35))
如果实际行数多的话,就将8改为实际行数
求人数,与乘积之和不相干,还是用这个吧:
=COUNTIFS(B2:B8,"=男",C2:C8,">=25",C2:C8,"<=35")
=sumproduct((B2:B8="男")*(C2:C8>=25)*(C2:C8<=35))
你好 怎么联系。