Countif

2010-04-09 7:33 pm
A B
1 y
2 y
1 n
1 y
2 n


How many are those A column = 1 and at the same time B column =y?
What is the Countif formula?
Thank you (it is urgent, please!)

回答 (1)

2010-04-10 6:51 am
✔ 最佳答案
Probability you have to use another function COUNTIFS
The formula becomes:
=COUNTIFS(A1:A5,"1",B1:B5,"y")

2010-04-14 22:21:08 補充:
Enter the following formula without hitting the "ENTER" key:
=SUM((A1:A5=1)*(B1:B5="y"))
Then press -CTRL-SHIFT-ENTER simultaneously
The formula will appears as:
{=SUM((A1:A5=1)*(B1:B5="y"))}


收錄日期: 2021-04-23 23:22:13
原文連結 [永久失效]:
https://hk.answers.yahoo.com/question/index?qid=20100409000051KK00475

檢視 Wayback Machine 備份