The Excel CONCATENATE function concatenates (joins) join up to 30 text items together and returns the result as text. The CONCAT function replaces CONCATENATE in newer versions of Excel.
Join text together
Text joined together.
=CONCATENATE (text1, text2, [text3], ...)
text1 - The first text value to join together.
text2 - The second text value to join together.
text3 - [optional] The third text value to join together.
The CONCATENATE function concatenates (joins) join up to 30 text items together and returns the result as text. In the latest versions of Excel, CONCATENATE function is deprecated in favor of the CONCAT function, which is more flexible.
In the example shown, the following formula returns the string "Apples and Pears":
=CONCATENATE(B5," and ",C5)// returns "Apples and Pears"
When you concatenate dates, times, and other numeric values, you'll lose number formatting. Per the example shown, you can use the TEXT function to apply formatting like this:
The Excel CONCAT function concatenates (joins) values supplied as references or constants. Unlike the CONCATENATE function (which CONCAT replaces), CONCAT allows you to supply a range of cells to join, in addition to individual cell references.