Download Article
With or without formulas, add text from two columns in just a few clicks
Download Article
Do you want to merge two columns in Excel without losing data? There are three easy ways to combine columns in your spreadsheet—Flash Fill, the ampersand (&) symbol, and the CONCAT function. Unlike merging cells , these options preserve your data and allow you to separate values with spaces and commas. This wikiHow guide will teach you how to combine columns in Microsoft Excel.
How to Combine Two Columns in Excel
- Use flash fill by combining the data in the two columns in a third column and press Enter to teach Excel the combination pattern.
- In an empty cell, type = followed by the first cell, then add &" " followed by the second cell to combine them manually.
- Combine cells using the formula =CONCAT(x," ",y) where x and y are the cells you want to combine.
Steps
-
Know when to use Flash Fill. Flash Fill is the fastest way to combine the values of two columns (such as columns of separated first and last names). You'll teach Flash Fill how to merge the data by typing the first merged cell yourself (e.g., FirstName LastName). Flash Fill will sense the pattern and fill out the rest of the column. [1] X Trustworthy Source Microsoft Support Technical support and product information from Microsoft. Go to source
- The two columns you're combining must be next to each other to use Flash Fill.
- Don't use Flash Fill
if any of the following is true for your data (use the ampersand symbol
or the CONCAT
function instead):
- The columns you want to combine aren’t consecutive (e.g., combining columns A and F).
- You want to be able to make changes to the original columns and have those change automatically update in the merged column.
-
Add a blank column next to the columns you want to combine. In this example, let's say column A contains first names, column B contains last names, and that we want column C to contain first and last names combined. If column C isn't blank right now, right click the C column header and select Insert from the menu.Advertisement
-
Type the full name into the first cell in column C. For example, if A1 contains Joe and B1 contains Williams , type Joe Williams into C1. [2] X Trustworthy Source Microsoft Support Technical support and product information from Microsoft. Go to source
- Flash Fill can detect all sorts of patterns. For example, if column A contains area codes and column B contains phone numbers, you could type the area code and phone number into column C.
- You can even separate the contents of the columns with words or symbols, as long as you don't make the pattern too hard for Excel to understand. For example:
- A1 contains the area code 212 and B1 contains 555-1212 , you could type (212) 555-1212 into column C and Excel should sense the pattern.
-
Press ↵ Enter or ⏎ Return . This teaches Flash Fill the pattern. [3] X Trustworthy Source Microsoft Support Technical support and product information from Microsoft. Go to source
-
Start typing the next combined name into C2. As you type, you'll see that Excel suggest the next combination automatically. [4] X Trustworthy Source Microsoft Support Technical support and product information from Microsoft. Go to source
- For example, if A2 is Maria and B2 is Martinez , Excel will suggest Maria Martinez .
-
Press ↵ Enter or ⏎ Return . This automatically combines the remaining cells from columns A and B into a single merged column C. You don't even have to drag down a formula—the two columns are now merged into one. [5] X Trustworthy Source Microsoft Support Technical support and product information from Microsoft. Go to source
- If the column does not fill, press Control + E on the keyboard to activate Flash Fill manually.
- You can safely delete the original two columns if you'd like. The new column doesn't contain any formulas, so you won't lose the merged data.
Advertisement
-
Click an empty cell near the columns you want to combine. This should be on the same row as the first row of data in the columns you're combining. [6] X Trustworthy Source Microsoft Support Technical support and product information from Microsoft. Go to source
- Using the Ampersand & is another easy way to combine two columns. You'll create a simple formula using & symbols into the first cell, and then apply your formula to the rest of the data to merge the whole column.
-
Type an equals sign = into the blank cell. This begins the formula. [7] X Trustworthy Source Microsoft Support Technical support and product information from Microsoft. Go to source
-
Click the first cell in the first column you want to join. For example, if you're combining columns A and B, click A1. This adds the cell address to your formula.
-
Type &" " . Place a single space between the two quotation marks. This tells the formula to add a space between the contents of the two columns. [8] X Trustworthy Source Microsoft Support Technical support and product information from Microsoft. Go to source
- For example, if column A contains first names and column B contains last names, the " " ensures a space between the first and last names in the new column (e.g., "Joe Williams" instead of "JoeWilliams."
-
Type another & . This time, don't add any quotes or spaces.
-
Click the first cell in the second column you want to merge. Now you'll have a formula that looks something like this: =A1&" "&B1 . [9] X Trustworthy Source Microsoft Support Technical support and product information from Microsoft. Go to source
- If you'd rather there not be a space between the words in the merged column, the formula would eliminate the " " and the second ampersand like this: =A1&B1
- You could also place a symbol, word, or phrase inside of the quotes if you want to insert something between the two joined cells.
-
Press ↵ Enter or ⏎ Return . You've now merged the contents of the two cells at the top of each column.
-
Click and drag the formula down the column. This merges the rest of the two columns.
- You can either click the cell and drag its bottom-right corner to the bottom of the columns, or double-click the square at the bottom-right corner of the cell to use autofill.
-
Convert the merged column into plain text. Because you used a formula to merge the two columns, the new column is just formulas, not text. If you want to delete the original columns and just keep the merged column, you'll need to do this to avoid losing data:
- Select all the combined data you've created. For example, C1:C30.
- Press Control + C (PC) or Command + C (Mac) to copy it.
- Right-click the first cell in the column you just copied.
- Select Paste Special and choose Values .
Advertisement
-
Click an empty cell near the columns you want to combine. This should be on the same row as the first row of data in the columns you're combining.
- CONCAT works just like using the ampersand symbol . Its advantage is that it's easy to include in other formulas and is handy when making calculations . If you're just joining two columns by hand, using the ampersand is much easier.
-
Type =CONCAT( into the blank cell. This begins the CONCAT formula. [10] X Trustworthy Source Microsoft Support Technical support and product information from Microsoft. Go to source
- If you're using a version of Excel from before 2019, use CONCATENATE instead of CONCAT . [11] X Trustworthy Source Microsoft Support Technical support and product information from Microsoft. Go to source
-
Click the first cell in the first column you want to join. For example, if you're combining columns A and B, click A1. This adds the cell address to your formula, which should now look something like this: =CONCAT(A1 .
-
Type ," ", . Typing the first comma separates the first cell from " " , which adds a space between the two values. The second comma prepares you to select the second cell you're merging. [12] X Trustworthy Source Microsoft Support Technical support and product information from Microsoft. Go to source
- You should now have a formula that looks something like this: =CONCAT(A1," ",
-
Click the first cell in the second column you want to merge and type a closed parenthesis ) . Now you'll have a formula that looks something like this: =CONCAT(A1," ",B1) . [13] X Trustworthy Source Microsoft Support Technical support and product information from Microsoft. Go to source
- You could also place a symbol, word, or phrase inside of the quotes if you want to insert something between the two joined cells.
- Alternatively, if you want the merged text to appear without a space (e.g., JoeWilliams instead of Joe Williams), you could change the formula to =CONCAT(A1,B1) .
-
Press ↵ Enter or ⏎ Return . This creates the formula and joins the two cells at the top of the columns.
-
Click and drag the formula down the column. This merges the rest of the two columns.
- You can either click the cell and drag its bottom-right corner to the bottom of the columns, or double-click the square at the bottom-right corner of the cell to use autofill.
-
Convert the merged column into plain text. Because you used a formula to merge the two columns, the new column is just formulas, not text. If you want to delete the original columns and just keep the merged column, you'll need to do this to avoid losing data:
- Select all the combined data you've created. For example, C1:C30.
- Press Control + C (PC) or Command + C (Mac) to copy it.
- Right-click the first cell in the column you just copied.
- Select Paste Special and choose Values .
Advertisement
Expert Q&A
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
Advertisement
Video
Tips
Submit a Tip
All tip submissions are carefully reviewed before being published
Name
Please provide your name and last initial
Thanks for submitting a tip for review!
References
- ↑ https://support.microsoft.com/en-us/office/using-flash-fill-in-excel-3f9bcf1e-db93-4890-94a0-1578341f73f7
- ↑ https://support.microsoft.com/en-us/office/using-flash-fill-in-excel-3f9bcf1e-db93-4890-94a0-1578341f73f7
- ↑ https://support.microsoft.com/en-us/office/using-flash-fill-in-excel-3f9bcf1e-db93-4890-94a0-1578341f73f7
- ↑ https://support.microsoft.com/en-us/office/using-flash-fill-in-excel-3f9bcf1e-db93-4890-94a0-1578341f73f7
- ↑ https://support.microsoft.com/en-us/office/using-flash-fill-in-excel-3f9bcf1e-db93-4890-94a0-1578341f73f7
- ↑ https://support.microsoft.com/en-us/office/combine-text-from-two-or-more-cells-into-one-cell-81ba0946-ce78-42ed-b3c3-21340eb164a6
- ↑ https://support.microsoft.com/en-us/office/combine-text-from-two-or-more-cells-into-one-cell-81ba0946-ce78-42ed-b3c3-21340eb164a6
- ↑ https://support.microsoft.com/en-us/office/combine-text-from-two-or-more-cells-into-one-cell-81ba0946-ce78-42ed-b3c3-21340eb164a6
- ↑ https://support.microsoft.com/en-us/office/combine-text-from-two-or-more-cells-into-one-cell-81ba0946-ce78-42ed-b3c3-21340eb164a6
- ↑ https://support.microsoft.com/en-us/office/concat-function-9b1a9a3f-94ff-41af-9736-694cbd6b4ca2
- ↑ https://support.microsoft.com/en-us/office/concat-function-9b1a9a3f-94ff-41af-9736-694cbd6b4ca2
- ↑ https://support.microsoft.com/en-us/office/concat-function-9b1a9a3f-94ff-41af-9736-694cbd6b4ca2
- ↑ https://support.microsoft.com/en-us/office/combine-text-from-two-or-more-cells-into-one-cell-81ba0946-ce78-42ed-b3c3-21340eb164a6
About This Article
Article Summary
X
1. Add a blank column to the right of the two columns you're merging.
2. Use Flash Fill
to manually type the first combined cell and automatically fill the rest.
3. Use the & or CONCAT function to create a formula that joins any two columns.
Did this summary help you?
Thanks to all authors for creating a page that has been read 123,447 times.
Advertisement