The Concatenate Function - Notes
The Concatenate Function - Notes
This Excel tutorial explains how to use the Excel CONCATENATE function with syntax and
examples.
Description
The Microsoft Excel CONCATENATE function allows you to join 2 or more strings together.
Syntax
The syntax for the CONCATENATE function in Microsoft Excel is:
CONCATENATE( text1, text2, ... text_n )
Parameters or Arguments
text1, text2, ... text_n
The strings that you wish to join together. There can be up to 255 strings that are joined
together, up to a maximum of 8,192 characters.
Applies To
The CONCATENATE function can be used in the following versions of Microsoft Excel:
Excel 2013, Excel 2011 for Mac, Excel 2010, Excel 2007, Excel 2003, Excel XP, Excel 2000
When you are concatenating values together, you might want to add space characters to
separate your concatenated values. Otherwise, you might get a long string with the
concatenated values running together. This makes it very difficult to read the results.
Based on the Excel spreadsheet above, we can concatenate a space character within the
CONCATENATE function as follows:
=CONCATENATE(A1, " ", A2)
Result: "TechOnTheNet.com resource"
In this example, we have used the second parameter within the CONCATENATE function to add
a space character between the values in cell A1 and cell A2. This will prevent our values from
being squished together.
Instead our result would appear as follows:
"TechOnTheNet.com resource"
Here, we have concatenated the values from the two cells (A1 and A2), separated by a space
character.
Since the parameters within the CONCATENATE function are separated by quotation marks
when they are string values, it isn't straight forward how to add a quotation mark character
within the result of the CONCATENATE function.
Let's start with a fairly easy example that shows how to add a quotation mark to the resulting
string using the CONCATENATE function.
Based on the Excel spreadsheet above, we can concatenate a quotation mark as follows:
=CONCATENATE("One ", """", " Two")
Result: One " Two
In this example, we have used the second parameter within the CONCATENATE function to add
a quotation mark into the middle of the resulting string.
Since our parameters are enclosed in quotation marks, we use 2 additional quotation marks
within the surrounding quotation marks to represent a quotation mark in our result as follows:
""""
Then when you put the whole function call together:
=CONCATENATE("One ", """", " Two")
You will get the following result:
One " Two
……………………………………………………………………………………………………………………………………………………
WATCH YOU-TUBE VIDEO ON CONCATENATE FUNCTION, COP AND PASTE LINK BELOW:
https://www.youtube.com/watch?v=8ZxFgH7hLeM