Neha is a software professional who specializes in ServiceNow Customization and Implementation. She likes writing tutorial articles.
The dictionary definition of the term concatenate is "to link (things) together in a chain or series." In Excel, we use the Concatenate formula/function to combine the data in multiple columns into a single column.
The formula is written as Concatenate(Text1, Text2,....).
The texts between the parentheses is the data that is to be concatenated. They refer to the cells containing the texts.
1. Let us take some sample data in an Excel sheet and concatenate the data from columns A and B into column C.
2. Click on the first cell in column C to insert the formula for concatenating.
3. There are two ways to insert a formula in the cell.
- Select from the Formula Menu in the top header.
- Type the formula in directly, preceded by an "=" symbol.
3a. Inserting the formula using the formula builder menu.
From the top header menu, go to Formulas > Text > Concatenate.
3b. Click on the first cell in Column C, type the "=" sign and start typing the name of the formula, i.e., concatenate. A menu of formulas appears and you can select concatenate from the list.
4. When you click on concatenate, the formula is added in the cell and the formula builder appears on the right-hand side of the screen.
5. Click on the first cell in column A, "A1" appears in the text1 field of the formula builder.
Alternatively, you can type "A1" as the first argument in your formula directly as =Concatenate("A1").
6. Click on the first cell in Column B, "B1" appears in the text2 field of the formula builder.
Alternatively, you can type "B1" as the second argument in your formula directly as =Concatenate("A1","B1").
7. Click on the Done button in the formula builder to get the concatenated result in the first cell of column C.
Alternatively, you can just hit enter after you are done typing the formula directly in the cell to see the concatenated result.
8. To concatenate the remaining cells in the Excel sheet, you just need to take the cursor to the bottom right corner of the cell C1. Drag it down till the end of the data so that the formula is copied into all the cells.
9. To concatenate more columns, use the '+' symbol in the formula builder and add more columns to concatenate.
10. If you want to add an empty space between the columns in the concatenated data, add an empty space between quotes as Text2 and the data to be concatenated as Text1 and Text3 respectively:
Text1 = A1
Text2 = " "
Text3 = B1
Alternatively, you can type "A1" as the first argument, " " as the second argument and "B1" as the third argument in your formula directly like =Concatenate("A1"," ","B1").
This results in a concatenated string in column C, with a space in between the column A and column B data.
This article is accurate and true to the best of the author’s knowledge. Content is for informational or entertainment purposes only and does not substitute for personal counsel or professional advice in business, financial, legal, or technical matters.
© 2017 Petite Hubpages Fanatic