How to find merged cells in excel
Tutor 5 (273 Reviews)
Excel Tutor
Still stuck with a Excel question
Ask this expertAnswer
To find merged cells in Excel, use the built-in selection and search tools that identify cells with the Merge property. Follow one of these methods depending on what you need: select them visually, locate their addresses, or produce a list.
Method 1 — Use Go To Special (fastest way to select merged cells)
-
Select the worksheet (click any single cell to activate the sheet).
-
On the ribbon, go to Home > Find & Select > Go To Special.
-
In the Go To Special dialog, select Merged cells.
-
Click OK.
-
Excel selects every merged area on the active sheet so you can format, clear, or inspect them.
Windows shortcut note: Press Ctrl+G then click Special..., or press F5, then Special....
Mac shortcut note: Press Command+G then click Special....
Method 2 — Use Find (search for cells with the Merge format)
-
Press
Ctrl+F(Windows) orCommand+F(Mac) to open Find. -
Click Options to expand settings.
-
Click Format....
-
In the Format Cells dialog go to the Alignment tab.
-
Check Merge cells and click OK.
-
Leave Find what blank to match any content or enter text to search within merged cells.
-
Click Find All to see a list of every match and their addresses, or click Find Next to jump through them.
Difference for Mac: The dialog labels and layout are the same; use Command+F to open Find and then Options.
Method 3 — Use a short VBA macro to list merged areas (produce addresses)
-
Press
Alt+F11(Windows) orOption+F11(Mac) to open the Visual Basic Editor. -
Insert a new module: Insert > Module.
-
Paste the macro below and run it (select the sheet to scan before running).
Sub ListMergedCells()
Dim ws As Worksheet, outWs As Worksheet
Dim a As Range, mergedArea As Range
Dim r As Long
Set ws = ActiveSheet
On Error Resume Next
Application.ScreenUpdating = False
Set outWs = Worksheets.Add(After:=Worksheets(Worksheets.Count))
outWs.Name = "MergedCellsList"
outWs.Range("A1:D1").Value = Array("Merged Area", "Address", "Top-left Value", "Row Count x Col Count")
r = 2
For Each a In ws.UsedRange
If a.MergeCells Then
Set mergedArea = a.MergeArea
outWs.Cells(r, 1).Value = mergedArea.Address
outWs.Cells(r, 2).Value = "'" & mergedArea.Address(External:=False)
outWs.Cells(r, 3).Value = mergedArea.Cells(1, 1).Value
outWs.Cells(r, 4).Value = mergedArea.Rows.Count & " x " & mergedArea.Columns.Count
r = r + 1
Set a = mergedArea.Cells(mergedArea.Cells.Count) 'skip to end of area
End If
Next a
Application.ScreenUpdating = True
On Error GoTo 0
MsgBox "Finished. See sheet: " & outWs.Name, vbInformation
End Sub
-
Run the macro with the cursor inside the sub and press
F5or choose Run > Run Sub/UserForm. -
The macro creates a new sheet named MergedCellsList that lists every merged area address, the top-left value, and its size.
Method 4 — Visual inspection tips (useful when there are few merges)
-
Turn on Gridlines and cell borders to make merged areas more obvious.
-
Use Home > Alignment > Wrap Text and Center across selection alternatives to avoid accidental merges.
Which method should I use?
To select merged cells quickly, use Go To Special.
To get a clickable list of where merged cells live, use the Find dialog with the Merge format and Find All.
To generate a permanent inventory, run the provided VBA macro.
Common pitfalls and best practices
-
Merged cells break many functions such as sorting and some pivot table operations; avoid merging when possible.
-
Use Center Across Selection (Format Cells → Alignment) as a safer visual alternative to merging.
-
When removing merges, clear contents of merged areas first if you need to preserve data.
-
Remember that a merged area’s displayed value comes from its top-left cell only.
How to unmerge once you find them?
To unmerge selected merged cells:
-
Select the merged cells (use Go To Special or Find).
-
On the ribbon go to Home > Merge & Center and click to toggle off merging, or choose Merge & Center dropdown > Unmerge Cells.
Windows vs Mac differences
-
Keyboard shortcuts differ: use
Ctrlon Windows andCommandon Mac for Find/Go To. -
Dialog layouts are equivalent; the path names on the ribbon remain Home > Find & Select and Home > Merge & Center on both platforms.
-
VBA runs in both but on Mac you might need to enable Developer tools and assign permissions for macros.
Answers to likely short questions
Are merged cells easy to find?
Yes. Use Go To Special > Merged cells to select them instantly.
Can formulas detect merged cells directly?
No. Formulas cannot reliably detect merged-cell formatting across a sheet; use Find/Go To Special or VBA for accurate detection.
. Was this Helpful?Get Online Tutoring or Questions answered by Experts.
You can post a question for a tutor or set up a tutoring session
Answers · 1
How to sort by highlighted cells in excel
Answers · 1
How to sort excel by column and keep rows together
Answers · 1
How to sort by time in excel
Answers · 1
How to sort alphabetically in excel by last name
Answers · 1