【问题标题】:How do I search one list of words in another showing matches?如何在另一个显示匹配项中搜索一个单词列表?
【发布时间】:2023-02-17 00:10:04
【问题描述】:

早上好,

我需要得到以下信息:

我想搜索以下组:

第一集团 2组

以下用户中: enter image description here

这给了我以下结果:

enter image description here

可以这样做吗?

提前致谢

【问题讨论】:

    标签: arrays excel excel-formula


    【解决方案1】:

    使用您提供的示例(假设您使用的是 Excel 2019、2021 或 365)在单元格 D2 中并向下复制:

    =TEXTJOIN(" y ",TRUE,REPT({"Grupo 1","Grupo 2"},COUNTIF(C2,"*"&{"Grupo 1","Grupo 2"}&"*")))
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-11-23
      • 2023-04-01
      • 1970-01-01
      相关资源
      最近更新 更多