Unable to Merge Cells in a Table in Excel? – 3 Solutions

 

Dataset-Excel Unable to Merge Cells in Table

Reasons why Cells don’t Merge in an Excel Table

1- Cells are within the Excel Table:

To merge cells in a table, we need to convert it into a simple range.


2- The Worksheet is Protected:

To unprotect the worksheet and merge cells, go to Review > Protect > Unprotect Sheet.

Worksheet unprotect-Excel Unable to Merge Cells in Table


3- The Worksheet is Shared:

To Unshare the worksheet and merge cells, go to Review > Protect > Unshare Workbook.  The workbook can also be unshared using the Review tab.

Unshared worksheet-Excel Unable to Merge Cells in Table


Unable to Merge Cells in a Table? – 3 Solutions


Solution 1 – Using the Convert to Range Feature to Enable Merging Cells in aTable

Step 1

  •  Select the entire dataset. Go to Table Design > Tools > Convert to Range

Convert to Range-Excel Unable to Merge Cells in Table

Step 2

In the confirmation pop-up, click YES.

Confirmation

The Excel Table is transformed into a normal range.

  • Highlight the cells you want to merge. The Table Design is not active as you are working with a range.

no table design tab

Step 3

  • Select the cells you want to merge.
  • Go to Home > Alignment > Select Merge & Center.

Merge & Center

  •  In the displayed window, click OK.

confirmation

  • Merge & Center the other cells.

This is the output.

Final result-Excel Unable to Merge Cells in Table


Solution 2 – Enabling Merge Cells in a Table Using the Context Menu

Step 1

  • Select the entire Table or click any cell within the Table and Right-Click.
  • In the Context Menu, choose Table >Convert to Range.

context menu-Excel Unable to Merge Cells in Table

Step 2

  • A confirmation window is displayed. Click YES.

Confirmation

Step 3

  • Repeat Step 3 of Method 1 and cells will be merged.

Final Result


Solution 3 – Using a VBA Macro to Merge Cells in a Table

Step 1

  • Press ALT+F11 to open the Microsoft Visual Basic window.
  • Go to the Insert tab > Select Module.

Module

Step 3

  • Enter the following code in the Module.
Sub TableToRange()
Dim wrkSheet As Worksheet
Dim wrkList As ListObject
Set wrkSheet = ActiveWorkbook.ActiveSheet
For Each wrkList In wrkSheet.ListObjects
wrkList.Unlist
Next
End Sub

macro

In the macro:

ListObject is the wrkList variable; Table is considered in ListObject. Each ListObject is Unlisted using Worksheet.Unlist. VBA FOR runs the loop.

Step 3

  • Press F5 to run the macro. The Table Design is not active as you are working with a range.

 

No table design tab

This is the output.

Final result


Download Excel Workbook


<< Go Back to Excel Merge Cells | Merge in Excel | Learn Excel

Get FREE Advanced Excel Exercises with Solutions!
Maruf Islam
Maruf Islam

MARUF ISLAM is an excellent marine engineer who loves working with Excel and diving into VBA programming. For him, programming is like a superhero tool that saves time when dealing with data, files, and the internet. His skills go beyond the basics, including ABACUS, AutoCAD, Rhinoceros, Maxsurf, and Hydromax. He got his B.Sc in Naval Architecture & Marine Engineering from BUET, and now he's switched gears, working as a content developer. In this role, he creates techy content... Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo