【问题标题】:Display query result in one row instead of two column Google Sheets在一行而不是两列 Google 表格中显示查询结果
【发布时间】:2021-12-30 15:47:46
【问题描述】:
=QUERY('BETA - Orders'!$D:$U,"Select Q,K where D='"& I228 &"' and Q is not null and D is not null",0)

我想只在一列而不是两行中显示结果。上面查询的结果是

我想要完成的是

【问题讨论】:

    标签: google-sheets filter flatten google-query-language


    【解决方案1】:

    尝试:

    =QUERY(FLATTEN(QUERY('BETA - Orders'!$D:$U,
     "select Q,K 
      where D='"&I228&"' 
        and Q is not null 
        and D is not null", 0)), 
     "where Col1 is not null", 0)
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2021-09-01
      • 2020-03-21
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多