Concatenate Text Data in Excel

3
Concatenate Text Data in Excel By Ted French , About.com Guide Combine Cells of Data in Excel Combine Cells of Data in Excel © Ted French Combine Cells of Data in Excel Excel's CONCATENATE function can be used to combine two or more cells of data together. For example, if first and last names in a database have been separated into two cells the CONCATENATE function can be used to combine both names into a single cell. Concatenate Function Syntax The syntax for the CONCATENATE function is: = CONCATENATE ( text1, text2, ... text255 ) Text1, text2, ... text255 can be words, cell references , blank spaces, or numbers. Up to 255 text entries can be added to the CONCATENATE function. Each entry must be separated by a comma. Excel's CONCATENATE Function Example Note: The concatenate function does not automatically leave a blank space between words or other data. To add a space between the concatenated data we will add a space to line Text 2 of the dialog box using the space bar on the keyboard .

description

excel

Transcript of Concatenate Text Data in Excel

Page 1: Concatenate Text Data in Excel

Concatenate Text Data in ExcelBy Ted French, About.com Guide

Combine Cells of Data in Excel

Combine Cells of Data in Excel

© Ted French

Combine Cells of Data in Excel

Excel's CONCATENATE function can be used to combine two or more cells of data together.

For example, if first and last names in a database have been separated into two cells the CONCATENATE function can be used to combine both names into a single cell.

Concatenate Function Syntax

The syntax for the CONCATENATE function is:

= CONCATENATE ( text1, text2, ... text255 )

Text1, text2, ... text255 can be words, cell references, blank spaces, or numbers.

Up to 255 text entries can be added to the CONCATENATE function. Each entry must be separated by a comma.

Excel's CONCATENATE Function Example

Note: The concatenate function does not automatically leave a blank space between words or other data. To add a space between the concatenated data we will add a space to line Text 2 of the dialog box using the space bar on the keyboard .

For help with this example, see the image above.

1. Enter the following data into specified cells:

Page 2: Concatenate Text Data in Excel

D1 - Staff Record D2 - Joe D3 - 555 - D4 - 567 E2 - Smith E3 - 1212 E4 - Main St.

2. Click on cell F2 - the location where the results of the function will be displayed.

3. Click on the Formulas tab.

4. Choose Text Functions from the ribbon to open the drop down list.

5. Click on CONCATENATE in the list to bring up the function's dialog box.

6. Click on line Text 1 in the dialog box.

7. Click on cell D2 in the worksheet to enter that cell reference into the dialog box.

8. Click on line Text 2 in the dialog box.

9. Press the space bar on the keyboard to add a space to line Text 2 (Excel will add double quotation marks around the space when we click on the next line).

10. Click on line Text 3 in the dialog box.

11. Click on cell E2 in the worksheet to enter that cell reference into the dialog box.

12. Click OK.

13. The concatenated text Joe Smith should appear in cell F2.

Page 3: Concatenate Text Data in Excel

14. Repeat steps 2 to 12 above to add the function to cells F3 and F4 or use the fill handle to copy the function from F2 to F3 and F4.

15. When you click on cell F2 the complete function = CONCATENATE(D2, " " ,E2) appears in the formula bar above the worksheet.