将特定列合并为 Google 个工作表中的一列

Combine specific columns into one column in Google sheets

我正在尝试转置 table 中的数据,以便转化类型全部堆叠在一列中并具有相应的值。请参阅此 sheet 中的示例:https://docs.google.com/spreadsheets/d/1OlQGGHnLiZFdSjbRS_2Fw7_Vhj8Z1WNZLpcZ6EWJPUA/edit?usp=sharing

使用:

=INDEX(SPLIT(QUERY(FLATTEN(IF(D2:F="",, A2:A&"×"&B2:B&"×"&C2:C&"×"&D1:F1&"×"&D2:F)), 
 "where Col1 is not null", 0), "×"))