求不同表格对应的数
如题,见附件=SUM(N(INDEX(表格2!A$7:J$25,,MATCH(A9,表格2!$1:$1,))=B9))
=SUM(N(INDEX(表格2!A$7:J$25,,A9+1)=B9)) =SUM((表格2!$A$1:$J$1=表格1!$A9)*(表格2!$A$7:$J$25=表格1!$B9))
=SUM(N(OFFSET(表格2!$A$7:$A$25,,MATCH(表格1!$A9,表格2!$1:$1,)-1)=$B9))
你的模拟结果有误吧? =COUNTIF(INDEX(表格2!A:J,,A9+1),表格1!B9) C9
=SUMPRODUCT((表格2!$A$7:$J$25=$B9)*(表格2!$A$1:$J$1=$A9))
页:
[1]