Tổng Hợp

Merge cells in excel (examples)

Merge Cells in Excel

Merge Cells in Excel (Table of Contents)

Merge Cells in Excel

Merge cells in excel is used for merging more than one cell. This is quite useful when we need to assign one value of the cell to 2 or more cells. To merge the cells in excel, select those cells, and from the home menu tab, select Merge & Center from the alignment section. This will combine both of those selected cells, but it will keep only the first value to be seen, and others will be eliminated.

Start Your Free Excel Course

Excel functions, formula, charts, formatting creating excel dashboard & others

Merge Cells in Excel Using Merge & Center Option

Merging essentially means having the combined values of multiple cells in one. Perhaps the most used and one of the simplest ways to achieve this using the “Merge & Center” option available in the Home ribbon.

Merge and Center

There is, however, a drawback with this method of merging. If we have some data in cells A1 and B1, using this form of merging would result in the retention of the left-hand value and the overwriting of the right-hand value.

Let us look at an example to get a better understanding of this drawback.

We have a list where the first column (A) contains the first names and the second column (B) has the last names. If we wish to merge the contents of “First Name” and “Last Name”, then this method fails as it takes only the left-hand value, completely overwriting the right-hand values.

Merge Cells Example 1-1

Step 1: We will need to select the cells that we wish to merge together. In this scenario, we shall select cells A2 and B2.

Merge Cells Example 1-2

Step 2: We will click on the “Merge & Center” option on the Home ribbon next.

Merge Cells Example 1-3

Step 3: The moment we click on “Merge & Center”, we get a dialogue box pop up showing a warning, mentioning that only the left-hand value would be considered, and the right-hand value would be discarded.

Xem thêm :  Cá chép nấu canh chua cá chép nấu dọc mùng và nấu khế đơn giản

Merge Cells Example 1-4

Step 4: Click on “OK”

Merge Cells Example 1-5

Step 5: Once we click on “OK”, we shall get the following result

Merge Cells Example 1-6

So, what happened here is that Excel merged the two cells together instead of the cell values. Due to this, we did get a merged cell, but we lost the “Last Name” in the process. This is the main drawback of using the “Merge & Center” option.

Now we shall discuss the two best ways to merge cells in Excel.

Best ways to Merge cells in Excel

So you might have the question – What is the correct and most effective way to merge cells in Excel? Here’s the answer to that.

  • Concatenation formula
  • Ampersand (&) Operator

Let us see what each of these options is in detail.

Merge cells Using CONCATENATE

As we have seen by now that Excel has a vast array of formulas for various needs. The CONCATENATE formula can merge the contents of multiple cells into one cell. By using this method, we can successfully merge the “First Name” and the “Last Name” without losing any data in the process. However, the result would be available in a new cell.

Step 1: First, we shall select Cell C2.

merge cells Using Concatenation 1

Step 2: Next, we shall be applying the CONCATENATE formula as shown below.

merge cells Using Concatenation 2

On applying this formula, we shall now get the correct results:

merge cells Using Concatenation 3

Similarly, We will Get Other Results.

merge cells Using Concatenation 4

Now, if we look at the breakup of the formula:

A2 = The first cell that we wish to merge.

“ “ = The space between the First Name and the Last Name.

B2 = The last cell that we wish to merge.

We can merge multiple cells into one using this method, but it will be in a different cell.

Merge Cells Using Ampersand (&) Operator

Similar to the way in which we merged two cells using the CONCATENATE function, we shall use the ampersand (&) operator. The only difference will be that we shall use the “&” operator instead of the CONCATENATE function.

Step 1: First, we shall select the cell C2:

Xem thêm :  Làm tôm ngâm tương nhưng kết quả khiến cô gái khóc ròng, đăng đàn hỏi cư dân mạng bị chỉ ngay lỗi sai "tày trời"

merge cells Using Ampersand 1

Step 2: Next, we shall apply the formula as shown below.

merge cells Using Ampersand 2

This would give us the following result:

merge cells Using Ampersand 3

Similarly, We will get another Result.

merge cells Using Ampersand 4

Merge Option

