描述

Combines the text from multiple ranges and/or strings, but it doesn't provide the delimiter or IgnoreEmpty arguments. To include delimiters (such as spacing or ampersands (&) between the texts you want to combine and to remove empty arguments you don't want to appear in the combined text result, you can use the TEXTJOIN Function.

在Excel 2016中,CONCAT函数替换了CONCATENATE函数。

语法

CONCAT (text1, [text2] ...)

争论

Argument 描述 Required/Optional
text1 Text item to be joined. A string, or array of strings, such as a range of cells. Required
Text2, ...

要加入的其他文本项。

文本项最多可以包含253个文本参数。

每个都可以是一个字符串或字符串数​​组,如一系列单元格。

Optional

Notes

  • 使用逗号分隔相邻的文本项。

  • 单独的文本条目之间没有指定的空格,这些文本条目将一起运行。您可以通过两种方式将多余的空格添加为CONCATENATE公式的一部分-

    • 在双引号之间添加一个空格""

    • 在Text参数后添加空格

  • 如果输出字符串超过32767个字符(单元格限制),则CONCAT返回#VALUE!错误。

适用性

Excel 2016

Example

CONCAT Function

参考链接

https://www.learnfk.com/javascript/advanced-excel-statistical-concat-function.html