In this article, we will learn How to use the CONCATENATE function in Excel.
What is concatenation ?
Joining things together is called concatenate and the process is known as concatenation. In Excel, concatenate is used to join two or more text values in different cells. For Example, joining the First name, middle name and last name to get the full name of employees in a table. Generally we use the & operator to add the value.
= "Chris"& " "&"Gayle" resulting to "Chris Gayle"
=CONCATENATE("Chris"," ","Gayle") resulting to "Chris Gayle" as result as above
Let's learn CONCATENATE function syntax and an example to illustrate the function usage as shown below.
CONCATENATE Function in Excel
CONCATENATE function in Excel joins different text values to one.
CONCATENATE Function Syntax:
|=CONCATENATE(text1, [text2], [text3], …)|
Here text1, text2, text3 are the values to be combined.
|Excel introduced a new function CONCAT to add values in the range like A2:D2 instead of adding individual values.
But it's only available in the Latest version of Office 365 and Excel 2019.
All of these might be confusing to understand. Let's understand how to use the function using an example. Here we have some text values in cells. And we need to join the A2, B2, C2 & D2 into one in the E2 cekk
Use the formula in E2 cell:
Press Enter to get the result.
Using the same formula in the E3 cell for the text "ABCD" to be in the cell.
As you can see we added values from the cells. We can also add values like strings or special characters in the function.
Now we need to add A4, B4, “.” and D4 cells.
Use the formula in E4 cell:
Now we need to add space in between the cell values.
Use the formula in E5 cell:
|=CONCATENATE(A5,B5," ",C5," ",D5)|
Press Enter to get the result.
You must be wondering here why we didn't use the range of cells together to concatenate values like A2:D2. Because the CONCATENATE function doesn't understand array references. Use the CONCAT function in Excel 365 or above versions.
Here are all the observational notes using the CONCATENATE function in Excel
Hope this article about How to use the CONCATENATE function in Excel is explanatory. Find more articles on joining text values and related Excel text formulas here. If you liked our blogs, share it with your friends on Facebook. And also you can follow us on Twitter and Facebook. We would love to hear from you, do let us know how we can improve, complement or innovate our work and make it better for you. Write to us at firstname.lastname@example.org.
Related Articles :
How to Use TRIM function in Excel: The TRIM function in Excel is used to trim strings and clean any trailing or leading spaces from string. This helps us in the cleaning process of data a lot.
How to use the CLEAN function in Excel: Clean function is used to clean up unprintable characters from the string. This function is mostly used with the TRIM function to clean up imported foreign data.
Replace text from end of a string starting from variable position: To replace text from the end of the string, we use the REPLACE function. The REPLACE function uses the position of text in the string to replace.
How to Check if a cell contains one of many texts in Excel: To find check if a string contains any of multiple text, we use this formula. We use the SUM function to sum up all the matches and then perform a logic to check if the string contains any of the multiple strings.
Count Cells that contain specific text: A simple COUNTIF function will do the magic. To count the number of multiple cells that contain a given string we use the wildcard operator with the COUNTIF function.
Excel REPLACE vs SUBSTITUTE function: The REPLACE and SUBSTITUTE functions are the most misunderstood functions. To find and replace a given text we use the SUBSTITUTE function. Where REPLACE is used to replace a number of characters in string…
Popular Articles :
How to use the IF Function in Excel : The IF statement in Excel checks the condition and returns a specific value if the condition is TRUE or returns another specific value if FALSE.
How to use the VLOOKUP Function in Excel : This is one of the most used and popular functions of excel that is used to lookup value from different ranges and sheets.
How to use the SUMIF Function in Excel : This is another dashboard essential function. This helps you sum up values on specific conditions.
How to use the COUNTIF Function in Excel : Count values with conditions using this amazing function. You don't need to filter your data to count specific values. Countif function is essential to prepare your dashboard.
The applications/code on this site are distributed as is and without warranties or liability. In no event shall the owner of the copyrights, or the authors of the applications/code be liable for any loss of profit, any problems or any damage resulting from the use or evaluation of the applications/code.