使用搜索格式检查两个单元格

时间:2017-01-19 16:00:34

标签: excel excel-formula

我正在试图找出一个公式,它将检查两个包含SEARCH的单元格中的两个东西。我做了这个并没有用。我将AND更改为OR并且它正在工作并给我1的响应(即我确保其他工作簿中的数据具有测试此数据的数据。我缺少什么?

=IF(AND(ISNUMBER(SEARCH({"attach*","restart","shut down","shutdown","reboot","out of rotation","power off","ripple start","kill","break mirror","stop* service","service stop*"},'RFC Data'!AP4)),'RFC Data'!L4="No"),1,"")

1 个答案:

答案 0 :(得分:1)

将搜索包装在sumproduct中并测试返回值是否大于0:

Intent myIntent = new Intent(MainActivity.this, newActivity.class);
startActivity(myIntent);
finish();