How to join rows and cols in google spread sheets -
here 4 cells this.
b 1 b 2 c d
i want join them , , ¥n.
c1 => a,b¥nc,d
how can functions google spread sheets have , without javascript? https://support.google.com/docs/table/25273?hl=en
see if works:
=arrayformula(substitute(join("¥n", query(trim(transpose(a1:b2)),,rows(a1:a2)))," ", ", "))
- the query() creates output of 2 cells values of each row joined, separated space. (note use of optional headers argument, set number of rows.
- then these 2 cells joined "¥n".
- finally spaces substituted comma.
Comments
Post a Comment