【问题标题】:Vlookup, Hlookup to find and concatenate values in matrix in google sheetsVlookup,Hlookup 在谷歌表格中查找和连接矩阵中的值
【发布时间】:2020-05-10 20:14:08
【问题描述】:

问题: 工作表 1 应将连接值返回到工作表 1 中也包含的某个索引。 应在工作表 2 中搜索此值。

就我而言:工作表 1 在 B 列中包含一个字符串(例如“Demos - Sales Gespräche mit Leads”)。现在我想在工作表 2 的矩阵中查找该值,然后归还包含该值的列的所有列标题(“Demos - Sales Gespräche mit Leads”)。 在我的示例中,分配给特定工作的人会有几个名字。

这是一个示例表: https://docs.google.com/spreadsheets/d/1Q3CrdNbWyVwUAnODwBA7G05FSPLThBHHlWMItt6PNDc/edit?usp=sharing

可能的解决方案: concatenate、vlookup、index 和 hlookup 的某种组合。我只是想不出该怎么做。

谢谢

【问题讨论】:

    标签: if-statement google-sheets google-sheets-formula array-formulas textjoin


    【解决方案1】:

    粘贴到需要的地方并向下拖动:

    =ARRAYFORMULA(IFERROR(TEXTJOIN(", ", 1, 
     IF('Sheet 2'!$A$2:$Z=B2, 'Sheet 2'!$A$1:$Z$1, ))))
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2015-12-27
      • 1970-01-01
      • 2012-02-22
      • 1970-01-01
      • 2017-12-04
      • 1970-01-01
      • 2021-09-23
      相关资源
      最近更新 更多