How to Combine Text from Multiple Cells in Excel

Learn how to combine text from multiple cells in Excel.

Combining text from multiple cells is one of the most common tasks in Microsoft Excel. Whether you are working with names, addresses, product descriptions, or imported datasets, you often need to merge text stored across several cells into one clean, readable value. Excel provides multiple ways to achieve this—ranging from simple formulas to advanced tools like Power Query.

In this article, you will learn all the practical methods to combine text from multiple cells, from beginner-friendly techniques to more advanced approaches. Each method has its own advantages, and knowing when to use which one can significantly improve your productivity and data accuracy.


Why Combining Text in Excel Is Important

Text combination is used in many real-world scenarios, including:

  • Merging first name and last name into a full name
  • Creating full addresses from separate street, city, and country columns
  • Combining product codes and descriptions
  • Preparing clean data for reports, dashboards, or exports
  • Formatting imported or poorly structured datasets

Without proper text combination techniques, spreadsheets can become messy, inconsistent, and difficult to analyze.


Understanding Text Data in Excel

Before combining text, it’s important to understand how Excel treats text values:

  • Text is stored as strings
  • Spaces are considered characters
  • Numbers stored as text behave differently from numeric values
  • Empty cells may affect results when combining data

Being aware of these characteristics helps avoid common mistakes such as missing spaces, extra separators, or unexpected blank results.


Method 1: Using the Ampersand (&) Operator

The ampersand (&) is the simplest and most flexible way to combine text in Excel.

Basic Syntax

=A1 & B1

This formula joins the contents of cell A1 and B1.

Example: Combining First and Last Names

If:

  • A1 contains John
  • B1 contains Doe

Formula:

=A1 & " " & B1

Result:

John Doe

Key Advantages

  • Easy to understand
  • Works in all Excel versions
  • Highly customizable

Things to Watch Out For

  • You must manually add spaces or punctuation
  • Long formulas can become hard to read

Method 2: Using the CONCATENATE Function (Legacy Method)

CONCATENATE is one of Excel’s older text functions. While still supported, it has largely been replaced by newer functions.

Syntax

=CONCATENATE(text1, text2, ...)

Example

=CONCATENATE(A1, " ", B1)

Pros and Cons

Pros

  • Clear function-based syntax
  • Still works in older spreadsheets

Cons

  • Verbose for long combinations
  • Not recommended for new projects

Method 3: Using the CONCAT Function (Modern Replacement)

CONCAT is the modern successor to CONCATENATE.

Syntax

=CONCAT(text1, text2, ...)

Example

=CONCAT(A1, " ", B1)

Benefits

  • Cleaner than CONCATENATE
  • Supports ranges (unlike CONCATENATE)
  • Works well with dynamic arrays

Limitations

  • Does not automatically insert separators
  • Empty cells may result in missing spacing

TEXTJOIN is one of the most powerful text-combining tools in Excel.

Syntax

=TEXTJOIN(delimiter, ignore_empty, text1, ...)

Example: Combining Names with a Space

=TEXTJOIN(" ", TRUE, A1, B1)

Example: Combining an Address

=TEXTJOIN(", ", TRUE, A1, B1, C1, D1)

Result:

123 Main St, New York, NY, USA

Why TEXTJOIN Is Excellent

  • Automatically handles separators
  • Can ignore empty cells
  • Works with ranges and arrays
  • Ideal for complex datasets

This function is highly recommended for modern Excel users.


Method 5: Combining Text with Line Breaks

Sometimes you may want combined text to appear on multiple lines within a single cell.

Formula Example

=A1 & CHAR(10) & B1

Important Step

Enable Wrap Text from the Home tab to display line breaks correctly.

Use Cases

  • Mailing labels
  • Multi-line addresses
  • Structured notes

Method 6: Using Flash Fill (No Formulas Required)

Flash Fill automatically detects patterns and fills data for you.

How to Use Flash Fill

  1. Type the desired combined result manually in a new column
  2. Start typing the next value
  3. Press Ctrl + E or enable Flash Fill

Example

If columns contain:

  • First Name
  • Last Name

Typing “John Doe” once often prompts Excel to auto-fill the rest.

Advantages

  • Extremely fast
  • No formulas needed
  • Great for one-time tasks

Limitations

  • Not dynamic
  • Results won’t update if source data changes

Method 7: Using Power Query for Large Datasets

Power Query is ideal when working with large or frequently updated data sources.

Steps Overview

  1. Load data into Power Query
  2. Select the columns to combine
  3. Use Merge Columns
  4. Choose a separator
  5. Load the result back into Excel

Benefits

  • Excellent for automation
  • Handles thousands of rows efficiently
  • Keeps data transformation separate from worksheet logic

Handling Common Issues When Combining Text

Missing Spaces

Always include spaces explicitly:

=A1 & " " & B1

Extra Spaces from Empty Cells

Use:

=TEXTJOIN(" ", TRUE, A1:C1)

Numbers Appearing Incorrectly

Convert numbers to text:

=TEXT(A1, "0")

Leading and Trailing Spaces

Use TRIM:

=TRIM(A1 & " " & B1)

Combining Text with Conditional Logic

Sometimes you only want to combine text when certain conditions are met.

Example with IF

=IF(A1<>"", A1 & " - " & B1, B1)

This ensures cleaner results when cells may be empty.


Best Practices for Combining Text in Excel

  • Prefer TEXTJOIN for modern workflows
  • Use Flash Fill for quick, one-off tasks
  • Avoid overly complex formulas when Power Query is more suitable
  • Always test formulas with empty cells
  • Keep formatting consistent across datasets

Choosing the Right Method

ScenarioBest Method
Simple combinationAmpersand (&)
Multiple cells with separatorsTEXTJOIN
Large, repeatable tasksPower Query
Quick manual cleanupFlash Fill
Legacy compatibilityCONCATENATE

Conclusion

Combining text from multiple cells is a foundational Excel skill that appears in nearly every type of spreadsheet work. From simple name combinations to complex data transformations, Excel offers a wide range of tools to handle text efficiently.

By understanding methods such as the ampersand operator, CONCAT, TEXTJOIN, Flash Fill, and Power Query, you can choose the most effective solution for your specific task. Mastering these techniques not only saves time but also results in cleaner, more professional spreadsheets.

Whether you are preparing reports, cleaning imported data, or building automated workflows, knowing how to combine text correctly will significantly improve your Excel expertise.