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

Popular posts from this blog

c# - Binding a comma separated list to a List<int> in asp.net web api -

Delphi 7 and decode UTF-8 base64 -

html - Is there any way to exclude a single element from the style? (Bootstrap) -