标签: google-sheets transpose google-sheets-formula array-formulas google-sheets-query
我有一张工作表,上面有这样的数据:
Timestamp1 Value1 Value2 Value3 Timestamp2 Value1
如何设置数组公式/查询/等?在Google表格中将数据格式化为:
Timestamp1 Value1 Timestamp1 Value2 Timestamp1 Value3 Timestamp2 Value1
答案 0 :(得分:1)
=ARRAYFORMULA(TRIM(SPLIT(TRANSPOSE(SPLIT(QUERY(TRANSPOSE(QUERY(TRANSPOSE( IF(B1:D<>"", "♠"&A1:A&"♦"&B1:D, )),,999^99)),,999^99), "♠")), "♦")))