The CONCAT function

Joins texts and ranges into one text. The & operator does the same for single cells.

Syntax

CONCAT(text1, [text2], ...)
text1
The first text, cell or range.
text2 (optional)
More texts or ranges.

Examples

D1=CONCAT(A2," ",B2)
ABCD
1FirstLastAnna Berg
2AnnaBerg

In plain words: Join the first name in A2, a space and the last name in B2.

D1=CONCAT(A2:B2)
ABCD
1FirstLastAnnaBerg
2AnnaBerg

Questions

Does CONCAT work in Google Sheets?

Only for two values. Google Sheets' CONCAT joins exactly two values and takes no ranges, so use CONCATENATE or TEXTJOIN there to join more.

Related functions