How to merge two columns in Excel without losing data

From this short article you will learn how to merge multiple Excel columns into one without losing data.

You have a table in Excel and what you want is to combine two columns, row-by-row, into one. For example, you want to merge the First Name & Last Name columns into one, or join several columns such as Street, City, Zip, State into a single "Address" column, separating the values with a comma so that you can print the addresses on envelops later.
Merge Excel columns into one without losing data

Regrettably, Excel does not provide any built-in tool to achieve this. Of course, there is the Merge button ("Merge & Center" etc.), but if you select 2 adjacent cells in order to combine them, as shown in the screenshot:
The Merge button in Excel

You will get the error message "Merging cells only keeps the upper-left cell value, and discards the other values." (Excel 2013) or "The selection contains multiple data values. Merging into one cell will keep the upper-left most data only." (Excel 2010, 2007)

The selection contains multiple data values. Merging into one cell will keep the upper-left most data only.

Further in this article, you will find 3 ways that will let you merge data from several columns into one without losing data, and without using VBA macro. If you are looking for the fastest way, skip the first two, and head over to the 3rd straight away.

Merge two columns using Excel formulas

Say, you have a table with your clients' information and you want to combine two columns (First & Last names) into one (Full Name).

  1. Insert a new column into your table. Place the mouse pointer in the column header (it is column D in our case), right click the mouse and choose "Insert" from the context menu. Let's name the newly added column "Full Name".
    Insert a new column into your table
  2. In cell D2, write the following formula: =CONCATENATE(B2," ",C2)

    B2 and C2 are the addresses of First Name and Last Name, respectively. Note that there is a space between the quotation marks " " in the formula. It is a separator that will be inserted between the merged names, you can use any other symbol as a separator, e.g. a comma.
    Excel formula to merge two columns with spaces

    In a similar fashion, you can join data from several cells into one, using any separator of your choice. For instance, you can combine addresses from 3 columns (Street, City, Zip) into one.
    Formula to merge address from multiple columns in to 1

  3. Copy the formula to all other cells of the Full Name column. For step-by-step instructions please see how to enter the same formula into all selected cells at a time.
  4. Well, we have combined the names from 2 columns in to one, but this is still the formula. If we delete the First name and /or the Last name, the corresponding data in the Full Name column will also be gone.
    Combined names from 2 columns in to 1
  5. Now we need to convert the formula to a value so that we can remove unneeded columns form our Excel worksheet. Select all cells with data in the merged column (select the first cell in the "Full Name" column, and then press Ctrl + Shift + ArrowDown).

    Copy the contents of the column to clipboard (Ctrl + C or Ctrl + Ins, whichever you prefer), then right click on any cell in the same column ("Full Name" ) and select "Paste Special" from the context menu. Select the "Values" radio button and click OK.
    Convert the formula to a value

  6. Remove the "First Name" & "Last Name" columns, which are not needed any longer. Click the column B header, press and hold Ctrl and click the column C header (an alternative way is to select any cell in column B, press Ctrl + Space to select the entire column B, then press Ctrl + Shift + ArrowRight to select the whole column C).

    After that right click on any of the selected columns and choose Delete from the context menu:
    Delete two Excel columns

