How to Merge Two Columns in Excel: 5 Easy Methods That Actually Work
To merge two columns in Excel, the easiest way is to use a formula in a new column, such as =A2&” “&B2, which joins the values from two cells with a space between them. You can also use the CONCAT or TEXTJOIN function, the Flash Fill tool, or Power Query, depending on how much data you have and whether you need the result to update automatically. This guide shows you five methods that actually work, with examples for each one, so you can pick the method that fits your spreadsheet. If you only remember one formula, make it the ampersand formula: it is the fastest way to merge two columns in almost every version of Excel.
Merging columns is one of the most common Excel tasks. People do it to combine first and last names into a full name, to join a city and a postcode into a full address, to build a product code from two parts, or to clean up data that arrived in separate columns. The key point is that Excel does not have a single Merge button for columns that keeps all the data. The Merge and Center button on the Home tab keeps only the top-left value and deletes the rest, so it is the wrong tool for this job. Use one of the methods below instead.
Method 1: Merge Two Columns with the Ampersand Formula
The ampersand, or &, is the simplest way to join two cells. Suppose first names are in column A and last names are in column B, starting in row 2. In cell C2, type =A2&” “&B2 and press Enter. The formula takes the value in A2, adds a space, and then adds the value in B2. The result is the full name, such as “Jane Smith”. Double-click the fill handle, the small square at the bottom right of the cell, to copy the formula down the whole column.
You can change the separator to anything you like. Use =A2&”, “&B2 for a comma and a space, =A2&”-“&B2 for a hyphen, or =A2&B2 for no separator at all. You can also join more than two columns by adding more ampersands, such as =A2&” “&B2&” “&C2. The formula updates automatically if the source data changes, which is a big advantage over typing the merged values by hand. If you later want to keep only the merged values and delete the original columns, copy the merged column, paste it as values, and then delete the originals.
The ampersand method works in every version of Excel, including older ones, and it works in Google Sheets too. It is the method to use when you want a quick, reliable result that stays linked to the source data. Its only drawback is that the result is a formula, not a plain value, until you paste it as values. For most people, that is a small price to pay for a method that takes seconds to set up.
Method 2: Merge Two Columns with CONCAT
CONCAT is the modern replacement for the older CONCATENATE function. It joins the values in two or more cells into one. To merge columns A and B with a space, type =CONCAT(A2,” “,B2) in cell C2 and press Enter. The result is the same as the ampersand formula, but the function is easier to read when you are joining many cells, because you list them in order inside the brackets.
CONCAT has one limitation: it does not add separators on its own. You have to include the separator, such as ” “, as an argument between the cells, just as you do with the ampersand. That is why many people prefer TEXTJOIN, which is covered in the next method, when they need to join several columns with the same separator. CONCAT is available in Excel 2016 and later, and in Microsoft 365. If you use an older version of Excel, CONCATENATE is the equivalent, and it works the same way: =CONCATENATE(A2,” “,B2).
One useful trick with CONCAT is that it can join a whole range at once, such as =CONCAT(A2:C2). That merges all three cells in the row, but without any separators, so the result is a single run of text. For a name or an address, that is rarely what you want, so add the separators by hand or use TEXTJOIN instead. CONCAT is best when you are joining a small number of cells and you want the formula to be easy for someone else to understand.
Method 3: Merge Two Columns with TEXTJOIN
TEXTJOIN is the best formula for merging columns when you need a separator between every value. Its syntax is =TEXTJOIN(” “,TRUE,A2,B2), where the first argument is the separator, the second argument tells Excel whether to ignore empty cells, and the rest are the cells to join. TRUE means empty cells are skipped, which is useful when some rows have a missing middle name or a blank second column. FALSE means empty cells are kept, which leaves extra separators in the result.
TEXTJOIN is also the best choice when you are merging three or more columns. Instead of typing a separator between every pair of cells, you type it once at the start, and Excel applies it to all of them. For example, =TEXTJOIN(“, “,TRUE,A2:C2) joins three columns with a comma and a space between each one. That is much shorter than the equivalent ampersand formula, and it is less likely to contain a typing mistake.
TEXTJOIN is available in Excel 2019 and later, and in Microsoft 365. It is not available in older versions of Excel, so if you share a workbook with someone on an old version, the formula will show an error on their computer. In that case, use the ampersand or CONCAT method instead, because those work everywhere. If you only work in Microsoft 365, TEXTJOIN is the method to learn, because it is the cleanest and most flexible of the three formulas.
Method 4: Merge Two Columns with Flash Fill
Flash Fill is the fastest method when you want to merge columns without writing a formula. Type the merged result by hand in the first row of a new column, for example “Jane Smith” in C2. Then start typing the next merged value in C3, and Excel will guess the pattern and fill in the rest of the column in grey. Press Enter to accept the suggestions, and the whole column is filled. You can also trigger Flash Fill by pressing Ctrl+E, or by going to Data and then Flash Fill.
Flash Fill is useful because it is fast and it needs no formula knowledge. It is also useful when the merge is not a simple join, such as when you need to take the first letter of one column and the whole of another, or when you need to reformat the data as you merge it. Flash Fill learns from your example and applies the same pattern to the rest of the data, which can save a lot of time.
The drawback is that Flash Fill produces static values, not formulas, so the results will not update if the source data changes. It can also guess the wrong pattern, especially if the data is inconsistent, so always check the results before you delete the original columns. Flash Fill is available in Excel 2013 and later. For a related task, see our guide to How to Sum Columns in Excel: 5 Easy Ways (With Examples), which covers adding numbers across columns in a similar way.
Method 5: Merge Two Columns with Power Query
Power Query is the best method when you need to merge columns regularly, or when you are working with a large dataset that you refresh often. Select your data, go to Data, and choose From Table or Range to open Power Query. Select the two columns you want to merge by holding Ctrl and clicking their headers, then go to Add Column, choose Merge Columns, pick a separator, and give the new column a name. Click Close and Load to return the merged data to Excel.
The advantage of Power Query is that the merge is part of a repeatable process. If the source data changes, you can refresh the query and the merged column updates automatically. Power Query also handles large datasets well, and it can clean the data at the same time, for example by trimming spaces or changing the case of text. It is more work to set up than a formula, but it pays off if you do the same merge every week or every month.
Power Query is built into Excel 2016 and later, and in Microsoft 365. It is also the right tool when the data comes from an external source, such as a database or a CSV file, because the merge happens as part of the import. If you only need to merge two columns once, a formula or Flash Fill is faster. If you need to do it repeatedly, learn Power Query, because it will save you time in the long run.
Quick Comparison: 5 Ways to Merge Two Columns in Excel
| Method | Formula or Tool | Updates Automatically? | Best For |
|---|---|---|---|
| Ampersand | =A2&” “&B2 | Yes | Quick merge, all versions |
| CONCAT | =CONCAT(A2,” “,B2) | Yes | Easy to read formulas |
| TEXTJOIN | =TEXTJOIN(” “,TRUE,A2,B2) | Yes | Several columns, skips blanks |
| Flash Fill | Ctrl+E | No | One-off merge, no formula |
| Power Query | Merge Columns | Yes, on refresh | Repeated merges, large data |
How to Keep Only the Merged Column
After you merge two columns with a formula, the result depends on the original columns. If you delete the originals, the formula will break and show an error. To keep only the merged values, select the merged column, copy it, and paste it as values. In Excel, right-click the selection, choose Paste Special, and then choose Values, or use the Paste Values button on the Home tab. The formulas are replaced by plain text, and you can safely delete the original columns.
Always paste as values before you delete the source data, and keep a copy of the original file until you are sure the merge is correct. It is also worth checking for extra spaces, because a trailing space in one of the source cells can leave a double space in the merged result. The TRIM function can remove extra spaces: =TRIM(A2&” “&B2) will clean up the result in one step. If you need to filter the merged data afterwards, see our guide to Excel FILTER Function: How to Use It with Examples, which shows how to pull out only the rows you need.
Common Mistakes When Merging Columns in Excel
The most common mistake is using Merge and Center to merge columns. That button is designed for headings, not for data, and it keeps only the top-left value. If you use it on two columns of names, you will lose half the data. Always use a formula, Flash Fill, or Power Query for data, and save Merge and Center for titles.
Another common mistake is forgetting the separator. A formula such as =A2&B2 will join the values with no space, giving “JaneSmith” instead of “Jane Smith”. Always include the separator in the formula, and check the first few results before you copy the formula down. A related mistake is merging numbers without formatting them. If you merge a date or a currency value with &, Excel will use the underlying number, not the formatted display, so a date may appear as a five-digit number. Use the TEXT function to format it first, such as =A2&” “&TEXT(B2,”dd/mm/yyyy”).
Finally, do not forget to check for blanks. If one column has blank cells, a simple ampersand formula will leave a trailing space or a double separator. TEXTJOIN with TRUE as the second argument handles this cleanly, because it skips empty cells. If you use the ampersand method, you can wrap the formula in TRIM to clean up the result, or use an IF formula to handle the blank case. If you move the data to Google Sheets afterwards, our guide to How to Convert Excel to Google Sheets (3 Easy Ways) explains how to keep the merged values intact during the move.
Frequently Asked Questions
How do I merge two columns in Excel without losing data?
Use a formula in a new column, such as =A2&” “&B2, CONCAT, or TEXTJOIN, and then copy the merged column and paste it as values. Do not use Merge and Center, because it keeps only the top-left value and deletes the rest.
What is the formula to merge two columns in Excel?
The simplest formula is =A2&” “&B2, which joins the values in A2 and B2 with a space. You can also use =CONCAT(A2,” “,B2) or =TEXTJOIN(” “,TRUE,A2,B2), which is the best choice when you are merging several columns or need to skip blank cells.
Can I merge two columns in Excel with a space between them?
Yes. Include the space in the formula, such as =A2&” “&B2, or use TEXTJOIN with ” ” as the separator. Change the separator to a comma, a hyphen, or any other character if you need a different result.
How do I merge columns in Excel using Flash Fill?
Type the merged result by hand in the first row of a new column, start typing the next one, and press Enter when Excel suggests the rest. You can also press Ctrl+E to run Flash Fill. Check the results, because Flash Fill produces static values that do not update if the source data changes.
Why does my merged column show a number instead of a date?
Because the ampersand and CONCAT use the underlying value, not the formatted display. Use the TEXT function to format the date first, such as =A2&” “&TEXT(B2,”dd/mm/yyyy”), and the merged result will show the date correctly.
To merge two columns in Excel, use the ampersand formula for a quick result, TEXTJOIN when you need to join several columns or skip blanks, Flash Fill when you want no formula at all, and Power Query when you need to repeat the merge. Avoid Merge and Center for data, remember to paste as values before you delete the originals, and check the first few results before you copy the formula down the whole column. With the right method, merging two columns takes seconds, and the result stays clean and reliable.