[英]Simple ARRAYFORMULA issue
I'm trying to get a simple IF statement into my ARRAYFORMULA but I'm getting a formula parse error.我正在尝试将一个简单的 IF 语句放入我的 ARRAYFORMULA 中,但我遇到了公式解析错误。 I'm unsure why.
我不确定为什么。
Here's what I've got.这就是我所拥有的。 Any ideas what I'm missing?
有什么想法我想念的吗?
=ArrayFormula({"Column Name";if(ISBLANK(C2:C),"",if(and(E2:E="b",G2:G">1.9"),G2:G-0.5,"")}))
https://docs.google.com/spreadsheets/d/1kh_gNxouYN7nL3xAnqsG8GvNGDxji5DkD6zZs0nSgxg/edit?usp=sharing https://docs.google.com/spreadsheets/d/1kh_gNxouYN7nL3xAnqsG8GvNGDxji5DkD6zZs0nSgxg/edit?usp=sharing
You had your parentheses mismatched.你的括号不匹配。 First, select all of Col J and press "Delete" to make sure it is completely empty.
首先,select 所有的 Col J,然后按“删除”以确保它完全为空。 Then place this in J1:
然后将它放在 J1 中:
=ArrayFormula({"Stop@2";if(ISBLANK(C2:C),"",if((E2:E="b")*(G2:G>1.9),G2:G-0.5,""))})
To be more specific about your error, you had =ArrayFormula({... }))
;为了更具体地说明您的错误,您有
=ArrayFormula({... }))
; so your outer IF
had no closure while your ArrayFormula
wrap had two.所以你的外部
IF
没有关闭,而你的ArrayFormula
包装有两个。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.