To unmerge cells in Excel, select the merged cell, go to the Home tab, and click Merge & Center (in the Alignment group). This toggles the merge off and restores the individual cells. You can also use the dropdown arrow next to Merge & Center and choose Unmerge Cells. On Mac, the same button is in the Alignment group on the Home tab.
Why Merged Cells Cause Problems
Merged cells are a common source of frustration in Excel. When you merge two or more cells, Excel keeps only the upper-left value and discards the rest (unless you use the “Merge Across” option, which merges each row separately but keeps all values). This can break sorting, filtering, copying, and formulas. For example, if you merge A1:A3 and try to sort the column, Excel will warn you that merged cells must be unmerged first. Similarly, filtering a range with merged cells can hide data unexpectedly. Because of these issues, many Excel users avoid merging altogether, using “Center Across Selection” instead (see Alternatives below). But if you already have merged cells, unmerging them is straightforward.
How to Unmerge a Single Cell
The fastest way to unmerge one cell is to use the ribbon button. Here’s the step-by-step:
- Click the merged cell you want to unmerge. If you need to unmerge multiple merged cells, hold Ctrl and click each one (or select a range that contains them).
- Go to the Home tab.
- In the Alignment group, click the Merge & Center button. This toggles the merge off. Alternatively, click the small dropdown arrow next to it and select Unmerge Cells.
That’s it. The cells revert to their original individual cells. The value that was in the merged cell will remain in the top-left cell of the unmerged range. Any other cells in the former merged range will be empty.
How to Unmerge All Merged Cells in a Worksheet
If you have many merged cells scattered across a sheet, unmerging them one by one is tedious. Use Excel’s Find & Select feature:
- Press Ctrl+G (Go To) or F5 to open the Go To dialog. On Mac, press Control+G or F5.
- Click Special at the bottom left.
- In the Go To Special dialog, choose Blanks and click OK. This selects all blank cells in the used range—but note that merged cells are not blank; they contain a value in the top-left cell. So this trick doesn’t directly select merged cells.
Actually, the correct method is to use the “Find” feature:
- Press Ctrl+F to open Find and Replace.
- Click Options to expand.
- In the “Find what” box, leave it blank. Next to “Within”, choose Sheet. Next to “Look in”, choose Values.
- Click Find All. This lists all cells with content, but not merged ones specifically.
A better approach is to use a simple VBA macro to unmerge all merged cells at once. Here’s a safe macro:
Sub UnmergeAllCells()
Dim cell As Range
' Loop through each cell in the used range
For Each cell In ActiveSheet.UsedRange
If cell.MergeCells Then
' Unmerge the merged area that contains this cell
cell.MergeArea.UnMerge
End If
Next cell
End Sub
To use this macro, press Alt+F11 to open the VBA editor, insert a new module (Insert > Module), paste the code, and press F5 to run it. Remember to save a copy of your workbook before running any macro, because macros cannot be undone with Ctrl+Z. This macro will unmerge every merged cell in the active sheet, leaving the values in the top-left cells of each former merged range.
What Happens to the Data When You Unmerge?
When you unmerge a cell, the data that was in the merged cell stays in the top-left cell of the unmerged range. The other cells become empty. For example, if you merged A1:C1 and typed “Sales”, after unmerging, A1 will contain “Sales”, and B1 and C1 will be blank. If you had multiple values in the merged range before merging (e.g., A1 had “Sales”, B1 had “Q1”), the merge would have kept only “Sales” and discarded “Q1”. Unmerging does not bring back the discarded data. To avoid losing data, always check the content before merging, or use “Merge Across” (which merges each row separately but keeps all values) if you need to preserve data.
Common Problems and Misconceptions
- “Unmerge Cells” is grayed out: This happens when the selected cells are not merged. The button is only active when a merged cell is selected.
- I can’t select a merged cell because it’s part of a larger range: You can click on any part of the merged range—Excel will select the entire merged area.
- Unmerging doesn’t work on protected sheets: If the sheet is protected, you need to unprotect it first (Review tab > Unprotect Sheet).
- Merged cells in a table: Excel tables do not allow merged cells. If you try to merge cells inside a table, Excel will block it. So you won’t have this issue in tables.
- Misconception: Unmerging will lose data. As explained, only the top-left value is kept, but that value is not lost—it just stays in the top-left cell. The other cells were already empty after merging.
Alternatives to Merging Cells
If you’re unmerging because merged cells are causing problems, consider using Center Across Selection instead. This visually centers text across multiple cells without actually merging them. To use it:
- Select the range of cells you want the text to span (e.g., A1:C1).
- Press Ctrl+1 to open Format Cells.
- Go to the Alignment tab.
- Under “Horizontal”, choose Center Across Selection.
- Click OK.
This keeps the cells separate, so sorting, filtering, and formulas work normally. The text appears centered across the selection, but each cell retains its own identity. This is often the best practice for headers and labels.
Frequently Asked Questions
Can I unmerge cells without losing the data in the other cells?
No, because the data in the other cells was already lost when you merged them. Excel only keeps the upper-left value. If you need to preserve data from multiple cells, don’t merge them—use Center Across Selection or just leave them unmerged.
How do I unmerge all cells in a sheet at once?
Use the VBA macro provided above. It loops through the used range and unmerges every merged area. Alternatively, you can manually select all cells (Ctrl+A) and click Unmerge Cells, but that will only unmerge if all selected cells are part of a merge—actually, selecting all cells and clicking Unmerge will unmerge any merged cells within the selection, so that works too. Just press Ctrl+A, then click the dropdown next to Merge & Center and choose Unmerge Cells. This will unmerge all merged cells in the sheet.
Why does the Merge & Center button appear pressed even after I unmerge?
That can happen if you have multiple cells selected and some are merged and some are not. The button shows a mixed state. Clicking it once will unmerge the merged ones; clicking again may merge them. To avoid confusion, select only the merged cell you want to unmerge.
Does unmerging affect formulas that reference the merged cell?
Yes. If a formula references a merged cell, it references the top-left cell. After unmerging, that cell still contains the value, so the formula continues to work. However, if the formula referenced the entire merged range (e.g., =SUM(A1:A3) where A1:A3 was merged), after unmerging the range includes empty cells, which is fine for SUM but may affect other functions like COUNTA.
Can I undo an unmerge?
Yes, you can press Ctrl+Z immediately after unmerging to revert the action. This works for the ribbon method and the macro? Actually, macros cannot be undone with Ctrl+Z, so if you run the VBA macro, you cannot undo it. Always save a backup before running macros.
Is there a keyboard shortcut to unmerge cells?
There is no dedicated shortcut, but you can use the Alt key sequence: press Alt+H then M then U (this activates Home, Merge & Center dropdown, and Unmerge Cells). On Mac, press Control+Option+H then M then U? Actually, on Mac, you can use the ribbon or assign a custom keyboard shortcut via the Quick Access Toolbar.
Related
- How to Calculate Tenure in Excel: Step-by-Step
- Google Sheets SUMIF Syntax & Examples
- How Much Coding for Data Mining?
Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.
More in How-to basics
- Excel Print Zoom to Fit Page: Setup and Common FixesTo make an Excel worksheet fit on one printed page in Microsoft 365 for Windows, select the sheet,…
- Google Sheets Timesheet Template: Free Setup and TipsYes. You can use a free timesheet template in Google Sheets by opening a suitable template from the…
- Excel Insert Page Break Based on Cell Value?Excel has no built-in setting or worksheet formula that automatically inserts a page break when a cell contains…
- How to Insert a Small Vertical Line in Word and Format ItTo insert a small vertical line in Microsoft Word, choose Insert > Shapes > Line, then drag while…
- What Is the Shortcut for Save? (Ctrl+S & More)The most common shortcut for saving a file is Ctrl+S on Windows and Command+S on Mac. It works…
- Excel Number Format for Lakhs With CommasTo show Indian-style comma grouping in Excel, select the cells, press Ctrl+1, choose Number > Custom, enter #,##,##0…
Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources
Spotted an error in this guide? Let us know.