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 -

how to prompt save As Box in Excel Interlop c# MVC 4 -

xslt 1.0 - How to access or retrieve mets content of an item from another item? -