How to combine text from two columns in excel
Tutor 5 (54 Reviews)
Excel Tutor
Still stuck with a Excel question
Ask this expertAnswer
To combine text from two columns in Excel, you can use several methods depending on your version of Excel and the desired output format. Combining text is also called “concatenation.”
1. Using the Ampersand (&) Operator
A simple way to join text from two columns is by using the & symbol.
Steps:
-
Select the cell where you want the combined text to appear.
-
Enter the formula:
=A1 & B1
This combines the text in cell
A1andB1directly. -
Press Enter.
-
Drag the fill handle down to apply the formula to other rows.
Example:
-
Column A:
John -
Column B:
Doe -
Formula:
=A1 & " " & B1 -
Result:
John Doe
Adding " " ensures there is a space between the first and last names.
2. Using the CONCAT Function
The CONCAT function is a modern replacement for CONCATENATE in recent Excel versions.
Steps:
-
Select the cell for the result.
-
Enter the formula:
=CONCAT(A1, " ", B1)
-
Press Enter.
-
Fill down the formula to other cells.
Example:
-
=CONCAT(A1, " - ", B1)results inJohn - Doe
This allows custom separators between text.
3. Using the TEXTJOIN Function
TEXTJOIN is useful when combining multiple columns with a delimiter and ignoring empty cells.
Steps:
-
Select the result cell.
-
Enter the formula:
=TEXTJOIN(" ", TRUE, A1, B1)
-
" "is the delimiter. -
TRUEignores empty cells.
-
-
Press Enter.
-
Copy the formula to other rows.
Example:
-
If
A2is empty andB2containsSmith, the result isSmithinstead of leaving a double space.
4. Using Flash Fill (No Formula Needed)
Excel can automatically fill combined text using Flash Fill.
Steps:
-
Type the combined text manually in the first cell (e.g.,
John Doe). -
Start typing the second row. Excel will suggest the pattern.
-
Press Enter to accept the suggestion.
-
Alternatively, go to Data → Flash Fill or press Ctrl + E.
Key Notes
-
Use
&for quick, simple combinations. -
Use
CONCATfor flexible formulas in newer Excel versions. -
Use
TEXTJOINwhen dealing with multiple columns or ignoring blanks. -
Flash Fill is practical for non-formula solutions.
Get Online Tutoring or Questions answered by Experts.
You can post a question for a tutor or set up a tutoring session
Answers · 1
Why are margins not working
Answers · 1
Why is page layout not working
Answers · 1
How to print repeated rows on top in excel
Answers · 1
How to print header on each page
Answers · 1