Google Sheets Text Join to join character from columns into row
问题 have data like this and want result like this using this formula: =ARRAYFORMULA(REGEXREPLACE(TRIM(SPLIT(TRANSPOSE(QUERY(QUERY( IF(D2:D<>"", {C2:C&"♠", D2:D&","}, ), "select max(Col2) where Col1 is not null group by Col2 pivot Col1") ,,999^99)), "♠")), ",$", )) make the result like this Can someone figure it out, How to fix this formula? Thanks 来源: https://stackoverflow.com/questions/62670569/google-sheets-text-join-to-join-character-from-columns-into-row