=SUMPRODUCT((A1:A100>=-30)*(A1:A100<=30)*(A1:A100<>""))
或者如果excel07版:
=COUNTIFS(A1:A100,">=-30",A1:A100,"<=30")
30 30 如何通过函数一次性判断,在C列中日期等于某天的时候,D、E两列中比如数据是从第一行开始的: F1 =SUMPRODUCT(1*($C$1:$C$10=C1)*(
假设数据组为A1:A20
=COUNTIF(A1:A20,"<=30")-COUNTIF(A1:A20,"<-30")
=SUM(IF(AND(A1:A1000>=-30,A1:A1000<=30),1,0)
数组函数