How to Ungroup in Excel: Step-by-Step Guide
In this article
To ungroup in Excel, select the grouped rows, columns, or objects, then use the appropriate ungroup command: for rows/columns, go to Data > Outline > Ungroup; for objects, go to Shape Format > Group > Ungroup (or Drawing Tools Format > Group > Ungroup). You can also use the keyboard shortcut Alt+Shift+Left Arrow for rows/columns, or Ctrl+Shift+G for objects on Windows. This guide walks you through each method and helps you troubleshoot common issues.
What You'll Need
- Microsoft Excel (any modern version: 2016, 2019, 2021, or Microsoft 365) on Windows or Mac.
- A worksheet containing grouped rows, columns, or objects (shapes, images, charts).
- Basic familiarity with selecting cells and using the ribbon.
Step-by-Step
- Identify what is grouped. Determine whether you have grouped rows/columns (outline groups) or grouped objects (shapes, pictures, charts). The ungroup method differs.
- For grouped rows or columns: Select any cell within the grouped range. If you want to ungroup specific rows/columns, select those rows or columns by clicking and dragging over the row numbers or column letters.
- Go to the Data tab on the ribbon. In the Outline group, click Ungroup. If the group has multiple levels, you may need to click Ungroup repeatedly to remove all levels.
- Alternative for rows/columns: Use the keyboard shortcut Alt + Shift + Left Arrow (Windows) or Command + Shift + J (Mac, depending on version). This removes the outline group for the selected rows/columns.
- For grouped objects: Click on any object within the group to select the group. The ribbon will show a Shape Format or Drawing Tools Format tab (for shapes) or Picture Format (for images).
- On that tab, click Group > Ungroup. Alternatively, right-click the group and choose Group > Ungroup.
- Keyboard shortcut for objects: With the group selected, press Ctrl + Shift + G (Windows) or Command + Shift + G (Mac).
- Verify ungrouping: For rows/columns, the outline symbols (plus/minus buttons) should disappear, and the data remains. For objects, each object can now be selected individually.
Common Mistakes
- Selecting only part of the group: For rows/columns, if you select a cell outside the grouped range, the Ungroup button may be grayed out. Always select a cell within the group or the entire grouped rows/columns.
- Confusing group levels: Excel allows multiple outline levels. Clicking Ungroup once may only remove the innermost level. Check the outline symbols to see if further ungrouping is needed.
- Using the wrong ungroup command: The Ungroup button in the Outline group only works for rows/columns. For objects, you must use the Group > Ungroup command on the Format tab.
- Forgetting to select the group: For objects, if you click outside the group, the Group > Ungroup option won't appear. Click directly on an object within the group first.
- Assuming ungrouping deletes data: Ungrouping only removes the grouping; it does not delete any data or objects.
Tips
- To ungroup all rows/columns at once, select the entire worksheet (click the triangle at the top-left corner) and then click Ungroup. You may need to repeat until all levels are removed.
- Use the Clear Outline command (Data > Outline > Clear Outline) to remove all groups and subtotals in one step. Be careful: this also removes any subtotal rows created by the Subtotal feature.
- For objects, you can also ungroup by right-clicking the group and selecting Group > Ungroup.
- If you need to regroup later, select the rows/columns or objects and use the Group command (Data > Outline > Group or Shape Format > Group > Group).
- Keyboard shortcuts can save time: Alt+Shift+Left Arrow for rows/columns, Ctrl+Shift+G for objects (Windows).
Troubleshooting
- Ungroup button is grayed out: Ensure you have selected a cell within the grouped range or the grouped rows/columns. If the group is part of a protected sheet, you may need to unprotect it first (Review > Unprotect Sheet).
- Ungroup does nothing: The group may have multiple levels. Click Ungroup again. Also, check if the group is actually an outline group (rows/columns) or an object group.
- Cannot ungroup objects: Make sure the objects are actually grouped (they move together when dragged). If they are not grouped, the Ungroup option won't be available. Also, some objects like charts or SmartArt may have their own grouping that cannot be ungrouped in the same way.
- Keyboard shortcut not working: Shortcuts may vary by Excel version and operating system. Try the ribbon method instead.
- Data lost after ungrouping: Ungrouping does not delete data. If data appears missing, it may be hidden. Check for hidden rows/columns (select all, right-click row/column headers, choose Unhide).
Frequently Asked Questions
How do I ungroup rows in Excel?
Select a cell within the grouped rows, go to Data > Outline > Ungroup. You may need to click Ungroup multiple times if there are multiple levels.
How do I ungroup objects in Excel?
Click the grouped object, then go to Shape Format > Group > Ungroup (or right-click > Group > Ungroup).
What is the keyboard shortcut to ungroup in Excel?
For rows/columns: Alt+Shift+Left Arrow (Windows). For objects: Ctrl+Shift+G (Windows). Mac shortcuts may differ.
Why is the Ungroup button grayed out?
You may not have selected a cell within the group, or the sheet may be protected. Select a cell inside the group and unprotect the sheet if necessary.
Can I ungroup all groups at once?
Yes, select the entire worksheet (click the top-left corner triangle) and click Ungroup repeatedly until all levels are removed. Alternatively, use Clear Outline to remove all groups.
Does ungrouping delete my data?
No, ungrouping only removes the grouping; your data remains intact.