Search code examples
google-sheetsconcatenationarray-formulasflattengoogle-query-language

Dynamic data CONCATENATE inside ARRAYFORMULA in Google Sheets


I have a (dynamic) dataset in column A, which I need to be merged individually with each of the data in column B. I have tried combining CONCATENATE/SPLIT/TRANSPOSE... with no luck = (

As far as my poor knowledge let me see, the problem would be in the way CONCATENATE works, within the ARRAYFORMULA (!?)

Any ideas on how to get the desired result in column C ?? Thank you very much... in advance! =)

 1


Solution

  • try:

    =INDEX(QUERY(TRIM(FLATTEN(FILTER(A:A; A:A<>"")&" "&
     TRANSPOSE(FILTER(B:B; B:B<>"")))); "where Col1 is not null"))