Fine, we have merged the names from 2 columns into one! Though, it required quite a lot of effort and time :(
Excel: Merged data from two columns

Combine columns data via Notepad

This way is faster than the previous one, it doesn't require formulas, but it is suitable only for combining adjacent columns and using the same delimiter for all of them.

Here is an example: we want to combine 2 columns with the First Names and Last Names into one

  1. Select both columns we want to merge: click on B1, press Shift + ArrrowRight to select C1, then press Ctrl + Shift + ArrowDown to select all the cells with data in two columns.
    Select 2 columns in Excel that we want to merge
  2. Copy data to clipboard (press Ctrl + C or Ctrl + Ins, whichever you prefer).
  3. Open Notepad: Start-> All Programs -> Accessories -> Notepad.
  4. Insert data from the clipboard to the Notepad (Press Ctrl + V or Shift + Ins)
    Insert data from Excel columns to the Notepad
  5. Copy tab character to clipboard. Press Tab right in Notepad, press Ctrl + Shift + LeftArrow, then press Ctrl + X.
  6. Replace Tab characters in Notepad with the separator you need.

    Press Ctrl + H to open the "Replace" dialog box, paste the Tab character from the clipboard in the "Find what" field, type your separator, eg. Space, comma etc. in the "Replace with" field. Press the "Replace All" button; then press "Cancel" to close the dialog box.
    Replace the Tab character with Space

  7. Press Ctr + A to select all the text in Notepad, then press Ctrl + C to copy it to Clipboard.
  8. Switch back to your Excel worksheet (press Alt + Tab), select just B1 cell and paste text from the Clipboard to your table.
    Paste merged data back to the Excel column
  9. Rename column B to "Full Name" and delete the "Last name" column.

There are more steps than in the previous option, but believe me or try it yourself, this way is faster. The next way is even faster and easier :)

Join columns using the Merge Cells add-in for Excel

The quickest and easiest way to combine data from several Excel columns into one is to use Merge Cells add-in for Excel.

With the Merge Cells add-in you can combine data from several cells using any separator you like (e.g.: carriage return or line break). You can join values row by row, column by column or merge data from the selected cells into one without losing it.

How to combine two columns in 4 simple steps

  1. Download and install Merge Cells for Excel.
  2. Select all cells from 2 columns that you want to merge, and go to the "Ablebits.com Data" tab. Click the "Merge cells" button to run the add-in.
    Select 2 columns to merge and run the Merge Cells add-in
  3. Select the following options on the Merge Cells dialog box:
    • Merge selected cells: row by row.
    • Separate values with: [Space].
    • Place the results to: Left cell.
    • Tick the "Clear the contents of selected cells" checkbox.
  4. Now just click the "Merge" button.
    Select the following options in the Merge Cells dialog box

Several simple clicks and we've got two columns merged without entering any formulas or copy/pasting.

To finish up, rename column B to "Full Name" and delete column "C", which is not needed any longer.

Much easier than the two previous ways, isn't it? :)

You may also be interested in:

