[英]Formula that needs to return information based on two criterias
I have reached a roadblock when it comes to a formula that we are currently working on for works purposes. 当谈到我们目前正在为工作目的而工作的公式时,我遇到了障碍。
What the formula needs to achieve is bring back information based on two cells' information. 公式需要实现的是根据两个单元格的信息来恢复信息。 We have gotten it to work with one cell using the following formula:
我们已经使用以下公式使用一个单元格:
"CONCATENATE(INDEX(IF(sheet2!c:c = c1, "company: " & char(10, ""))))"
Now this brings back some information but not as defined as we would like it to be, so we need to bring in a second cell, using 现在这会带回一些信息但不是我们希望的那样定义,所以我们需要引入第二个单元格
"IF(sheet2!c:c = c1 & ..."
brings back no results, leaving the cell empty. 没有结果,将单元格留空。 Using
IFS
produces either an error or name, as does AND(, OR(, MATCH(, CHOOSE(
. 使用
IFS
产生错误或名称, AND(, OR(, MATCH(, CHOOSE(
。)
Any of your learned input will be greatly appreciated. 我们非常感谢您的任何学习输入。
your syntax is unusual. 你的语法很不寻常。 try:
尝试:
=ARRAYFORMULA(IF((Sheet2!C:C=C1)*(Sheet2!D:D=D1), "company: "&CHAR(10), ))
or with +
mimicking OR
: 或者用
+
模仿OR
:
=ARRAYFORMULA(IF((Sheet2!C:C=C1)+(Sheet2!D:D=D1), "company: "&CHAR(10), ))
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.