Fix Excel Group and Ungroup Commands on a Shared Worksheet
Question details
The user needs to make the Group and Ungroup commands work on one shared Excel worksheet.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- The user wants to change row or column groups on a shared worksheet that may contain nested outlines.
- Observed behavior
- Group and Ungroup work on other worksheets but not on the affected sheet, even though outline symbols are enabled.
Open the affected worksheet and identify the rows or columns you want to group or ungroup. If others are editing the shared workbook, coordinate any changes to its outline or protection settings with them.
Inspect and ungroup nested outlines first
Use this method when existing subgroups may be interfering with the outline change.
On the affected worksheet, use the numbered outline buttons or plus signs beside the row numbers or column letters to expand the existing groups and reveal nested sections.
Select the rows or columns in an inner group, then choose Data > Ungroup. Repeat for any other nested sections that need to be changed.
Select the row numbers or column letters for the section you want to group or ungroup.
Choose Data > Group to create a group, or Data > Ungroup to remove the selected group. If prompted, choose Rows or Columns.

Check protection, sharing, and worksheet layout
Try these checks if changing nested groups does not resolve the problem.
Work with Spreadsheet Outlines in WPS Office
WPS Office is a free, lightweight alternative with a familiar interface for working with spreadsheets. Open compatible Excel files in WPS Spreadsheets for an easy transition, although it does not repair Excel's own Group and Ungroup commands.

Frequently Asked Questions
How can I see nested groups in Excel?
Use the numbered outline buttons or plus signs beside the worksheet's row numbers or column letters to expand groups and inspect their nested sections.
Why are Group and Ungroup unavailable on a shared worksheet?
Worksheet protection or legacy shared workbook restrictions can prevent outline changes. Check Review for sheet protection and confirm whether the workbook uses legacy sharing.
Does enabling outline symbols fix grouping problems?
Outline symbols make existing groups visible, but they do not remove protection or resolve restrictions caused by legacy sharing. Expand the outline and check for nested groups first.
Can I group rows if some are hidden or filtered?
Hidden or filtered rows can make it harder to see the selected range. Clear active filters with Data > Clear and use Home > Format > Hide & Unhide before selecting and grouping the intended rows.




