![](/img/trans.png)
[英]In Excel, sum all values in one column in each row where another column is a specific value
[英]Excel, Calculate Sum of one column where the corresponding row in another column equals a value
所以我有以下公式可以完美地計算我間接引用的另一個工作表的整個列的總和。
=SUM(INDIRECT(A4&"!C:C"))
我現在需要的是計算 C 的總和(如上),但僅當 D 列中的相關行等於 Yes 時。
這能做到嗎?
謝謝,
試試這個
=SUMIF(INDIRECT(A4&"!D:D"),"Yes",INDIRECT(A4&"!C:C"))
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.