Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/file/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Google sheets 同时使用逗号和引号提取列表_Google Sheets - Fatal编程技术网

Google sheets 同时使用逗号和引号提取列表

Google sheets 同时使用逗号和引号提取列表,google-sheets,Google Sheets,我在谷歌电子表格中的一列中得到了一个文本字符串列表,我想将其提取出来,用逗号分隔值,并用引号分隔它们,方法是:“…”、“…”、“…”、“…”、“…” 现在我知道了如何用逗号分隔值,公式如下: =arrayformula(concatenate(filter(a2:a;a2:a<>"")&", ")) 谢谢大家! =arrayformula(串联(过滤器(字符(34))和a2:a和字符(34);a2:a“”)和“,”) =arrayformula(concatenate(fi

我在谷歌电子表格中的一列中得到了一个文本字符串列表,我想将其提取出来,用逗号分隔值,并用引号分隔它们,方法是:“…”、“…”、“…”、“…”、“…” 现在我知道了如何用逗号分隔值,公式如下:

=arrayformula(concatenate(filter(a2:a;a2:a<>"")&", "))
谢谢大家!

=arrayformula(串联(过滤器(字符(34))和a2:a和字符(34);a2:a“”)和“,”)
=arrayformula(concatenate(filter(char (34)&a2:a&char (34);a2:a<>"")&", "))

它可以工作!多谢各位@pnuts我将使用
REGEX
。比较长的对长度加倍?编号
=arrayformula(REGEXREPLACE(连接(过滤器(字符(34))和A2:A和字符(34),A2:A”“,”,“(.*),$”,“$1”))
@pnuts稍长一点:
arrayformula(替代(连接(过滤器(字符(34)和A2:A和字符(34),A2:A”“,”,“,”,”,“,”,COUNTA(A2:A))
=arrayformula(concatenate(filter(char (34)&a2:a&char (34);a2:a<>"")&", "))