![](/img/trans.png)
[英]Excel: Count unique comma-delimited strings in a column with countifs-style criteria from other columns
[英]Excel - CountIfs using column header and value from other column as criteria?
我正在嘗試生成一個countifs公式以放入工作表1中的單元格,該公式將計算工作表2中ID為“ A”的條目數。
但是我還需要添加一個標准,說僅對第2頁上的列標題中的日期與第1頁上的列標題中的日期相匹配的條目進行計數。
工作表Sheet1
ID 01/01/2016
A 1 (Formula goes here)
B 0 (Formula goes here)
C 1 (Formula goes here)
D 1 (Formula goes here)
Sheet2
ID 01/01/2016
A 1pm - 2pm
B
C 1pm - 2pm
D 1pm - 2pm
我真的很想讓這個工作。 到目前為止,我已經把它放在一起了,但是它沒有日期的標准。
=SUMPRODUCT((Data!$A$2:$A$1000=$A2)*(Data!$D$2:D$1000="$D$1"))
請有人告訴我我要去哪里錯了嗎?
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.