WPS Office

Free All-in-One Office Suite with PDF Editor


Edit Word, Excel, and PPT for FREE.


Read, edit, and convert PDFs with the powerful PDF toolkit.


Microsoft-like interface, easy to use.

Free download

Windows • MacOS • Linux • iOS • Android


Collapse or expand rows or columns in a sheet

November 8, 2021

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.