【问题标题】:Extract text regardless of the order无论顺序如何都提取文本
【发布时间】:2018-04-01 19:49:47
【问题描述】:

我在使用 Excel 时遇到问题 我有一列带有文本,我想根据这些条件提取字符串:对于包含“SAC”或“REC”的字符串,显示“n”,对于包含“ABC”的字符串,显示“y”

Like this

我尝试使用这些功能 IF.ERROR(find("ABC",S41), "y") 但是对于那些不符合条件的不显示我要求的值

【问题讨论】:

标签: excel extract


【解决方案1】:

试试这个,

=if(or(isnumber(find("REC", c4)), isnumber(find("SAC", c4))), "n", "")&if(isnumber(find("ABC", c4)), "y", "")

【讨论】:

    猜你喜欢
    • 2018-09-22
    • 2023-03-11
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-02-04
    • 2017-09-27
    • 2013-01-11
    • 1970-01-01
    相关资源
    最近更新 更多