Combining Text Cells in Excel: A Comprehensive Guide

Excel is a powerful tool for data analysis and manipulation, and one common task many users encounter is the need to combine text from multiple cells into a single cell. Whether you’re working with names, addresses, or any other type of data, this guide will provide you with a variety of methods to achieve this task efficiently.
Method 1: Concatenate with Ampersand (&)
The simplest way to combine text cells is by using the ampersand (&) operator. This method allows you to connect text strings together with a specified delimiter. Here’s how:
- Select the cell where you want the combined text to appear.
- Enter the formula:
=A2&" "&B2
, replacingA2
andB2
with the actual cell references. - Press Enter, and the text from both cells will be combined with a space in between.
Method 2: CONCAT Function
The CONCAT function is a modern alternative to the ampersand method, offering a more straightforward approach. It allows you to join multiple text strings together.
To use the CONCAT function:
- Select the cell for the combined text.
- Enter the formula:
=CONCAT(A2, " ", B2)
, adjusting the cell references as needed. - Press Enter, and the function will merge the text from both cells with a space.
Method 3: TEXTJOIN Function
The TEXTJOIN function is similar to CONCAT but provides more flexibility. It allows you to specify a delimiter and ignore empty cells.
- Choose the cell for the combined result.
- Use the formula:
=TEXTJOIN(" ", TRUE, A2:B2)
, adjusting the range as required. - Press Enter, and the function will join the text, excluding empty cells and using a space as a delimiter.
Method 4: Flash Fill
Flash Fill is a handy feature in Excel, especially for simple data manipulation. It automatically detects patterns and fills in the remaining cells based on that pattern.
- Type the combined text for the first row manually.
- Select the cell below and start typing the second row’s combined text.
- Excel will suggest a pattern; press Enter to accept it, and the feature will fill in the remaining cells.
Method 5: Power Query
Power Query is a powerful tool for data transformation. You can use it to combine text from multiple columns.
- Select the data range and go to Data > From Table/Range.
- In the Power Query Editor, select the columns you want to combine.
- Use the Combine Columns feature to join the selected columns.
- Close and Load the query to see the combined results in a new worksheet.
Method 6: VBA Macro
For more complex or repetitive tasks, you can use VBA macros to automate the process of combining text cells.
- Open the VBA Editor (Alt + F11).
- Create a new module and paste the following code:
Sub CombineTextCells()
Dim rng As Range
Set rng = Application.Selection
Set rng = Application.InputBox("Select range:", "Combine Text Cells", rng.Address, Type:=8)
rng.FormulaR1C1 = "=TEXTJOIN("" "", TRUE, RANGE(rng.Address))"
End Sub
- Run the macro, and it will combine the selected range of cells using the TEXTJOIN function.
Method 7: Merge Cells
If you only need to combine text horizontally, you can use the Merge & Center feature.
- Select the cells you want to merge.
- Go to Home > Merge & Center.
- The selected cells will be merged into one cell with the combined text.
Method 8: Text to Columns
The Text to Columns feature can be useful when you have data in a single cell separated by a specific delimiter.
- Select the cell with the combined text.
- Go to Data > Text to Columns.
- Choose Delimited and specify the delimiter used in the combined text.
- Click Finish to split the text into separate columns.
Method 9: Formulas with IF and LEFT/RIGHT Functions
You can use the IF function along with the LEFT and RIGHT functions to combine text based on specific conditions.
- Select the cell for the combined result.
- Use the formula:
=IF(A2<>"", A2&" "&B2, B2)
, adjusting the cell references. - Press Enter, and the formula will combine the text based on the condition.
Method 10: Excel Table with Formulas
If you have a large dataset, using an Excel Table with formulas can be efficient.
- Convert your data range into an Excel Table.
- Add a new column to the table and use the CONCAT or TEXTJOIN function to combine the desired columns.
Method 11: Power Pivot
Power Pivot is an advanced tool for data modeling and analysis. You can use it to combine text from multiple columns.
- Load your data into a Power Pivot model.
- Create a new calculated column and use the CONCATENATEX function to combine the desired columns.
Method 12: Excel Formulas with REPT Function
The REPT function can be used to repeat a text string a specified number of times. You can use it to combine text with a delimiter.
- Select the cell for the combined result.
- Use the formula:
=A2&REPT(" ", LEN(B2))&B2
, adjusting the cell references. - Press Enter, and the formula will combine the text with a space delimiter.
Notes:
- Always make a backup copy of your data before attempting complex operations.
- Some methods may work better for specific scenarios; choose the one that suits your needs.
- Excel’s online version may have limited access to certain features.
Final Thoughts

Combining text cells in Excel is a common task, and having multiple methods at your disposal ensures you can choose the most efficient approach for your data. Whether you prefer built-in functions, VBA macros, or advanced tools like Power Pivot, Excel offers a wide range of options to meet your needs.
Can I combine text cells without using formulas or functions?
+Yes, you can use the Merge & Center feature or Flash Fill to combine text cells without formulas.
What if I want to combine text with a custom delimiter?
+You can use the CONCAT or TEXTJOIN functions and specify your custom delimiter within the formula.
Can I combine text from non-adjacent cells?
+Yes, you can use the CONCAT or TEXTJOIN functions to combine text from non-adjacent cells.
Are there any online tools to combine text cells in Excel?
+Yes, there are online Excel editors and add-ins that provide text-combining features.