Combining data from multiple columns into one is a fundamental task in data management, whether you are merging first and last names, creating full mailing addresses, or consolidating product codes. While many users instinctively reach for the "Merge & Center" button, this is often a mistake that leads to data loss. In Excel, merging cells is a formatting choice, while combining column data is a data processing task.

To combine columns effectively, you should use formulas like the Ampersand (&) operator, functions such as TEXTJOIN and CONCAT, or automated tools like Flash Fill and Power Query.

Understanding the Difference Between Merging Cells and Combining Data

Before diving into the methods, it is vital to understand why the "Merge & Center" feature on the Home tab is usually not the solution for combining information.

When you select two columns (e.g., Column A with "John" and Column B with "Doe") and click "Merge & Center," Excel displays a warning: "Merging cells only keeps the upper-left value and discards other values." If you proceed, "Doe" is deleted, and you are left with a single large cell containing only "John."

To preserve all your data while bringing it together into a single column, you must use concatenation methods. These methods create a new string of text in a destination column based on the values in the source columns.

1. Using the Ampersand (&) Operator for Quick Joins

The Ampersand symbol is the most straightforward and flexible way to join text in Excel. It acts as a bridge between cell references and manual text strings.

How to Use the Ampersand Formula

The basic syntax for the ampersand operator is: =Cell1 & Cell2

However, if you join "John" and "Doe" with =A2&B2, the result will be "JohnDoe". To make the data readable, you need to manually insert a space, which is represented by two double quotes with a space between them (" ").

The corrected formula for names: =A2 & " " & B2

Practical Scenarios for the Ampersand

  • Adding Punctuation: If you are combining a City and State, you might want a comma and space: =A2 & ", " & B2 (Result: New York, NY).
  • Creating Sentences: You can mix cell data with custom text: ="The total for " & A2 & " is " & B2 (Result: The total for Client X is $500).

In our testing, the Ampersand operator remains the fastest method for small-scale tasks involving two or three columns. It is compatible with every version of Excel ever released.

2. Using the TEXTJOIN Function for Professional Data Cleaning

Introduced in Excel 2019 and Office 365, TEXTJOIN is arguably the most powerful text function for modern users. Unlike older methods, it allows you to specify a delimiter (like a comma or space) once and choose whether to ignore empty cells.

The TEXTJOIN Syntax

=TEXTJOIN(delimiter, ignore_empty, text1, [text2], ...)

  • Delimiter: The character you want between your values (e.g., ", ").
  • Ignore_empty: A logical value. TRUE skips empty cells; FALSE includes them, which might result in extra commas.
  • Text1, Text2...: The range of cells to combine (e.g., A2:E2).

Why TEXTJOIN is Superior

Consider an address list where some rows have "Apartment Number" and others do not. If you use the Ampersand method on a range with empty cells, you often end up with awkward double spaces or trailing commas. TEXTJOIN set to TRUE automatically cleans this up.

Example Formula: =TEXTJOIN(" ", TRUE, A2:D2)

This one formula can combine an entire row of data, skipping any blanks seamlessly. This is the go-to method for data analysts dealing with inconsistent datasets.

3. Using Flash Fill for Instant Pattern Recognition

Flash Fill is a non-formulaic tool that uses AI to sense patterns and fill the rest of the column for you. It is ideal for users who prefer not to write complex formulas.

Steps to Use Flash Fill

  1. In the empty column next to your data (Column C), type exactly how you want the first row to look. For example, if A2 is "Apple" and B2 is "California," type "Apple - California" in C2.
  2. In C3, start typing the combined value for the second row.
  3. Excel will likely show a greyed-out list of suggestions for the remaining cells. Press Enter to accept them.
  4. Alternatively, you can select the first cell and press Ctrl + E on your keyboard to trigger Flash Fill immediately.

The Limitations of Flash Fill

While convenient, Flash Fill is not dynamic. If you change the data in Column A, the combined text in Column C will not update automatically. It is a "one-time" action. Furthermore, Flash Fill requires a clear pattern; if your data is highly irregular, it may misinterpret your intentions.

4. Using CONCAT and CONCATENATE for Range Compatibility

Excel has two similarly named functions for joining text: CONCATENATE (the older version) and CONCAT (the newer version).

CONCATENATE (Legacy)

=CONCATENATE(A2, " ", B2) This function is technically "deprecated," meaning Microsoft keeps it for backward compatibility with older files but is no longer improving it. It does not support cell ranges; you must click every cell individually.

CONCAT (Modern)

=CONCAT(A2:D2) CONCAT replaced CONCATENATE in Excel 2016. Its primary advantage is that it accepts ranges. However, unlike TEXTJOIN, it does not have an option to add delimiters or ignore empty cells. If you use =CONCAT(A2:B2), it will simply smash the words together.

In most professional workflows, if you have access to TEXTJOIN, there is little reason to use CONCAT.

5. Using Power Query for Massive Datasets

When working with hundreds of thousands of rows or data that requires frequent refreshing from an external source (like a SQL database or a CSV export), Power Query is the most robust solution.

How to Combine Columns in Power Query

  1. Select your data range and go to the Data tab > From Table/Range.
  2. In the Power Query Editor window, hold the Ctrl key and click the headers of the columns you want to combine.
  3. Right-click on one of the selected headers and choose Merge Columns.
  4. A dialog box appears. Choose your Separator (Space, Tab, Comma, or Custom) and give the new column a name.
  5. Click OK, then click Close & Load on the Home tab to return the results to a new Excel sheet.

The Advantage of the Power Query Approach

Power Query records your steps. If you replace the old data with a new export next month, you simply click "Refresh," and the columns will be combined again automatically according to your rules. This "set it and forget it" workflow is essential for business reporting.

6. The "Clipboard Trick" for Quick, One-Off Merges

This is an "old-school" hack used by power users to combine many cells into a single cell without typing any formulas at all. It uses the Windows Clipboard as a temporary buffer.

Steps for the Clipboard Hack

  1. Select the range of cells you want to combine (e.g., a vertical list of email addresses).
  2. Press Ctrl + C to copy them.
  3. Open a blank Notepad file and press Ctrl + V to paste. The data will appear with tab-spaces between them.
  4. Copy the data back from Notepad.
  5. In Excel, double-click inside a single cell (this is crucial; you must be in "Edit Mode") and press Ctrl + V.

All the copied data will now reside within a single cell. This is particularly useful when you need to create a semicolon-separated list for an email BCC field.

7. Handling Complex Formatting: Dates, Currency, and Line Breaks

A common frustration occurs when combining a text column with a date or currency column. Excel stores dates as numbers (e.g., 45350), so a simple ampersand join might result in "Project Start: 45350" instead of "Project Start: 03/12/2024."

Using the TEXT Function

To maintain formatting, you must wrap the numeric cell in the TEXT function. =A2 & " started on " & TEXT(B2, "mm/dd/yyyy")

Similarly, for currency: ="Total: " & TEXT(C2, "$#,##0.00")

Adding Line Breaks

If you want the combined data to appear on separate lines within the same cell (common for address labels), use the CHAR(10) function. =A2 & CHAR(10) & B2 & CHAR(10) & C2 Note: You must click the "Wrap Text" button on the Home tab for the line breaks to become visible.

Critical Final Step: Converting Formulas to Static Values

Most of the methods above (except Flash Fill and the Clipboard trick) rely on formulas. This means the combined column is "live." If you delete the original Column A or B, your combined column will show a #REF! error.

To finalize your data:

  1. Select the combined results.
  2. Press Ctrl + C to copy.
  3. Right-click on the same selection and choose Paste Special.
  4. Select Values (the icon with "123") and click OK.

Now, the formulas are gone, replaced by the actual text strings. You can safely delete the source columns and move the combined data anywhere in your workbook.

Summary of Combining Methods

Method Best For Pros Cons
Ampersand (&) Quick 2-column joins Simple, universal Tedious for 5+ columns
TEXTJOIN Professional cleaning Handles delimiters and blanks Only in Excel 2019+
Flash Fill One-time tasks No formulas needed Not dynamic/auto-updating
Power Query Large/Recurring data Scalable, automatable Higher learning curve
TEXT Function Dates & Currency Maintains formatting Requires specific codes

Frequently Asked Questions

What is the fastest way to combine two columns in Excel?

The fastest way for a one-off task is Flash Fill. Simply type the desired result in the first cell and press Ctrl + E. For a formulaic approach, the Ampersand (=A2 & " " & B2) is the quickest to implement.

How do I combine columns with a comma and space?

Use the TEXTJOIN function or the Ampersand operator. With the Ampersand, it would be =A2 & ", " & B2. With TEXTJOIN, use =TEXTJOIN(", ", TRUE, A2:B2).

Why does my combined date look like a random number?

Excel stores dates as serial numbers. To fix this, use the TEXT function within your join: =A2 & " " & TEXT(B2, "MM/DD/YYYY"). This tells Excel how to display the numeric date value.

Can I combine more than two columns at once?

Yes. TEXTJOIN and CONCAT allow you to select a whole range (e.g., A2:Z2). If using the Ampersand, you must continue the pattern: =A2 & B2 & C2 & D2....

How do I unmerge columns if they were combined using a formula?

If you have combined columns into one and need to split them back, use the "Text to Columns" feature found under the Data tab. This allows you to split the text based on a delimiter like a space or comma.

By selecting the right method for your specific data type and volume, you can ensure your Excel workbooks remain clean, accurate, and free from the pitfalls of data loss associated with manual merging.