167 Responses to "How to merge two columns in Excel without losing data"

  1. Lita says:

    Nice tutorial. Might be useful for someone, I'm using Excel 2007 on Windows 10 and the function is CONCATENER(), CONCATENATE() didn't work.

  2. Brian Owens says:

    I am utilizing excel 2013. I inserted the formula as shown and the result I get is #NAME?. Any Advice?

    • Kumar says:

      Brian try typing =Concatenate( and then click on the column you want first , "for spaces between the words", click the second column you want )

  3. Bilal says:

    thanks a lot for merge formula.

  4. Andrea says:

    Saved me hours of cut and paste - thank you!!

  5. Justin says:

    Try this formula : [=A2&" "&B2] , Use the Cells you wish to combine instead of A2 and B2 :)

  6. trey says:

    you missed a step. How do you automatically change the column numbers? If I want to merge 3,000 cells, it's going to take a couple of days to do.

    • maxasra says:

      Hi Trey,
      Drag the formula down- it worked for me. Then i copied and pasted it as value in the other column and then back again.

  7. Muhammad Arshad Bhatti says:

    very useful information you share,
    I like it very much.

  8. Phil says:

    Thank you

  9. Roman slepcik says:

    Many thanks.

  10. Lisa says:

    Thank you! Big time saver for me today!

  11. Sandeep Gupta says:

    Merge Tool is really great

  12. Sara Polo says:

    Super helpful - saved me tons of time. #1 option was easy. Thank you!!!!!!!

  13. ML says:

    I downloaded the add in and in the merge cells pop up window. How to Merge field does not give me 'row by row' option only 'rows into one' which creates on really long row and not the individual rows.

  14. Taff says:

    Thank you very much , very useful info

  15. Pradnya Ghoderao says:

    Thanks a lot. This trick saved a lot of my time.

  16. RAJE says:

    THANK YOU FOR YOUR HELP.

  17. Auz says:

    Hi,

    Thanks for this tutorial. I'd like to merge date and time into a row. However, they are in different format so the dates appear to be incorrect after merge. Can you please advise me what's the best way to do this? I downloaded Ablebeit Data but I can't merge row by row. There are only rows into one, col. into one and cells into one?

    Thanks.

    • Doug says:

      Auz:
      Don't know of any way to format one cell with different time and date formats. Excel uses two different methods to store these types of numbers.

  18. Phinz says:

    Thanks! Saved me a lot of time! ;-)

  19. Gleno says:

    THANK YOU! The formula tip saved me 6 hours of needless work.

  20. hari Kishan Ojha says:

    Thankx so much saved my lot of time

  21. Paul Ferrise says:

    As a release manager, I can't always remember all the formulas and I use excel a lot. It is great to be able to come to this site and get quick references to my needs. Thanks for providing such a great service. Have been spreading the word on your site for sometime now...

  22. Raanan says:

    Thanks!

  23. Ajit Micah says:

    All the suggestion works. Awesome

  24. Manish says:

    Awesome!!

  25. Kay says:

    Thanks so much, this helped me a lot!

  26. Shubham moonat says:

    Thank you for your post. It helps me alot. Thanks

  27. Ajay Kumar says:

    concatenation was superb function
    It saved my 8 hours effort :)

  28. neeza says:

    I just copy the name and address column and paste in Word table with the same number of rows and columns, then merge the cell.

  29. arman says:

    Simple Trick and Instructions But Can Save Ton's of Value Time....

  30. Leesa says:

    Thanks, Exactly what I've been looking for. Saved me a lot of time.

  31. Cal says:

    Information was helpful.

  32. sayali says:

    thanks.

  33. Jaqueline Maritz says:

    Hi,

    I have done merging of cells using the above formula with the ampersand sign hundreds of times - yet somehow - it does not seem to work with the current spreadsheet I have been provided. Is it due to the fact that it opens in compatibility mode? what can I change on the spreadsheet in order for this to work? Thanks

    • Doug says:

      Jaqueline:
      What is the formula you're using? Can you copy and paste it here?
      What is the result you're getting with the formula you're using?

  34. Melissa says:

    Loved this tutorial! Worked 100%

  35. Shak says:

    100% worked. Thank you. I was able to add comment within formula.

    =CONCATENATE("Trans Date ",A46,", ",C46,", Cheque #", D46)

  36. YOSSI says:

    How to remove your addon from my computer?????????????

  37. Bob L says:

    Very helpful tutorial. It works like a champ and is very helpful. I am using Excel 2016 in Windows 10 and it worked on the first try.

  38. EVAN says:

    Hi,
    I had two columns of names from 2017 and 2018, which I needed to combine. I copied then pasted the second column directly under the first column. I highlighted the entire column then "sorted" the column alphabetically.

    Hope this helped someone.

  39. Thuy says:

    Thanks +++++

  40. Jeff Hauser says:

    Using Office 365, the concatenate formula only worked after I changed the format of the column from "text" to "general".

  41. David says:

    Hi guys,

    would you please help me with merging cells where in one there is a place (city) and in second there is a time? Couldnt figure it our from the text above. Thank you very much.

  42. Caitie says:

    Thanks for taking the time to give this detailed guide!

  43. RT says:

    Thanks so much. Very helpful.

Post a comment



Unfortunately, due to the volume of comments received we cannot guarantee that we will be able to give you a timely response. When posting a question, please be very clear and concise. We thank you for understanding!
Excel add-ins and Outlook tools - Ablebits.com
33
Ultimate Suite 2018.5 for Excel
33
60+ tools for Excel
November offer: Nov. 5 – Nov. 21