Excel統計函數一問~

2008-03-10 10:54 pm
係excel用sumif既時候,
係sum_range一欄可唔可以唔一定係數值?
如果係文字,例如: Y/N , 咁又計唔計到TOTAL呢?

如果第一欄係人名, 而第二欄係 Y or N
咁又可唔可以呢?

回答 (2)

2008-03-11 9:18 am
✔ 最佳答案
It will not calculate the total if sum range is not number


In this case, you may want to use COUNTIF and set the formula such that it wil count how many times Y or N has appeared in total.

I hope that helps.
Let me know if there's any problem.
參考: myself
2008-03-13 12:31 am
你可以先在C欄多做一個動作
欄位C
=A1&B1
=A2&B2
=A3&B3
=A4&B4
=A5&B5
=A6&B6
如此類推,得出結果如下
AmyY
CathyN
AmyY
AmyN
CathyY
AmyN

然後才使用COUNTIF去做統計
例如:
=COUNTIF(C1:C6,"AmyY")
得出結果→2
參考: 自己諗


收錄日期: 2021-04-12 02:13:58
原文連結 [永久失效]:
https://hk.answers.yahoo.com/question/index?qid=20080310000051KK01105

檢視 Wayback Machine 備份