这个公式能精简吗?
=COUNTIFS(Sheet1!$B:$B,">="&$B3,Sheet1!$B:$B,"="&$B3,Sheet1!$B:$B,"最好把附件传上来。 不可以,只是3个条件,不算多。 不知道对不对
=SUMPRODUCT(COUNTIFS(Sheet1!$B:$B,">="&$B3,Sheet1!$B:$B,"<"&$B4,Sheet1!H:H,{1,-1})) 上传个附件看看 =SUMPRODUCT(Sheet1!$B:$B>=$B3,Sheet1!$B:$B<$B4,ABS(Sheet1!H:H)=1) 感谢大佬的解答。非常完美! =SUM(COUNTIFS(Sheet1!$B:$B,">="&$B3,Sheet1!$B:$B,"<"&$B4,Sheet1!H:H)*{1,-1}) 也感谢其他热心解答的大佬和版主,感恩。因为数据不方便公开扩散,就不发上来了,望理解! =SUMPRODUCT(COUNTIFS(Sheet1!$B:$B,"<"&$B3:$B4,Sheet1!H:H,{1,-1})*{-1,-1;1,1})