Google电子表格错误文本结果的文本结果长于50000个字符的极限

发布于 2025-01-30 11:01:05 字数 231 浏览 4 评论 0原文

我试图将细胞组合并在一个细胞中显示,因为每个细胞都包含分开的产品skus逗号。需要在同一列中将这些细胞与分离池中的逗号分离器相结合。 为此,我正在使用,

=TEXTJOIN(",",TRUE, G5,G10,G19,G27,G39,G46,G59)

但会出现错误:

文本Join的文本结果比50000个字符的极限长。

I am trying to combine cells and show in one cell as each cell contains product skus comma seperated. Need to combine these cells with comma seperator in seperate cell in same column.
For this i am using

=TEXTJOIN(",",TRUE, G5,G10,G19,G27,G39,G46,G59)

But getting error:

Text result of TEXTJOIN is longer than the limit of 50000 characters.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

眼泪都笑了 2025-02-06 11:01:05

使用查询(这是唯一的方法):

=QUERY({G5;G10;G19;G27;G39;G46;G59}&",";;9^9)

或:

=QUERY({QUERY({G5;G10;G19;G27;G39;G46}&",";;9^9); G59};;9^9)

use query (that's the only way):

=QUERY({G5;G10;G19;G27;G39;G46;G59}&",";;9^9)

or:

=QUERY({QUERY({G5;G10;G19;G27;G39;G46}&",";;9^9); G59};;9^9)
赏烟花じ飞满天 2025-02-06 11:01:05

根据 @player0的答案以及他对“查询在每个单元格之间添加一个空白空间”的评论,您可以使用arrayformulasplit替换函数以操纵查询函数的输出。

= arrayformula(split(split(QUERY({g5; g10; g19; g19; g27; g39; g46; g46; g59}&“@@@@@@@@@@@@@@@9^9),“ @@@@@@@” ,“”),“ @@@@”))

通过设置一个独特的可能(在数据中存在较低的机会)字符,例如“ @@@@@@”,然后在之后添加空间它(例如,“ @@@@”),您可以代替空价值(例如,“”)。但是,最后,它将保留一个“ @@@@@”,而无需空间。为了解决这个问题,您可以将其拆分并仅获取第一部分。

该公式还将达到替代限制,但是它可以维持50000多个字符。

According to @player0's answer and his comment about "query adds one empty space between each cell", you can use the ARRAYFORMULA, SPLIT, and SUBSTITUTE functions to manipulate the output of the QUERY function.

=ARRAYFORMULA(SPLIT(SUBSTITUTE(QUERY({G5;G10;G19;G27;G39;G46;G59}&"@@@@@",,9^9),"@@@@@ ",""),"@@@@@"))

By setting a unique possible (with lower chance to exists in your data) character, such as "@@@@@", and adding the space after it (e.g., "@@@@@ "), you can substitute for an empty value (e.g., ""). However, in the end, it will keep one "@@@@@" without space. To solve this, you can split it and get the first part only.

This formula will also achieve a SUBSTITUTE Limitation, however, it can sustain a little more than 50000 characters.

野の 2025-02-06 11:01:05

板单元不得超过50,000个字符:

当您将文档从Excel转换为Google表格时,任何具有超过50,000个字符的单元格都将在表中删除。

我建议您将数据分为几个单元格。

参考:

A Sheets cell cannot have more than 50,000 characters:

When you convert a document from Excel to Google Sheets, any cell with more than 50,000 characters will be removed in Sheets.

I'd suggest you to split your data into several cells.

Reference:

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文