Quickly Hide Rows & Columns With Groups And Outlines In Excel
Maybe your like
Bottom Line: Learn how to use the Groups and Outline features of Excel to quickly hide and unhide rows and columns. This makes it easy to collapse and expand details of summary reports.
Skill Level: Beginner
Video Tutorial
Download the Excel File
The Excel file that I used in the video tutorial can be downloaded here:
Groups-and-Outlines.xlsxDownloadGrouping Rows or Columns
Groups and outlines allow you to quickly hide and unhide rows or columns in an Excel spreadsheet.

The Groups feature creates row and column groupings in the Headings section of the worksheet. Each group can be expanded or collapsed with the click of a button.
Here's an image that shows the report with collapsed rows:

And here's how it looks when the rows are expanded:

Why Groups? Make Your Reports Easier to Read
Groups are a fast way to manage rows and columns that you hide and unhide frequently.
If your reports have a lot of rows/columns of data, they can easily start to feel overwhelming to some readers. Groups make it much easier for users of your worksheets to navigate your summary reports and only view detail rows/columns as needed.
How to Create Groups
To create a group, simply select the rows or columns that you want to group together. Then:
- Go to the Data tab.
- Go to the Outline drop-down.
- Click on the Group button.

The keyboard shortcut for creating groups is Shift + Alt + →.
Outline Levels
When you create groups, you'll notice that in the upper left-hand corner of the spreadsheet some boxed numbers will appear. These indicate the levels of the outline.

Clicking the Number 1 box will collapse all of the groups. Clicking it again will expand the groups at the first level.
If you have groups within groups then you will see additional numbered levels. Clicking each number will allow you to expand and collapse the data to the level you want. As you click subsequent numbers, you'll be able to see more and more detail of the outline.
Removing Groups
To remove groups, you follow almost the same process as before. Start by select the rows or columns that you want to ungroup.
- Go to the Data tab.
- Go to the Outline drop-down.
- Click on the Ungroup button.

The keyboard shortcut for removing groups is Shift + Alt + ←.
If you are interested in learning more keyboard shortcuts, you can do so here: 5 Keyboard Shortcuts for Rows and Columns in Excel.
If you want to remove all of the grouping in all rows and columns simultaneously, instead of clicking on the top half of the Ungroup button, click on the bottom half, which shows you a drop-down menu. Select Clear Outline from that menu and all of the groupings you've made will disappear.

Using Auto Outline
Excel has a feature that will group rows and columns based on information it pulls from formulas. For example if you use a SUM formula, it will group all of the rows that are added together for that sum, because it assumes the data in those cells is similar enough to group together.
Before you use the Auto Outline, you'll want to make sure you clear any groups that you have by using the Clear Outline feature mentioned above. Then go to the Data tab, the Outline drop-down, the Group drop-down, and select Auto Outline.

I've found that the Auto Outline feature tends toward overkill in the number of groupings it usually makes. So if you use Auto Outline, you may want to ungroup some of the groups if it feels like too much.
Another option to pare down the number of groupings from Auto Outline is to just select a set of rows or columns before running Auto Outline. Then it doesn't outline the entire sheet, just the parts that you are interested in grouping.
Checkout the video above for more on Auto Outline.
The Subtotal Feature
One other option available to you in the Outline drop-down menu is Subtotal.

In addition to grouping together similar data, the Subtotal feature also inserts subtotals for those data sets in whatever columns you want them to appear.

I explain more about the Subtotal feature in this tutorial: How to Use the Subtotal Feature and the SUBTOTAL Function in Excel.
Conclusion
Grouping and outlining makes it easier to navigate your reports and sheets. These features are especially helpful if you have other users who will be accessing them.
Here are the keyboard shortcuts again. These are two that I use frequently and recommend committing to memory.
Group selected rows/columns: Shift + Alt + →
Ungroup selected rows/columns: Shift + Alt + ←
Bonus: Press Shift + Space to select entire rows or Ctrl + Space to select entire columns before grouping/ungrouping to prevent the Group window from coming up first. See this post on 5 Keyboard Shortcuts for Rows and Columns in Excel to learn more.
Please leave a comment below with any questions or suggestions. Thanks!
Tag » Add Collapsible Section In Excel
-
How To Add Collapsing Plus Signs In Excel Columns - Techwalla
-
How To Create Collapsible Rows In Excel - YouTube
-
How To Group Rows In Excel To Collapse And Expand Them
-
How To Create Collapsible Rows In Excel (4 Methods) - ExcelDemy
-
How To Use The Excel Collapse Rows Feature? — 4 Easy Steps
-
How To Group Rows In Excel With Expand Collapse - ErrorsDoc
-
Expand, Collapse, Or Show Details In A PivotTable Or PivotChart
-
Expand / Collapse Rows Or Columns In Excel & Google Sheets
-
How To Collapse Rows And Columns In Excel - Excelchat - Got It AI
-
How To Group Rows In Excel With Expand/Collapse Option?
-
How Do You Create Collapsible Rows In Excel? - Quora
-
How To Expand All Collapsed Columns Or Rows In Excel? - ExtendOffice
-
Excel - Use The Group Feature To Expand Or Collapse Detail Lines
-
How To Expand And Collapse Pivot Table Fields Levels - Contextures