Let us discuss the different options in the “Merge” option mentioned briefly earlier.

  • Merge & Center: This option will merge the selected cells by keeping only the left-hand value and making the text alignment as the center.

Merge and Center option

  • Merger Across: “Merge Across” would merge the selected cells but would not change the alignment.

Merger Across option

  • Merge Cells: This is perhaps the simplest option – It would just merge the selected cells.

Merge Cells option

  • Unmerge Cells: “Unmerge Cells” is the exact opposite of Merge. It unmerges the cells.

Unmerge Cells option

So now that we have covered how to merge cells in Excel, perhaps it is interesting to know that we can also “Unmerge” cells!

How to Unmerge cells in Excel?

Suppose we have the same set of merged cells that we had seen earlier with the “Merge & Center” option.

You can download this Merge Cells in Excel Template here – Merge Cells in Excel Template

Unmerge Cells 1

Now to unmerge these cells, we will need to once again to the Home ribbon and navigate to the “Merge & Center” option and click on the drop-down arrow at the side, to open up the underlying options.

Unmerge Cells 2

Now, here we shall select the “Unmerge Cells” option to unmerge the selected cells.

Unmerge Cells 3

Hence the merged cells have been “unmerged” by using this option.

Unmerge Cells 4

The trick to Quickly Merge Multiple Cells in Excel

Suppose we have to merge multiple cells in Excel. Our objective here is to merge all the cells for a “Year” for all entries for a particular year.

Trick to merge many cells 1

Step 1: We shall proceed with selecting the cells A2 to A4.

Trick to merge many cells 2

Step 2: Next, we shall go to the Home ribbon and click on “Merge & Center”.

Trick to merge many cells 3

As we see in the below screenshot, the cells A2, A3 and A4 have been successfully merged.

Trick to merge many cells 4

Step 3: Now, we shall simply click on this merged cell and then click on “Format Painter” in the Home Ribbon.

Xem thêm :  Chỉ bạn 2 cách luộc bao tử heo, nấu thịt xá xíu mềm ngon đúng chuẩn, giòn ngon không bị hôi, ai cũng nên biết

Trick to merge many cells 5

This causes the selected cells to be highlighted, as shown below.

Trick to merge many cells 6

Step 4: Next, we shall select and drag cells A5 to A10.

Trick to merge many cells 7

As we can see, the merging has been carried out for the rest of the years by simply clicking on “Format Painter”. The format Painter essentially copies the same format from the source cells(s) and applies it across all the destination cells.

Things to Remember About Merge Cells in Excel

  • Sorting data over merged cells in Excel is not possible.
  • Navigating through merged cells can become difficult and cumbersome.
  • It is advisable to use the merge cells option only for headings.
  • The merge option is limited to merging cells and not the cell values.
  • If we have to merge the cell values, we will need to use either the CONCATENATE function or the Ampersand (&) Operator.
  • There is a shortcut to merge cells in Excel: Alt + H + M + U. This combination of key presses merges as well as unmerges the cells that are selected in the excel sheet.

Recommended Articles

This has been a guide to Merging Cells in Excel. Here we discuss how to Merge Cells in Excel along with practical examples and a downloadable excel template. You can also go through our other suggested articles –

0

Shares

Share


[04] Trộn, gộp và hủy trộn, gộp các ô trong Excel – Merge cells


Thông tin Donate STK: 109005606811 – CTK: Le Nhat Tung – Ngân hàng TMCP Công thương Vietinbank – Chi nhánh HCM. Bài 04 Trộn, gộp và hủy trộn, gộp các ô trong Excel Merge cells
Link download các file excel: http://www.mediafire.com/folder/trexxmvultcng/Excel_co_ban
Các bạn hãy đăng ký kênh, like và chia sẻ, đón xem bài hướng dẫn tiếp theo nhé.
Cảm ơn và chúc các bạn một ngày vui vẻ.

Xem thêm bài viết thuộc chuyên mục: Tổng Hợp Tại nhahangcarnaval.com
Xem thêm bài viết thuộc chuyên mục: Tổng Hợp

Related Articles

Check Also
Close
Back to top button