arrayformula+ SUMIF到自动填充 /扩展结果

发布于 2025-01-22 17:21:57 字数 393 浏览 1 评论 0原文

我想做一个简单的sumif来返回每个播放器的总点,但是想使用arrayformula自动填充 /给出扩展的结果,因此当添加更多播放器时,不需要将SUMIF拖到新的行中。

我知道ArrayFormula与Sumifs无法使用,但是我确定它可以与Sumif一起使用。

如您所见,SUMIF正确地带回了总点,但并未向下扩展列。

有建议吗?我当时在想也许是Sumpropuct,但不确定该去哪里。

I want to do a simple SUMIF to return the total points for each player, but wanted to use ARRAYFORMULA to autofill down / give expanding results so when more players are added, the SUMIF doesn't need to be dragged down to the new rows.

I know ARRAYFORMULA doesn't work with SUMIFS, but I was sure it worked with SUMIF.

As you can see, the SUMIF is correctly bringing back the total points, but it's not expanding down the column.

Any advice? I was thinking maybe SUMPRODUCT but not sure where to go with that.

screenshot of googledoc

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

指尖凝香 2025-01-29 17:21:57

使用:

=ARRAYFORMULA(SUMIF(A2:A22, F2:F22, D2:D22))

用于删除零的使用:

=ARRAYFORMULA(IFERROR(1/(1/(SUMIF(A2:A22, F2:F22, D2:D22))))

与标头:

={"Score"; ARRAYFORMULA(IFERROR(1/(1/(SUMIF(A2:A22, F2:F22, D2:D22))))}

use:

=ARRAYFORMULA(SUMIF(A2:A22, F2:F22, D2:D22))

for removing zeros use:

=ARRAYFORMULA(IFERROR(1/(1/(SUMIF(A2:A22, F2:F22, D2:D22))))

with header:

={"Score"; ARRAYFORMULA(IFERROR(1/(1/(SUMIF(A2:A22, F2:F22, D2:D22))))}
水中月 2025-01-29 17:21:57

为了使SUMIF在阵列中自动填充,[标准]参数必须为一个范围。

将F2更改为F2:F22。

In order for SUMIF to autofill within an arrayformula, the [criterion] parameter must be a range.

Change F2 to F2:F22.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文