Enable Excel Group and Ungroup for Rows and Columns
Question details
Find the correct commands for grouping and ungrouping rows or columns in Excel and check why they may be unavailable.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- A user wants to create or remove an outline that collapses and expands worksheet rows or columns.
- Observed behavior
- The user needs the row and column outline commands; the Group command on Page Layout is intended for objects.
Open the worksheet and identify the adjacent rows or columns you want to group. Select their row numbers or column letters rather than a shape or picture.
Use the Data tab to group or ungroup rows and columns
Use Excel's outline commands instead of the object-grouping command on Page Layout.
Click and drag across the row numbers or column letters for the adjacent rows or columns you want to group.
On the Data tab, select Group in the Outline section. If prompted, choose Rows or Columns and select OK.
Use the minus or plus outline button beside the grouped rows or columns to collapse or expand them.
Select the grouped rows or columns, then choose Data > Ungroup. If prompted, choose Rows or Columns and select OK.

Show outline symbols and check worksheet protection
Use these checks if an existing group has no visible outline controls or the grouping commands are unavailable.
Group Rows and Columns in WPS Spreadsheets
Use the Data tab in WPS Spreadsheets to create an outline and collapse or expand related rows or columns.
- 1. Open your workbook: Open WPS Spreadsheets and select Open to choose your Excel workbook.
- 2. Select rows or columns: Drag across the row numbers or column letters you want to group.
- 3. Create an outline: Select Data > Group, then choose Rows or Columns if prompted.
- 4. Manage the group: Use the outline buttons to collapse or expand the data. To remove the group, select its rows or columns and choose Data > Ungroup.

Frequently Asked Questions
Why is Group on the Page Layout tab disabled?
The Page Layout Group command is for objects such as shapes and pictures. To group worksheet rows or columns, select them and use Data > Group.
How do I ungroup rows without deleting them?
Select the grouped row numbers, then choose Data > Ungroup. This removes the outline group without deleting the rows.
Why can't I see the plus and minus outline buttons?
First make sure an outline exists using Data > Group. In Excel, check File > Options > Advanced and enable Show outline symbols if an outline is applied under the worksheet display options.
Can a protected worksheet prevent grouping?
Yes. Check the Review tab for Unprotect Sheet. If the worksheet is protected, you may need its password or permission from the owner before changing the outline.




