简体   繁体   English

如何在连接和转置的单元格之间获得逗号?

[英]How to get commas between concatenated and transposed cells?

I have a Google Form linked to a Google Sheet .我有一个链接到Google SheetGoogle 表单 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.在 H、I、J 列中,它将收集指定范围内单元格中的数据并将它们连接起来,以便于一目了然地阅读。

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),","))})

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 我怎样才能得到这个公式来获取逗号之间的值? - How can I get this formula to grab values between the commas? 将值包含逗号的列中的每一行拆分为转置行 - Split each row in a column whose value contains commas into transposed rows 如何将公式添加到已转置的单元格 - How to add formula to a cell that has been transposed 如何获取两张工作表之间一行中不匹配单元格的数量? - How do I get the count of non matching cells in a row between two sheets? 连接工作表中的一系列单元格后的额外逗号 - Extra commas after concatenating a range of cells in Sheet 获取两个日期时间单元格之间的差异 - Get the Difference between two date-time cells 获取选定范围内的值和行号,单元格之间有间隙? - Get a value and row number in selected range with gaps between cells? 如何将数据从一个单元格中的连接字符串获取到 Google 表格中的另一个表格? - How to get data from concatenated strings in one cell to another table in Google Sheets? 获取行之间的最大变化,忽略列表末尾的空单元格 - Get max change between rows, ignoring empty cells at end of list 如何按字符数(&lt;1000)分隔逗号分隔列表,但避免在逗号之间拆分单词? - How can I separate a comma separated list by character count (<1000) but avoid splitting the words between commas?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM