Office Settings & Configuration

Enable Excel Group and Ungroup for Rows and Columns

Muhammad TalhaMuhammad Talha Nov 18, 2026 868 views

Question details

Find the correct commands for grouping and ungrouping rows or columns in Excel and check why they may be unavailable.

Enable Excel Group and Ungroup for Rows and Columns
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.
Before you start

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.

Solution 1Recommended

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.

1
Select the range

Click and drag across the row numbers or column letters for the adjacent rows or columns you want to group.

2
Create the group

On the Data tab, select Group in the Outline section. If prompted, choose Rows or Columns and select OK.

3
Collapse or expand

Use the minus or plus outline button beside the grouped rows or columns to collapse or expand them.

4
Remove the group

Select the grouped rows or columns, then choose Data > Ungroup. If prompted, choose Rows or Columns and select OK.

Use the Data tab to group or ungroup rows and columns
Group worksheet data

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. 1. Open your workbook: Open WPS Spreadsheets and select Open to choose your Excel workbook.
  2. 2. Select rows or columns: Drag across the row numbers or column letters you want to group.
  3. 3. Create an outline: Select Data > Group, then choose Rows or Columns if prompted.
  4. 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.
Group related rows or columns to make large worksheets easier to navigateCollapse and expand grouped data with outline controlsOpen and edit Microsoft Excel XLSX and XLS filesWork in a familiar spreadsheet interface
microsoft office alternative - wps office

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.