首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >组合多个SumIFS

组合多个SumIFS
EN

Stack Overflow用户
提问于 2020-03-26 02:55:30
回答 1查看 23关注 0票数 0

我正在尝试使用一个特定的市场X合并几个帐户。

如何简化下面的公式以将数组用于第二个条件?

代码语言:javascript
复制
=SUMIFS('Report Data'!$H$4:$H$6169,'Report Data'!$E$4:$E$6169,'SG&A by Spend'!$A$3,'Report Data'!$G$4:$G$6169,'SG&A by Spend'!$A20)
+SUMIFS('Report Data'!$H$4:$H$6169,'Report Data'!$E$4:$E$6169,'SG&A by Spend'!$A$3,'Report Data'!$G$4:$G$6169,'SG&A by Spend'!$A21)
+SUMIFS('Report Data'!$H$4:$H$6169,'Report Data'!$E$4:$E$6169,'SG&A by Spend'!$A$3,'Report Data'!$G$4:$G$6169,'SG&A by Spend'!$A22)
+SUMIFS('Report Data'!$H$4:$H$6169,'Report Data'!$E$4:$E$6169,'SG&A by Spend'!$A$3,'Report Data'!$G$4:$G$6169,'SG&A by Spend'!$A23)
+SUMIFS('Report Data'!$H$4:$H$6169,'Report Data'!$E$4:$E$6169,'SG&A by Spend'!$A$3,'Report Data'!$G$4:$G$6169,'SG&A by Spend'!$A24)
*SUMIFS('Report Data'!$H$4:$H$6169,'Report Data'!$E$4:$E$6169,'SG&A by Spend'!$A$3,'Report Data'!$G$4:$G$6169,'SG&A by Spend'!$A25)
+SUMIFS('Report Data'!$H$4:$H$6169,'Report Data'!$E$4:$E$6169,'SG&A by Spend'!$A$3,'Report Data'!$G$4:$G$6169,'SG&A by Spend'!$A26)
+SUMIFS('Report Data'!$H$4:$H$6169,'Report Data'!$E$4:$E$6169,'SG&A by Spend'!$A$3,'Report Data'!$G$4:$G$6169,'SG&A by Spend'!$A27)
+SUMIFS('Report Data'!$H$4:$H$6169,'Report Data'!$E$4:$E$6169,'SG&A by Spend'!$A$3,'Report Data'!$G$4:$G$6169,'SG&A by Spend'!$A28)
*SUMIFS('Report Data'!$H$4:$H$6169,'Report Data'!$E$4:$E$6169,'SG&A by Spend'!$A$3,'Report Data'!$G$4:$G$6169,'SG&A by Spend'!$A29)
*SUMIFS('Report Data'!$H$4:$H$6169,'Report Data'!$E$4:$E$6169,'SG&A by Spend'!$A$3,'Report Data'!$G$4:$G$6169,'SG&A by Spend'!$A30)
+SUMIFS('Report Data'!$H$4:$H$6169,'Report Data'!$E$4:$E$6169,'SG&A by Spend'!$A$3,'Report Data'!$G$4:$G$6169,'SG&A by Spend'!$A31)
+SUMIFS('Report Data'!$H$4:$H$6169,'Report Data'!$E$4:$E$6169,'SG&A by Spend'!$A$3,'Report Data'!$G$4:$G$6169,'SG&A by Spend'!$A32)
+SUMIFS('Report Data'!$H$4:$H$6169,'Report Data'!$E$4:$E$6169,'SG&A by Spend'!$A$3,'Report Data'!$G$4:$G$6169,'SG&A by Spend'!$A33)
+SUMIFS('Report Data'!$H$4:$H$6169,'Report Data'!$E$4:$E$6169,'SG&A by Spend'!$A$3,'Report Data'!$G$4:$G$6169,'SG&A by Spend'!$A34)
*SUMIFS('Report Data'!$H$4:$H$6169,'Report Data'!$E$4:$E$6169,'SG&A by Spend'!$A$3,'Report Data'!$G$4:$G$6169,'SG&A by Spend'!$A35)
EN

回答 1

Stack Overflow用户

发布于 2020-03-26 03:29:21

使用SUMPRODUCT()包装器:

代码语言:javascript
复制
=SUMPRODUCT(SUMIFS('Report Data'!$H$4:$H$6169,'Report Data'!$E$4:$E$6169,'SG&A by Spend'!$A$3,'Report Data'!$G$4:$G$6169,'SG&A by Spend'!$A$20:$A$35))
票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/60855541

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档