【问题标题】:Google Sheets: Formula that returns same number of rows based on cell valuesGoogle表格:根据单元格值返回相同行数的公式
【发布时间】:2022-01-06 14:03:57
【问题描述】:

我有一个用户列表和一个值,该值表示我想返回用户名的次数。

如何设置一个公式来帮助我输出这个?

【问题讨论】:

    标签: google-sheets split google-sheets-formula repeat flatten


    【解决方案1】:

    尝试:

    =INDEX(QUERY(FLATTEN(IFERROR(SPLIT(REPT(A2:A&"×"; B2:B); "×"))); 
     "where Col1 is not null"; ))
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-05-17
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多