小编Viv*_*OLA的帖子

Google Spreadsheets:如何将COUNTIF与OR结合使用

在Google Spreadsheets中,我需要在具有多个条件的范围内使用COUNTIF函数.所以在下表中我需要有类似= COUNTIF(B:B,"Mammal"或"Bird")的东西,并返回值4.

A         |B
-------------------
Animal    | Type
-------------------
Dog       | Mammal
Cat       | Mammal
Lizard    | Reptile
Snake     | Reptile
Alligator | Reptile
Dove      | Bird
Chicken   | Bird
Run Code Online (Sandbox Code Playgroud)

我尝试了很多不同的方法而没有运气.任何帮助表示赞赏 - 谢谢.

regex countif google-sheets array-formulas google-sheets-formula

19
推荐指数
2
解决办法
6万
查看次数