为什么 SUMIFS 在这个解决方案中不起作用?

huangapple go评论89阅读模式
英文:

Why does SUMIFS not work for this solution?

问题

我尝试使用=SUMIFS(D4:D13,B4:B13,B4,C4:C13,C4)来回答问题,但似乎不起作用,希望能得到帮助。

英文:

Hello I am new to access and was trying to do a practice question from this site
https://excel-practice-online.com/functions/sumifs/

sumifs problem

I tried =SUMIFS(D4:D13,B4:B13,B4,C4:C13,C4) for the answer but it doesn't seem to work help would be appreciated.

答案1

得分: 1

I tested your expression and it works for me. However, could use text instead of cell references for criteria.

=SUMIFS(D4:D13,B4:B13,"Gold",C4:C13,"NY")

To reference cells for criteria input, use cells dedicated for that purpose, such as F1 and F2, and enter the values you want:
Gold
NY

=SUMIFS(D4:D13,B4:B13,F1,C4:C13,F2)

英文:

I tested your expression and it works for me. However, could use text instead of cell references for criteria.

=SUMIFS(D4:D13,B4:B13,"Gold",C4:C13,"NY")

To reference cells for criteria input, use cells dedicated for that purpose, such as F1 and F2, and enter the values you want:
Gold
NY

=SUMIFS(D4:D13,B4:B13,F1,C4:C13,F2)

huangapple
  • 本文由 发表于 2023年6月9日 00:12:32
  • 转载请务必保留本文链接:https://go.coder-hub.com/76433840.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定