countif函数多个条件计数_countif函数多个条件

互联网   2023-06-24 00:56:56


(相关资料图)

1、具体是什么条件,区分对待,03版不能实现多条件,如果是07以上版本,可用countifs函数完成,这个函数是专门为多条件统计实现的。

2、03版可用sumproduct函数来实现=sumproduct((区域1=条件1)*(区域2=条件2)),这里的区域是一样多行数的。

3、否则出错。

4、用countif如果是文本条件的,用countif()+countif()如果是数字区间的,countif(区域,"<=大数“)-countif(区域,"<=小数")或countif(区域,">=小数")-countif(区域,">=大数")。

本文分享完毕,希望对你有所帮助。

相关资讯
最新资讯