Collapse or expand rows or columns in a sheet

September 14, 2026
12.6K Views

We can group the rows or columns to collapse or expand parts of the details. The following screenshots compare a worksheet before and after grouping data.

Before grouping data

Group data to collapse or expand columns

Here are the steps to group the data.

1. Select the rows or columns to be grouped.

2. Go to the Data tab → click Group.

Steps to group data

You can also further group the data following the previous steps. Here is an example to further group the data.

Further group the data

To be office excel advanced, you could learn how to use WPS Office Spreadsheet online in WPS Academy.

15 years of office industry experience, tech lover and copywriter. Follow me for product reviews, comparisons, and recommendations for new apps and software.