Tính năng gộp ô Merge Cell trong Excel không thể giúp chúng ta gộp ô đều chứa nội dung bên trong. Tuy nhiên chúng ta có thể sử dụng hàm chức năng để gộp các ô này lại hoặc có thể sử dụng toán tử "&" cũng mang lại kết quả tương tự. Trong bài viết dưới đây, Mytour sẽ thực hiện một ví dụ gộp 2 cột Họ và Tên trong Excel không mất nội dung bằng việc sử dụng hàm ConcateNate để tạo thành tên hoàn chỉnh.
Merge Last Name and First Name columns in Excel without losing content
We have a data table below consisting of columns Last Name, First Name, Full Name. We will merge columns Last Name and First Name to get Full Name.
Method 1: Using the CONCATENATE string function
The CONCATENATE function concatenates 2 or more strings into one string.
Syntax: CONCATENATE(text1,text2,...)
Where
- Text1: Mandatory. The first item to concatenate, can be text, number, or numerical reference
- Text2,...: Optional. Additional text items to concatenate. Maximum 255 items, 8192 characters
Enter the formula =CONCATENATE(B5,' ',C5) into cell D5, then press Enter to check the result
Drag down to copy the formula and complete the cells below.
Method 2: Using the & operator to concatenate cells
This method is much simpler than using the Concatenate function because you won't need to remember complex function and formula syntax.
Enter the formula =B5&' '&C5 into cell D5, then press Enter to check the result
Drag down to copy the formula and complete the cells below.
Here are 2 methods to merge the Last Name and First Name columns in Excel without losing content. Hopefully, with this article, you have learned how to merge cells without losing content in any cell. Moreover, if you are proficient in Excel shortcuts, you will use this tool better. If not clear, you can also refer to more Excel shortcut articles to perform editing operations in Excel more quickly.
