banner



How To Merge Cells In Excel And Keep Data

In this article, I will show y'all several tricks that yous tin can use to merge two cells in Excel without losing data. Using Excel's Merge & Heart command, you cannot merge ii cells in Excel without losing information. You have to use some tricks and techniques.

Why cannot y'all use Merge & Center command in this example?

In the epitome below, you are seeing some First names, last names, and some addresses (Address 1, Accost ii, and Address 3).

we are going to merge the first name and last name of this data set.

Say, I want to combine 'First Name' and 'Last Name' parts and want to make 'Full Name'. So, I select cells A2 and B2 and click on the drop-downwards part of the Merge & Center command and choose Merge & Center command from the list.

Select two cells in excel; both of them have data. Then apply Merge & Center command.

Excel will prove you a message like the following one.

Microsoft Excel warning message. You cannot merge cells and keep both of cells' data using the Merge and Center command.

If y'all click on the OK button, and then prison cell A2'southward value (upper-left) volition exist intact and prison cell B2'southward value will be discarded. The paradigm beneath shows the same. Cell A2 and B2 are merged into 1 cell A2 and information technology is only showing the value, Rickey.

Merging with Merge & Center command will keep the first cell's data.

This is not what we wanted.

We want to merge two or more than cells without losing information.

Let'due south see how we tin can do that.

ane) Merging two cells using CONCATENATE () function

We insert a new column after the Last Proper name and name information technology equally Full Name.

Insert a new column in Excel. Right click and choose the Insert command from the menu.

Name the new column heading with value Full Name.

Now in cell C2, I input this formula: =CONCATENATE(A2," ",B2)

Use Excel's Concatenate Function in the new column

I press enter and drag down this formula for all the cells (up to in that location is data) in the column. You are seeing all the first names and concluding names are merged into a new column.

Cells are merged using Excel Concatenate function. Then copy paste the formula for other cells in the column.

At present this new column (Full Name) holds Excel formulas, so nosotros cannot delete our First Name and Last Name cavalcade data. Let's costless upward this new column from formulas.

Choose the entire column either using the mouse or using this keyboard shortcut (CTRL + SHIFT + Down Arrow) when your cell pointer is placed at the beginning cell of the column.

Copy and pasting the formula for other cells in the same column.

Now press CTRL + C on the keyboard to copy the entire cavalcade and press CTRL + V to paste the copied values in the same identify.

Select all the cells, then use CTRL + C to copy and then using CTRL + V to paste the formula in the same place

Click on the CTRL dropdown and choose the Values (V) option from the Paste Values row.

Choose the Values option from the CTRL drop down. It will paste the values as only values. No formula behind the scene.

So, our cells are freed up from formulas and evidence merely the values.

Only the values are now showing in the column.

Now permit's delete the unnecessary columns (Get-go Name and Concluding Name columns). Select both the A and B columns, correct-click anywhere on the selected area, and cull the Delete command.

Select the First name and Last name column and then right click. Choose the Delete command from the menu.

Here we accept reached our target.

First name and last name columns are deleted. Only showing the Full name column.

Instead of CONCATENATE () office, you can also refer to cells directly like the following image.

Using AND operator to merge two cells in excel

Let'south do something similar this.

merging 3 cells without losing data and adding some extra characters or spaces

In prison cell E2 (create a new column equally Full Address), I write this formula:

<code> =CONCATENATE(B2,",", CHAR(10),"City "&C2,",",CHAR(10),"State "&D2)

merging three or more cells without no loss of data and adding some extra spaces at the end of the data

In this formula, CHAR(ten) part will create a new line. You will just encounter the new lines clearly when yous will wrap-text the cell.

Using CHAR () function will create a new line in the merged text.

To get all the cells in this new format, drag down the formula in other cells.

Annotation: if you have a subscription to Office 365, so you can also employ TEXTJOIN Office to merge Excel cells.

iii) Merging cells using Excel'south Wink Fill characteristic

Flash fill feature was added to Excel in 2013 version. This is a very good tool to employ to merge cells. Permit'southward merge the beginning name and last name using Wink Fill feature.

Again, create a new column after the Final Name and name this new column equally Full Name. In the first prison cell, I type Rickey and Harmon with a space betwixt them.

Merging cells using Excel's Flash Fill feature. Just type the first two values from the first name and last name columns.

Now press CTRL + E on the keyboard. Yous encounter all the cells below are filled with full names. Clicking on the Wink Fill Options drib-down, I simply accept the suggestions. There are other options on the list.

Accept the suggestions that Excel offers to you.

Our new column Full Name, created with Flash Fill, does non hold whatever formula. And then, deleting the Offset Proper noun and Concluding Name columns will non create any problem.

Homework for y'all

Just using the same technique, you can also create a new address column like the following one. This is homework for you. Endeavour information technology yourself.

Merge two or more cells in Excel homework. If you can do this, you're understanding this article.

4) Using Text Editor

This is as well an like shooting fish in a barrel technique.

Copy the columns that you want to merge and paste into a Text Editor.

Using Text Editor (Notepad). Copy the cells that you want to merge and then paste them in a text editor.

In the text editor, write a TAB infinite. I mean just choose a location in the text editor and printing the TAB key on the keyboard. So re-create that TAB space. Just press SHIFT and LEFT Pointer to select the TAB space. Copy information technology (pressing CTRL + C).

Copying TAB space from text editor

At present press CTRL + H on the keyboard. Supersede dialog will announced. In the 'Find what:' field, paste the Tab space (already copied), and in the 'Supervene upon with:' field, press the Spacebar just one time. What nosotros are going to practice is: replacing all the Tab spaces with Spaces.

When done, click on the Supervene upon All control push button.

Using Excel Replace dialog box in Excel

Click on the Cancel button to shut down the Replace dialog and this is what we become. All the Tab spaces are replaced with spaces.

Using Text Editor to merge two or more cells

At present copy this data.

Copying the data from the text editor.

Paste this data into your Excel worksheet.

Paste the data that you have copied from the text editor in an Excel column.

So, y'all're washed.

These are my techniques to merge ii or more cells into ane without losing any data.

Exercise you know whatsoever other technique? Please let me know in the comment box.

Source: https://www.exceldemy.com/how-to-merge-two-cells-in-excel-without-losing-data/

Posted by: brownhadity.blogspot.com

0 Response to "How To Merge Cells In Excel And Keep Data"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel