筛选包含特定单词的单元格如何操作?

huangapple go评论94阅读模式
英文:

How to filter out cells that contain specific words?

问题

有没有一种方法可以使用“筛选”功能来过滤掉包含单词“_design”和“_obdm”的单元格?

英文:

Is there a way to use the "Filter" feature to filter out cells that contain the words "_design" and "_obdm"?

筛选包含特定单词的单元格如何操作?

So that the cells that are left will be:

筛选包含特定单词的单元格如何操作?

答案1

得分: 1

如果您希望通过公式来执行此操作,可以尝试以下公式:

=FILTER(A2:A10,BYROW(ISNUMBER(SEARCH({"Design","obdm"},A2:A10)),LAMBDA(x,NOT(OR(x))))

筛选包含特定单词的单元格如何操作?

英文:

If you can wish to do it by formula then could try-

=FILTER(A2:A10,BYROW(ISNUMBER(SEARCH({"Design","obdm"},A2:A10)),LAMBDA(x,NOT(OR(x)))))

筛选包含特定单词的单元格如何操作?

答案2

得分: 1

你可以将筛选器设置为文本筛选器,然后选择“文本不包含”并键入“design”和“obdm”。

筛选包含特定单词的单元格如何操作?

激活筛选器后,您将获得

筛选包含特定单词的单元格如何操作?

英文:

You can set the filter to text filter, then select "text does not contain" and type "design" and "obdm"

筛选包含特定单词的单元格如何操作?

after activating the filter you will get

筛选包含特定单词的单元格如何操作?

答案3

得分: 1

  • 它将允许单个条件或一组条件(REDUCE 不关心)。
=LET(Data, A2:A9, Criteria, {"_design"; "_obdm"},
    Ones, SEQUENCE(ROWS(Data),,,0),
    cData, REDUCE(Ones, Criteria,
        LAMBDA(Seq, Crit, Seq*ISERROR(SEARCH(Crit, Data)))),
FILTER(Data, cData))

筛选包含特定单词的单元格如何操作?

英文:

Filter Column of Data (REDUCE)

  • It will allow a single criterion or an array (range) of criteria (REDUCE doesn't care.).
=LET(Data,A2:A9,Criteria,{"_design";"_obdm"},
    Ones,SEQUENCE(ROWS(Data),,,0),
    cData,REDUCE(Ones,Criteria,
        LAMBDA(Seq,Crit,Seq*ISERROR(SEARCH(Crit,Data)))),
FILTER(Data,cData))

筛选包含特定单词的单元格如何操作?

huangapple
  • 本文由 发表于 2023年2月10日 12:50:02
  • 转载请务必保留本文链接:https://go.coder-hub.com/75407078.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定