One of the most general uses utilized by beginner excel users is merging cells. However, they have several disadvantages that make them a poor choice. I’ll show you all you need to know about merged cells in this post, including 7 different techniques to merge cells in an Excel table.
Download Practice Workbook
Download this practice workbook to exercise while you are reading this article.
7 Quick Ways to Merge Cells in an Excel Table
Consider the following data set where a list of names is placed. But for a better understanding, you need to merge the cells. In the sections below, we’ll demonstrate how to merge the cells with various examples including VBA code.
1. Apply the Merge & Center Command to Merge Cells in Excel Table
It’s the most popular way of merging cells. Follow the instructions below to merge cells using the Merge & Center Command.
- Firstly, select the cells.
- From the Home Tab, Select the Merge & Center
Therefore, you will see that cells B4:B9 are merged.
Read more: How to Merge and Center Cells in Excel
2. Use Keyboard Shortcut to Merge Cells in Excel Table
Using the keyboard shortcut to merge cells is an underappreciated but simple way. Follow the instructions below to do so.
- To merge the cells, select the cells at first.
- Press Alt + H a and release then.
- Finally, press M + M .
As a result, your required cells will be merged.
Notes. Don’t press Alt + H + M + M at a stretch, first press Alt + H and then M + M after release.
Read more: How to Merge Cells in Excel with Data
3. Merge Cells in Excel Table Using Format Cells
Format cells can also be used to merge cells. You may do so by using the Alignment option in the Format Cell Dialog Box. Format Cells will guide you through the processes to merge cells as described in the steps below.
- Press Ctrl + 1 to open the Format Cell Dialog Box.
- Choose the Alignment
- Mark the Merge cells
- Press Enter to see the results.
Read more: How to Merge Text Cells in Excel
4. Apply the Copy & Paste Option to Merge Cells
When you need to duplicate the same column or row width, you may use the Copy & Paste method.
- Firstly, select the cells.
- Press Ctrl + C to copy.
- To paste press Ctrl + V in the required location.
Consequently, you will obtain the result as shown in the below screenshot.
- How to Merge Text from Two Cells in Excel (7 Methods)
- Merge Text from Two or More Cells into One Cell (Easiest 6 ways)
5. Run a VBA Code to Merge Cells in Excel Table
Additionally, you can merge cells by applying the VBA code. To see the procedure, follow the steps below.
- To active the VBA Macro-Enabled worksheet, press Alt + F11.
- Click on the Insert option from the tab.
- Select the Module from the options available.
- Paste the following VBA
Sub MergeCells_Names() Range("B4:B9").Merge End Sub
Therefore, you will get the following result.
6. Merge Cells in Excel Inside a Pivot Table
After constructing a Pivot Table, you may need to merge cells. However, if you are unfamiliar with the method, you must recreate the Pivot Table. So, to make things easy, simply follow the steps.
- Select a cell in the Pivot Table.
- Select Design from the tab.
- Then, choose the Report Layout
- Choose the Show in Tabular Form
- Go to PivotTable Analyze and select the Options
- After opening the box, go Layout & Format
- Mark the check box named with Merge and Center cells with labels.
- Finally, press Enter.
- Therefore, you will get the result as shown in the below image highlighted by yellow color.
7. Merge Multiple Ranges of Cells at a Time in Excel Table
Merge multiple cells is one of the easiest tasks to do. Just follow the steps described.
- Select cells at once.
- Hold the Ctrl button and continue to select cells you want to merge.
- Click on the Merge & Center
Therefore, you will have multiple cells merged at once.
To summarize, I hope that this post has shown how to merge cells in an Excel table. Examine the practice book and apply what you’ve learned. Because of your support, we are willing to repay projects like this.
Please do not hesitate to contact us if you have any queries. Please leave a comment below to let me know what you think.
Exceldemy experts will respond to your inquiries as quickly as possible.