Returns the concatenation of two values. Equivalent to the `&` operator. Learn more
In Google Sheets, the CONCAT function is used to concatenate or join multiple values together into a single string. The function syntax is as follows:
CONCAT(value1, value2)
"value1" and "value2" are the values or cell references that you want to concatenate. Here's an example to demonstrate how to use the CONCAT function:
Suppose you have the text "Hello" in cell A1 and the text "world" in cell B1. In cell C1, you can use the formula:
=CONCAT(A1, " ", B1)
The CONCAT function will concatenate the values in cells A1 and B1, separated by a space, and return the result in cell C1. In this case, the result would be "Hello world".
You can concatenate more than two values by including additional parameters separated by commas. For example, to concatenate three values in cells A1, B1, and C1, you can use the formula:
=CONCAT(A1, " ", B1, " ", C1)
The CONCAT function allows you to combine text from different cells or include additional text within the formula using quotation marks.