Arrayformula为某些公式工作,但没有其他公式
此arrayformula有效:
=ArrayFormula(IF(ISBLANK(F:F); ""; E:E*G:G))
(它进行简单的计算并填充所有不是空的行)
此公式也有效:
=(E1/$J$1*G1)+((1-(E1/$J$1))*$K$1)
(对加权排序进行计算)
但是,最后一个公式的arrayformula版本无法正常工作:
=ArrayFormula(IF(B:B=""; ""; (E1/$J$1*G1)+((1-(E1/$J$1))*$K$1)))
它不会给出错误,并且填充了正确的行,但它显示了所有行的结果(不是正确的结果,只有一个,只有一个行应显示1)。
关于可能发生的事情或如何解决的想法?
谢谢!
This ArrayFormula works:
=ArrayFormula(IF(ISBLANK(F:F); ""; E:E*G:G))
(it does a simple calculation and fill with it all the rows that are not empty)
This formula also works:
=(E1/$J$1*G1)+((1-(E1/$J$1))*$K$1)
(it does a calculation for a weighted sort)
But the ArrayFormula version of that last formula doesn't work as expected:
=ArrayFormula(IF(B:B=""; ""; (E1/$J$1*G1)+((1-(E1/$J$1))*$K$1)))
It doesn't give an error and it fills the correct rows, but it shows a 1 as a result for all rows (not the correct result, only one of the rows should show the 1).
Any ideas of what could be happening or how to solve it?
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
使用:
use: