# How To Concatenate Two Columns In Excel – A Complete Guide

Friday, April 14th 2023. | Excel Templates

Excel is a versatile tool that can help you organize, manage, and analyze data efficiently. One of the common tasks that you may need to perform in Excel is to combine or concatenate two columns into one. In this article, we will discuss how to concatenate two columns in Excel in a step-by-step manner. We will also provide some tips, samples, and frequently asked questions related to this topic.

## Sample 1: Concatenating First and Last Names

Suppose you have a list of names in two separate columns, and you want to combine them into one column. Here’s how you can do it: 1. Select the cell where you want to place the concatenated result. 2. Type the formula “=A2&” “&B2” (assuming that the first name is in column A and the last name is in column B, and the data starts from row 2). 3. Press Enter. The result will be the concatenation of the first and last names, separated by a space. You can copy the formula to other cells by dragging the fill handle (the small square at the bottom-right corner of the cell).

## Sample 2: Concatenating Text and Numbers

Sometimes, you may need to concatenate text and numbers in Excel. Here’s an example: 1. Suppose you have a list of product codes in one column and their corresponding prices in another column. 2. You want to combine them into one column, separated by a hyphen. Here’s how you can do it: 1. Select the cell where you want to place the concatenated result. 2. Type the formula “=A2&”-“&B2” (assuming that the product code is in column A and the price is in column B, and the data starts from row 2). 3. Press Enter. The result will be the concatenation of the product code and price, separated by a hyphen. You can copy the formula to other cells by dragging the fill handle.

## Tips for Concatenating Two Columns in Excel

Here are some tips that can help you concatenate two columns in Excel more efficiently: 1. Use the “&” operator to concatenate two or more values. For example, “=A1&B1&C1” will concatenate the values in cells A1, B1, and C1. 2. Use the CONCATENATE function to concatenate more than two values. For example, “=CONCATENATE(A1,B1,C1)” will concatenate the values in cells A1, B1, and C1. 3. Use the CONCAT function (available in Excel 2016 and later versions) to concatenate more than two values. For example, “=CONCAT(A1,B1,C1)” will concatenate the values in cells A1, B1, and C1. 4. Use the TEXT function to format the concatenated result. For example, “=TEXT(A1,”dd/mm/yyyy”)&” “&B1” will concatenate the date in cell A1 (formatted as “dd/mm/yyyy”) and the text in cell B1.

### Q. How do I concatenate two columns in Excel without spaces?

A. To concatenate two columns without a space, use the “&” operator without any space between the values. For example, “=A1&B1” will concatenate the values in cells A1 and B1 without any space.

### Q. Can I concatenate more than two columns in Excel?

A. Yes, you can concatenate more than two columns in Excel using any of the methods mentioned above (i.e., “&” operator, CONCATENATE function, or CONCAT function). Just separate the values with the “&” operator or comma (in case of CONCATENATE or CONCAT function).

### Q. How do I add a separator between the concatenated values?

A. To add a separator between the concatenated values, use the “&” operator or CONCATENATE/CONCAT function with the separator enclosed in double quotes. For example, “=A1&”-“&B1” will concatenate the values in cells A1 and B1 with a hyphen (-) as the separator.

### Q. How do I concatenate text and numbers in Excel?

A. To concatenate text and numbers in Excel, use the “&” operator or CONCATENATE/CONCAT function. For example, “=A1&”-“&B1” will concatenate the text in cell A1 and the number in cell B1 with a hyphen as the separator.

### Q. How do I concatenate cells with conditional formatting in Excel?

A. To concatenate cells with conditional formatting in Excel, use the CONCATENATE or CONCAT function with the cell references as arguments. The concatenated result will inherit the formatting of the original cells.

### Q. How do I concatenate cells with line breaks in Excel?

A. To concatenate cells with line breaks in Excel, use the CHAR function with the value 10 as the argument to insert a line break. For example, “=A1&CHAR(10)&B1” will concatenate the values in cells A1 and B1 with a line break between them.

### Q. Can I use a formula to concatenate cells automatically when new data is added?

A. Yes, you can use a formula to concatenate cells automatically when new data is added by applying the formula to a range of cells instead of a single cell. When new data is added to the range, the formula will automatically update to concatenate the new data.

## Tags:

Excel, Concatenate, Two Columns, Tips, Samples, FAQ, Tutorial

tags: , ,