Combining Two Cells in Excel: A Step-by-Step Guide

In Excel, you might often find yourself needing to combine the content of two cells into one. This could be to create a new column based on existing data, or to merge data from two cells into one for further analysis. Here's a simple, step-by-step guide on how to combine two cells in Excel, using both manual and automatic methods.

Manual Method: Using the & Operator
The most straightforward way to combine two cells in Excel is by using the ampersand (&) operator. This method is ideal when you want to concatenate text from two cells. Here's how to do it:

- In the cell where you want the combined data to appear, type an equals sign (=).
- Select the first cell you want to combine. For example, if it's cell A1, just type A1.
- Type an ampersand (&).
- Select the second cell you want to combine. For example, if it's cell B1, type B1.
Press Enter, and you should see the contents of both cells combined in the cell where you typed the formula. For example, if cell A1 contains "Hello" and cell B1 contains "World", the result will be "HelloWorld".

Automatic Method: Using the CONCATENATE Function
If you need to combine cells automatically, you can use the CONCATENATE function. This function is particularly useful when you want to combine cells that contain both text and numerical data. Here's how to use it:
- In the cell where you want the combined data to appear, type an equals sign (=).
- Type "CONCATENATE".
- Open a parenthesis ().
- Select the first cell you want to combine. For example, if it's cell A1, just type A1.
- Type a comma (,).
- Select the second cell you want to combine. For example, if it's cell B1, type B1.
- Close the parenthesis ().

Press Enter, and you should see the contents of both cells combined in the cell where you typed the formula. For example, if cell A1 contains "Hello" and cell B1 contains "123", the result will be "Hello123".
Automatic Method: Using the CONCAT Function (Excel 2016 and Later)
In Excel 2016 and later versions, you can use the CONCAT function, which is a simpler alternative to the CONCATENATE function. Here's how to use it:

- In the cell where you want the combined data to appear, type an equals sign (=).
- Type "CONCAT".
- Open a parenthesis ().
- Select the first cell you want to combine. For example, if it's cell A1, just type A1.
- Type a comma (,).
- Select the second cell you want to combine. For example, if it's cell B1, type B1.
- Close the parenthesis ().
Press Enter, and you should see the contents of both cells combined in the cell where you typed the formula. The CONCAT function works similarly to the CONCATENATE function, but it's easier to use and understand.




















Automatic Method: Using the TEXTJOIN Function (Excel 2019 and Later)
Introduced in Excel 2019, the TEXTJOIN function is another powerful tool for combining cells. It's particularly useful when you want to combine data from multiple cells into a single cell, with a specified delimiter. Here's how to use it:
- In the cell where you want the combined data to appear, type an equals sign (=).
- Type "TEXTJOIN".
- Open a parenthesis ().
- Specify the delimiter you want to use. For example, if you want to use a comma as the delimiter, type ",".
- Type a comma (,).
- Select the first cell you want to combine. For example, if it's cell A1, just type A1.
- Type a comma (,).
- Select the second cell you want to combine. For example, if it's cell B1, type B1.
- Close the parenthesis ().
Press Enter, and you should see the contents of both cells combined in the cell where you typed the formula, with the specified delimiter. For example, if you use a comma as the delimiter, and cell A1 contains "Hello" and cell B1 contains "World", the result will be "Hello,World".
Combining Cells Based on Conditions
Sometimes, you might want to combine cells based on certain conditions. For example, you might want to combine cells only if they contain certain text or numerical values. To do this, you can use the IF function in combination with the CONCATENATE, CONCAT, or TEXTJOIN functions. Here's an example using the CONCAT function:
- In the cell where you want the combined data to appear, type an equals sign (=).
- Type "IF".
- Open a parenthesis ().
- Specify the condition. For example, if you want to combine cells only if the first cell contains the text "Hello", type "A1="Hello"".
- Type a comma (,).
- Type "CONCAT".
- Open another parenthesis ().
- Select the first cell you want to combine. For example, if it's cell A1, just type A1.
- Type a comma (,).
- Select the second cell you want to combine. For example, if it's cell B1, type B1.
- Close the parenthesis ().
- Close the parenthesis ().
Press Enter, and you should see the contents of both cells combined in the cell where you typed the formula, but only if the specified condition is met. For example, if cell A1 contains "Hello" and cell B1 contains "World", the result will be "HelloWorld". If cell A1 contains anything other than "Hello", the result will be an empty cell.
Combining two cells in Excel can be a powerful tool for data manipulation and analysis. Whether you're using the ampersand operator, the CONCATENATE, CONCAT, or TEXTJOIN functions, or the IF function in combination with these, you can easily combine cells to create new data or to prepare your data for further analysis. With a little practice, you'll be combining cells like a pro in no time!