How to Ungroup in Excel: Step-by-Step Guide
In this article
To ungroup rows or columns in Excel, select any cell inside the grouped range and press Alt+Shift+Left Arrow (Windows) or Command+Shift+J (Mac), or go to Data > Outline > Ungroup. If you grouped objects (shapes, charts, pictures), select them, then use Shape Format > Group > Ungroup or press Ctrl+Shift+G. The exact method depends on what was grouped—outline groups, objects, or pivot table items—so the steps below cover each case.
What You'll Need
- Microsoft Excel for Windows or Mac (desktop version). The web version has limited grouping support; some features like outline ungrouping may not be available.
- The workbook containing the grouped items, open and editable (not read-only).
- Basic familiarity with selecting cells, rows, columns, or objects.
Step-by-Step
- Identify what is grouped. Look for outline symbols (plus/minus buttons or numbered levels) to the left of rows or above columns—that indicates an outline group. If you see multiple objects moving together when you drag one, they are grouped objects. If you see a pivot table with expand/collapse buttons, those are pivot table groups.
- For outline groups (rows or columns): Select any cell inside the grouped range. Go to the Data tab, then click the Ungroup button in the Outline group. If you want to remove all levels at once, click the arrow next to Ungroup and choose Clear Outline. Alternatively, press Alt+Shift+Left Arrow (Windows) or Command+Shift+J (Mac).
- For grouped objects (shapes, pictures, charts): Click one object, then hold Ctrl (Windows) or Command (Mac) and click the others to select them all. Go to the Shape Format or Picture Format tab, click Group, then choose Ungroup. Or press Ctrl+Shift+G (Windows) or Command+Shift+G (Mac).
- For pivot table groups: Select a cell inside the pivot table. On the PivotTable Analyze tab (or Analyze tab), click Ungroup. If you need to ungroup specific items, select those items first, then click Ungroup.
- Verify the ungrouping. The outline symbols should disappear, objects should move independently, or pivot table items should expand back to individual entries. Save your workbook.
Note: Menu labels can differ slightly by Excel version, device, or region. For example, the Data tab may show “Ungroup” under the Outline section, and the Shape Format tab may be called “Drawing” on some versions.
Common Mistakes
- Selecting only part of the group: For outline groups, you must select a cell within the grouped range; selecting outside may ungroup a different level or do nothing.
- Confusing object groups with outline groups: The Data > Ungroup command only works for outline groups. For shapes, use the Shape Format tab.
- Using the web version: Excel for the web does not support all grouping features; you may need the desktop app to ungroup outline or pivot table groups.
- Forgetting to clear all levels: If you only ungroup once, you may remove one level but leave others. Use Clear Outline to remove all.
- Ungrouping pivot table items incorrectly: If you ungroup a pivot table field, you may lose the custom grouping; ensure you have a backup if needed.
Tips
- Use keyboard shortcuts for speed: Alt+Shift+Left Arrow (Windows) or Command+Shift+J (Mac) for outline groups; Ctrl+Shift+G (Windows) or Command+Shift+G (Mac) for objects.
- To ungroup all outline levels at once, go to Data > Ungroup > Clear Outline.
- If the Ungroup button is greyed out, make sure you have selected a cell inside a grouped range and that the sheet is not protected.
- For pivot tables, you can ungroup specific items by selecting them before clicking Ungroup.
- Always save a copy before ungrouping pivot table items, as regrouping may not restore the exact original layout.
Troubleshooting
- Ungroup button is greyed out: Check that you have selected a cell within the grouped range. If the sheet is protected, unprotect it via Review > Unprotect Sheet. Also, ensure you are using the desktop version of Excel; the web version has limited support.
- Keyboard shortcut does nothing: Confirm you are pressing the correct keys for your platform. On Windows, Alt+Shift+Left Arrow; on Mac, Command+Shift+J. If it still fails, try the menu method.
- Objects won't ungroup: Make sure multiple objects are selected. If the Group option is greyed out, the objects may be part of a SmartArt graphic or a chart, which have their own grouping. For charts, right-click and choose Group > Ungroup if available.
- Pivot table ungroup option missing: Ensure the pivot table is not based on an external data source that doesn't support grouping. Also, check that you have selected a cell inside the pivot table and that the field is groupable (e.g., dates or numbers).
- Outline symbols disappear but rows still collapse: This may indicate that the rows are hidden manually, not grouped. Select the rows, right-click, and choose Unhide.
Frequently Asked Questions
How do I ungroup all rows at once in Excel?
Select any cell in the grouped range, go to Data > Ungroup > Clear Outline. This removes all outline levels.
Can I ungroup in Excel for the web?
Excel for the web has limited grouping support. You may not be able to ungroup outline or pivot table groups; use the desktop app for full functionality.
What is the keyboard shortcut to ungroup objects?
Select the objects, then press Ctrl+Shift+G (Windows) or Command+Shift+G (Mac).
Why is the Ungroup button greyed out?
You may not have a cell selected inside a grouped range, the sheet may be protected, or you are using a version that doesn't support the feature.
How do I ungroup a pivot table?
Select a cell in the pivot table, go to PivotTable Analyze > Ungroup. For specific items, select them first.
Does ungrouping delete my data?
No, ungrouping only removes the grouping structure; your data remains intact.