用COUNTIFS还是用其他公式计数
请教大神,如附件,原表还有很多列,表中数来源其他表格,因此有0值,本表也其他表引用。能不用辅助列,不拆散本表结构,求出相应个数吗。谢谢
=SUMPRODUCT(($A$1:$J$1="业绩")*($A$2:$J$17>=1)*($A$2:$J$17<500)) =COUNT(0/(($A$2:$J$17<=499)*($A$1:$J$1="业绩")*($A$2:$J$17>=1)))
或者这样直接下拉
=SUMPRODUCT(($A$1:$J$1="业绩")*($A$2:$J$17>=--TEXT(,"[$"&L3&"]"))*($A$2:$J$17<=-LOOKUP(,-RIGHT(L3,ROW($1:$5))))) 直接:=SUM(COUNTIF(A:J,{"<","<="}&TRIM(MID(SUBSTITUTE(L3&IF(RIGHT(L3)="-","9e207",""),"-",REPT(" ",50)),{1,51},50)))*{-1,1})
下拉。 谢谢各位大神。问题解决了。
页:
[1]