【问题标题】:Google Sheets: Index Match with Duplicates and Ignoring BlanksGoogle 表格:索引匹配重复项并忽略空白
【发布时间】:2022-12-12 01:33:50
【问题描述】:

我有一个包含多种文本和多种语言的翻译表。

文本出现多次,有时语言栏也出现多次。

我想创建一个表,每个文本都有一个翻译(可以是第一个可用的)。

我正在尝试使用索引、匹配公式,但无法弄清楚如果单元格最终为空,如何搜索下一个选项。

示例:https://docs.google.com/spreadsheets/d/1ShPiCYu-ujhVj8i6CT0ke5tEI5Yigdq7vL12uzG25DI/edit?usp=sharing

【问题讨论】:

标签: google-sheets google-sheets-formula


【解决方案1】:

鉴于您示例中的表格,以下内容提供了所需的输出:

=arrayformula(query(split(flatten(B3:E3&"|"&A5:A11&"|"&B5:E11),"|"),"select Col2,max(Col3) group by Col2 pivot Col1",0))

【讨论】:

    猜你喜欢
    • 2019-07-20
    • 1970-01-01
    • 2020-08-16
    • 2011-12-18
    • 2018-11-23
    • 1970-01-01
    • 2021-05-31
    • 1970-01-01
    • 2013-12-20
    相关资源
    最近更新 更多