How to Remove Grouping in Excel (2 Suitable Examples)

In Microsoft Excel, grouping data makes it easier to preserve consistent formatting, but ungrouping it may be necessary if you want to make sheet-specific changes. In this tutorial, you will learn 2 examples to remove grouping in Excel.


How to Remove Grouping in Excel: 2 Examples

In the following reading, you will find answers on how to remove grouping from a group of rows and worksheets.

1. Remove Grouping from a Group of Rows

In this section, you will see how to remove grouping from the data that were grouped manually and automatically. The first two examples remove the manual groupings. The last one removes automatically created grouping.

The following image is a dataset of manual grouping.

Remove Grouping from a Group of Rows


1.1 All Grouped Rows

For removing grouping from all rows simultaneously, clear the outline. To do this, follow the steps below.

📌 Steps:

  • First, go to the Data tab >> Outline >> Ungroup >> Clear Outline.

Remove Grouping in Excel from All Grouped Rows

Finally, here is the result. It removes the grouping.

Remove Grouping in Excel from All Grouped Rows

💬 Notes:

  • There is no data loss when you remove the outline in Excel.
  • A cleared outline might leave some collapsed rows hidden after you remove the outline.
  • After you remove the outline, you cannot restore it with the Undo button or shortcut (Ctrl + Z). In this case, you will have to redraw the outline.

1.2 Selected Rows

The following steps will remove grouping from specific rows without removing the entire outline:

📌 Steps:

  • First, select the rows (5 to 8) from which you want to remove grouping. Then, go to the Data tab >> Outline >> Ungroup >> Click on Ungroup. An Ungroup dialog box will pop up.

Remove Grouping in Excel from Selected Rows

  • Now, make sure that Rows are selected. Then click on OK.

Selected Rows

Finally, it removes grouping from the selected rows (5 to 8).

Remove Grouping in Excel from Selected Rows

💬 Notes: 

Rows that are not adjacent to each other cannot be ungrouped at the same time. The above steps must be repeated for each group separately.


1.3 Rows Automatically Grouped by SUBTOTAL Function

Under the grouped data, you will often see a “Subtitle” row, which indicates the automatic creation of groups by functions, like SUBTOTAL. The following image shows the rows automatically grouped by the SUBTOTAL function.

Remove Grouping in Excel from Rows Automatically Grouped by SUBTOTAL Function

To remove this kind of grouping, just follow the steps below.

📌 Steps:

  • First, select any cell of the group. Then, go to the Data tab >> Outline >> Subtotal. A Subtotal dialog box will pop up.

Rows Automatically Grouped by SUBTOTAL Function

  • In the lower-left, of the Subtotal dialog box, click on the Remove All box.

Rows Automatically Grouped by SUBTOTAL Function

Finally, it returns ungrouped data.

Rows Automatically Grouped by SUBTOTAL Function

Read More: How to Create Multiple Groups in Excel


2. Remove Grouping from Worksheets

Grouped sheets’ tabs will be highlighted in similar colors and the active sheet’s tab will have bold text on it. Choose “Ungroup Sheets” from the pop-up menu when right-clicking one of the grouped sheet tabs. It will ungroup the sheets.

Remove Grouping from Worksheets


Download Practice Workbook

You can download the practice workbook that we have used to prepare this article.


Conclusion

In this tutorial, I have discussed 2 examples to remove grouping in Excel. I hope you found this article helpful. Please, drop comments, suggestions, or queries if you have any in the comment section below.


Related Articles

<< Go Back to Group Cells in Excel | Outline in Excel | Learn Excel

Get FREE Advanced Excel Exercises with Solutions!
Hafizul Islam
Hafizul Islam

Hafizul Islam is an excellent marine engineer who loves working with Excel and diving into VBA programming. For him, programming is like a superhero tool that saves time when dealing with data, files, and the internet. His skills go beyond the basics, including Rhino3D, Maxsurf C++, AutoCAD, Deep Neural Networks, and Machine Learning. He got his B.Sc in Naval Architecture & Marine Engineering from BUET, and now he's switched gears, working as a content developer. In this role,... Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo