简体   繁体   中英

How to get commas between concatenated and transposed cells?

I have a Google Form linked to a Google Sheet . It has a number of questions with responses that I need grouped into specific columns. I also need to keep the columns in the order they're in.

I was working with a formula someone helped me with to do one single range:

=ARRAYFORMULA({"Job Responsibilities";IF(A2:A="",,TRIM(TRANSPOSE(QUERY(TRANSPOSE(K2:V),,100))))})

In Columns H, I, J, it will gather the data in the cells within specified ranges and concatenate them for easier reading at a glance.

I was hoping to find a way to separate the different entries with a comma so that the different values could be picked out easier.

Is there an extra function I can add to my formula in order to separate values with a comma?

试试这个细微的变化。

=ARRAYFORMULA({"Job Responsibilities";IF(A2:A="",,SUBSTITUTE(TRIM(TRANSPOSE(QUERY(TRANSPOSE(K2:V&CHAR(10)),,100))),CHAR(10),","))})

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM