Blog
How to Combine Two Columns in Excel Without Losing Data
To combine two columns in Excel, add a new column and use a formula such as =A2&" "&B2, or type one example and press Ctrl + E for Flash Fill. Don't select the two cells and click Merge Cells: that keeps only the left value and deletes the right one. When you're joining first and last names for a class roster or building full mailing addresses for report card envelopes, that single mistake can wipe out every last name on the list.
Here are four ways to combine columns while keeping the originals, how to stop dates and leading zeros from breaking, and the order to follow when you clean up afterwards.
Why Merge Cells doesn't combine columns
Merge Cells joins the cells' shape, not their contents. With "1450 Maple Ave" in A2 and "Apt 2B" in B2, merging A2:B2 leaves only A2's value; B2's is deleted, and unmerging doesn't bring it back. Our guide to merging and unmerging cells covers what to do with sheets that are already merged.
To combine contents, leave both source columns alone and build the result in a new column next to them. If something looks wrong, you can always rebuild it from the originals.
Method 1: the & operator
Short and works in every version. In C2, =A2&B2 joins the two values exactly as they are. Add a space with =A2&" "&B2, or a hyphen with =A2&"-"&B2 to get a section code like BIO-P3.

Double-click the fill handle at the bottom right of C2 to copy the formula down to the last row of data. You can chain more columns with more &, but the formula gets long, and blanks leave doubled separators. That's where TEXTJOIN helps.
Method 2: CONCAT and TEXTJOIN
CONCAT is the function version of &: =CONCAT(A2,", ",B2,", ",C2) gives the same result, and it also accepts a whole range. The older CONCATENATE still works but can't take ranges.

The screenshot shows the catch: where Unit is blank, CONCAT still adds both separators and leaves ", ," in the address. TEXTJOIN fixes that. In =TEXTJOIN(", ",TRUE,A2:C2), the first argument is the separator and TRUE tells Excel to skip empty cells. Microsoft's TEXTJOIN function reference confirms that TRUE ignores empty cells, and that the function returns #VALUE! if the result exceeds 32,767 characters, the limit for one cell.

CONCAT and TEXTJOIN are available in Excel 2019 and later, Microsoft 365 and Excel for the web.
👉 Concatenate in Excel: CONCAT, TEXTJOIN and &
Method 3: Flash Fill (Ctrl + E)
No formula needed. Type the combined result for the first row yourself, move to the next cell down and press Ctrl + E. Excel reads the pattern and fills the rest. According to Microsoft's Flash Fill guide, you can also run it from Data > Flash Fill.
Flash Fill writes values, not formulas, so the result survives if you delete the source columns. The trade-off: it won't update when the source changes, and on irregular data it can guess wrong for some rows. Scan the results and spot-check a few rows. If it misreads the pattern, type two or three more examples and press Ctrl + E again.
Method 4: Power Query's Merge Columns
If you get the same file every month and combine the same columns each time, Power Query saves repeating the work. Select the data and choose Data > From Table/Range. In the Power Query Editor, Ctrl-click the columns to combine, right-click a header and pick Merge Columns, then set the separator and the new column name. Close & Load writes the result to a new sheet. Next month, replace the source data and click Refresh.
Comparing &, CONCAT and TEXTJOIN on the same data
If you're unsure which approach a template should use, put all three in adjacent columns on a sample of real rows. On simple two-column data the results match; differences show up only where cells are blank or numbers are formatted.

Dates, numbers and leading zeros: wrap them in TEXT
& and CONCAT join the underlying value, not what the cell displays. A date becomes a serial number such as 46317, a code formatted to show 007 joins as 7, and $1,250.00 joins as 1250.
Wrap those cells in TEXT with the format you want: TEXT(B2,"yyyy-mm-dd") for dates, TEXT(C2,"000") for three-digit codes, TEXT(D2,"$#,##0.00") for currency. A file name built from a due date and a student name, =TEXT(B2,"yymmdd")&"-"&A2, returns 261022-Jordan Ellis.
Convert to values, then clean up the source
A formula column depends on its source columns; delete them and every result turns into #REF!. Before removing or moving the originals:
- Select the result column and press Ctrl + C.
- Press Ctrl + Alt + V and choose Values to paste over the formulas.
- Spot-check a few rows against the originals, especially rows that had blanks and the last row.
- Delete the source columns only if nobody needs them; otherwise hide them.
Worked example: building participant IDs for a thesis dataset
A graduate student had to load 186 survey participants from a recruitment spreadsheet into her master data file. The recruitment sheet had site code in column A (BOS, NYC, PHL), participant number in column B (1 to 250) and study condition in column C (A, B or blank for the control group). Her lab's IDs look like BOS-012-A, with a three-digit number.
The first attempt, =A2&"-"&B2&"-"&C2, had two problems: participant 12 came through as 12, not 012, and control participants ended in a stray hyphen, like NYC-140-. The fix was =TEXTJOIN("-",TRUE,A2,TEXT(B2,"000"),C2). TEXT pads the number to three digits and TEXTJOIN skips the empty condition, giving NYC-140 with no trailing hyphen.
After converting to values, she checked for duplicates with =COUNTIF(D:D,D2)>1 and found two TRUE rows: one person had signed up twice. She deleted one and pasted 185 IDs into the master file, about twenty minutes of work. The same day she used =TEXTJOIN(", ",TRUE,E2:G2) to build one-line mailing addresses for the thank-you gift cards, with no doubled commas where Apt was blank.
Common mistakes
The result shows the formula instead of a value. The column is formatted as Text. Change it to General and re-enter the cell (F2, Enter).
Lookups on the combined code fail. A trailing space in a source cell carries into the result. Combine trimmed values: =TRIM(A2)&"-"&TRIM(B2).
Combined numbers won't calculate. The result is always text. Wrap it in VALUE() if you need a number.
#REF! after deleting the originals. You removed the source before converting to values. Undo with Ctrl + Z, paste values, then delete.
Version notes
& and CONCATENATE work everywhere. CONCAT and TEXTJOIN need Excel 2019, 2021, 2024, Microsoft 365 or Excel for the web; TEXTSPLIT needs Microsoft 365 or Excel 2024. Flash Fill has been in Excel since 2013, and Power Query has been on the Data tab since Excel 2016. Sending a file to someone on an older version? Paste the results as values and it reads the same everywhere.
FAQ
Q. Should I use & or TEXTJOIN?
For two or three cells with no blanks, & is simplest. With many cells or blanks in the mix, TEXTJOIN avoids doubled separators.
Q. Can I split the combined column back into two?
Yes, if you used a separator. Data > Text to Columns with that separator splits it again, or use TEXTSPLIT in Microsoft 365.
Q. Can I put a line break between the two values?
Use =A2&CHAR(10)&B2 and turn on Wrap Text for the result cell.
Q. Why doesn't CONCAT work in my Excel?
Excel 2016 and earlier don't have CONCAT or TEXTJOIN. Use & or CONCATENATE for the same result.
Combine roster columns with inline AI
The formula is short. What repeats with every new roster or form export is matching its format to yours, padding codes, handling blanks and checking for duplicates. Ask inline AI to "make a Full Name column as Last, First and flag any duplicates," and it builds the combined column next to the originals in the open file, even when the list first arrived as a PDF.
Gradebooks and spreadsheets, finished by inline AI in the file itself.
Ask in one sentence for roll-ups, trackers and the cleanup you repeat every week. Your files never leave your computer.





