标准范围内的公式

发布于 2025-02-08 02:51:50 字数 155 浏览 2 评论 0原文

我可以在Sumifs中应用公式,因为我不想在外面进行公式。

我正在尝试下面的事情 -

=SUMIFS('sheet1'!D:D,(LEFT('sheet2'!A:A,6)),"="&LEFT('sheet3'!B1,6))

Can I apply formula in criteria range in SUMIFS as I don't want to do it outside.

I am trying something like below-

=SUMIFS('sheet1'!D:D,(LEFT('sheet2'!A:A,6)),"="&LEFT('sheet3'!B1,6))

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

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

发布评论

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

评论(2

白鸥掠海 2025-02-15 02:51:50

不,这种操作在Sumifs中不起作用。您需要使用sumproduct。您不应该使用完整的列引用,因为那将非常慢。

=SUMProduct('sheet1'!$D$1:$D$1000,--(LEFT('sheet2'!$A$1:$A$1000,6)=LEFT('sheet3'!B1,6)))

No, that kind of manipulation doesn't work in SumIfs. You would need to use SumProduct. You shouldn't use full column references with that, since that will be very slow.

=SUMProduct('sheet1'!$D$1:$D$1000,--(LEFT('sheet2'!$A$1:$A$1000,6)=LEFT('sheet3'!B1,6)))
流殇 2025-02-15 02:51:50

对于sumifs,您需要使用通配符的不同设置:

= sumifs(Sheet1!d:d:d,Sheet1! *“)

虽然请注意,如果Sheet1!a:a中的条目是数字的,则该条目将不起作用。

For SUMIFS, you would need a different set-up using wildcards:

=SUMIFS(Sheet1!D:D,Sheet1!A:A,LEFT(Sheet3!B1,6)&"*")

though note that this will not work if the entries in Sheet1!A:A are numeric.

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