Categories: Excel Formula

How to Merge Cells in Excel without Losing Data

To merge two cells or more without losing data, you cannot use the “Merge Cells” command because Excel only keeps the data in the upper-left cell, you lose data in another cell. The solution is to use a formula or other solution that is easier and faster, with no formula losing no data. For more details, read the explanation below.

Solution #1, Using TEXTJOIN Function

The excel TEXTJOIN function is the best function provided by Excel to merge multiple cells without losing data. Regardless of the number of cells to be merged, TEXTJOIN function requires only the range address, no need to type all the cell addresses to be merged. The Formula
=TEXTJOIN(" ",TRUE,A2:C2)
The next step is to delete the “First Name”, “Middle Name” and “Last Name” columns. An error appeared, the full name data that was already available properly disappeared instead with #REF! Error. This error occurs because the “Full Name” column contains a formula. You must convert the formula to the text, do this by doing a Copy (CTRL+C) – Paste Special (CTRL+ALT+V) – Values. Please see the video tutorial below, for step by step:
For solutions with other functions, please read the following article:

Solution #2, Using Flash Fill Menu

Flash Fill is no formula solution. Type 1 combined data with the desired format in the first row. Type the combined data again in the second row, after two or three letters; the combined data list appears for all rows. If the displayed data is as desired, press the ENTER button. You merge cells in excel without a formula. Delete the “First Name”, “Middle Name” and “Last Name” columns, because they are made without a formula no #REF! error will appear.

Solution #3, Using NOTEPAD

Yes, you can use NOTEPAD to combine multiple columns into one column. Do a copy (CTRL+C) in range A2:14, the range containing first, middle and last name then paste (CTRL+V) in NOTEPAD. There are blank spaces with random width between first, middle and last name. The blank space is a TAB character. Use the “Replace” menu to change the TAB character to space. To get the TAB character, do a copy in a blank space between first and middle name. The results are copied back then paste in Excel.

Which One is the Best Solution?

The TEXTJOIN function is a new function, available in Excel 2019 or Excel 365 Subscription. If you don’t have this function, and still want to use a formula, you can consider other functions. For no formula solutions, you can choose to use “Flash Fill” or NOTEPAD. Choose the most comfortable solution for you.

Related Function

Function used in this article

Related Articles

Another articles related to this article
Usefull links
  • Microsoft Excel MERGE and UNMERGE cells documentation
Share
Tags: Flash FillHow to Merge Cells in Excel Without Losing DataHow to Merge Cells Without Losing DataHow to Merge Two Cells in Excel Without Losing DataHow to Merge Two Columns in Excel Without Losing DataMerge 2 Cells in Excel Without Losing DataMerge Cells Without Losing DataMerge Rows in Excel Without Losing DataMerge Two Cells in Excel Without Losing DataPaste Special

Recent Posts

  • Excel Formula

Calculate Number of Days, Weeks, Months and Years Between Two Dates in Excel

Calculate Number of Days Between Two Dates Excel has a function that calculates the number of days between two dates,…

2 weeks ago
  • Excel 101

Flash Fill Excel

What is Flash Fill Excel Flash Fill automatically fills your data when Excel detects a pattern in your initial data…

4 weeks ago
  • Excel 101

Paste Special Excel

What is Paste Special Paste special is a paste but you can choose the result type. As we all know,…

1 month ago
  • Excel Functions

Excel TEXTJOIN Function

What is the Excel TEXTJOIN Function? The excel TEXTJOIN function is the best function to concatenate strings in Excel, has…

1 month ago
  • Excel Functions

Excel CONCAT Function

What is the Excel CONCAT Function? The excel CONCAT function combines all data; it could be a text, a number…

2 months ago
  • Excel Functions

Excel CONCATENATE Function

What is the Excel CONCATENATE Function? The excel CONCATENATE function combines text or numbers into a text. CONCATENATE Syntax CONCATENATE(text1,…

2 months ago