Combine specific columns into one column in Google sheets

Viewed 74
1 Answers

use:

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

enter image description here

Related