Google表格Countif带有间接标签停止在阵列公式中工作

发布于 2025-02-04 20:58:20 字数 455 浏览 3 评论 0原文

我试图通过使用间接介绍Countif公式中的Tab名称并正常工作来计算一个名称出现在不同选项卡中的次数。

但是,一旦我将其放入一个arrayformula中,它就会停止正确计数。有人知道解决此问题的方法吗(下面的图像链接)?

谢谢!

works = countif(间接(“ semana”& $ a2&“!g:g”),$ d2),$ d2)

不起作用 = arrayformula(countif(indirect(indirect ) (“ semana”& $ a2:a&“!g:g”),$ d2:d))))

在E和F列中,您可以在将其制作为arrayformula后看到不同的结果。

I'm trying to count how many times a name appears in different tabs by using indirect to reference the tab name within a countif formula and works fine.

However, as soon as I put it into an ArrayFormula, it stops counting correctly. Does anyone know a way around this (image link below)?

Thanks!

Works =countif(indirect("Semana "&$A2&"!g:g"),$D2)

Doesn't work =ArrayFormula((countif(indirect("Semana "&$A2:A&"!g:g"),$D2:D)))

In columns E and F you can see the different results after making it an ArrayFormula.

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

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

发布评论

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

评论(1

旧人 2025-02-11 20:58:20

间接不支持arrayformula

请参阅: A/58314247/5632629

INDIRECT is not supported under ARRAYFORMULA

see: https://stackoverflow.com/a/58314247/5632629

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