Grouping sheets in Excel means organizing multiple worksheets so you can collapse and expand them together
Excel does not have a built-in feature to group sheet tabs themselves the way you group rows or columns. However, you can organize your sheets by renaming them with prefixes, moving related sheets next to each other, and using sheet colors to visually mark which sheets belong together. If you want to hide multiple sheets at once or work with grouped data across sheets, you'll use different tools depending on what you're actually trying to do.
The most common reason people ask about grouping sheets is that they want to collapse or expand rows and columns within a single sheet — and that feature does exist. The second reason is that they want to organize many sheets so related ones are easy to find. This guide covers both.
Key Takeaways
- You can group rows or columns within a sheet by selecting them, right-clicking, and choosing Group — this adds collapse and expand buttons on the left or top edge.
- Grouped rows or columns can be hidden by clicking the minus button, which is useful when you have detailed data you don't always need to see.
- To organize multiple sheet tabs, use colors, prefixes in sheet names, and manual positioning — Excel does not group sheet tabs themselves.
- You can hide multiple sheets at once by selecting them while holding Ctrl, right-clicking, and choosing Hide.
- Ungrouping rows or columns removes the collapse buttons but keeps the data intact.
How to group rows or columns within a single sheet
Select the rows or columns you want to group. Click on the row number on the left side and drag down to select multiple rows, or click on the column letter at the top and drag right to select multiple columns. You can also click the first row or column, hold Shift, and click the last one.
Right-click on the selected rows or columns. A menu will appear. Click Group. Excel will add a small box with a minus sign (–) to the left of rows or above columns. This is the collapse button. Click it to hide the grouped rows or columns, and a plus sign (+) will appear in its place. Click the plus to expand them again.
You can create multiple levels of grouping. Select a smaller set of rows within an already-grouped section, right-click, and choose Group again. Excel will add a second set of collapse buttons. This is useful when you have summary rows at different levels of detail — for example, daily totals grouped into weekly totals grouped into monthly totals.
Removing groups from rows or columns
Select the grouped rows or columns you want to ungroup. Right-click and choose Ungroup. The collapse buttons disappear, but all your data stays in place. If you have nested groups (groups within groups), you can ungroup just the innermost level or remove all groups at once.
If you want to remove all grouping from a sheet at once, select all cells by clicking the box in the top-left corner where the row numbers and column letters meet. Right-click and choose Ungroup. A dialog box will ask whether you want to ungroup all rows, all columns, or both. Choose what you need.
Organizing multiple sheet tabs with colors and names
Right-click on a sheet tab at the bottom of the screen. Choose Sheet Color and pick a color. All sheets related to the same project or category can share the same color, making them instantly recognizable when you have many sheets open.
Rename sheets to start with a prefix that groups them logically. For example, name sheets "Sales_Jan", "Sales_Feb", "Sales_Mar" so they sort together alphabetically. Or use "Q1_Revenue", "Q1_Expenses", "Q2_Revenue", "Q2_Expenses". Right-click a sheet tab, choose Rename Sheet, and type the new name.
Move related sheets next to each other by dragging their tabs left or right. This keeps your related data in one area of the screen, so you don't have to scroll through many tabs to find what you need. Click and hold a sheet tab, then drag it to the position you want.
Hiding multiple sheets at once
Click on one sheet tab. Hold down Ctrl (or Cmd on Mac) and click on other sheet tabs to select multiple sheets. All selected tabs will highlight. Right-click on any of the selected tabs and choose Hide. All selected sheets will disappear from view.
To unhide sheets, right-click on any visible sheet tab and choose Unhide. A dialog box will list all hidden sheets. Click the one you want to show and click OK. You can only unhide one sheet at a time, so repeat this step for each hidden sheet you want to bring back.
Hiding sheets is useful when you have working sheets that contain formulas or raw data but you don't want other people to see them. It keeps the sheet tabs clean and focused on the sheets people actually need to use.
Using outline levels to collapse data by detail
When you group rows or columns, Excel creates outline levels shown as numbered buttons (1, 2, 3) on the left side or top of your sheet. Click the number 1 button to show only the highest-level summary rows. Click 2 to show one more level of detail. Click 3 to show all rows including the most detailed data.
This is different from clicking individual minus buttons — the outline level buttons collapse or expand entire levels at once. This is especially powerful when you have a large spreadsheet with many nested groups and you want to switch between a summary view and a detailed view quickly.
What to do if grouping is not working
Grouping only works on contiguous (connected) rows or columns. If you select rows 1, 2, 3, then skip to row 7, 8, 9, Excel will not group them. Select only the rows or columns that are next to each other.
If you see a message that says you cannot group, check whether you have cells merged in the selected range. Merged cells can prevent grouping. Unmerge them first by selecting the merged cells, going to the Home tab, clicking Merge & Center, and choosing Unmerge Cells.
If grouping buttons do not appear after you click Group, try selecting the rows or columns again and make sure you right-clicked on the row numbers or column letters themselves, not on the cells inside them.
Frequently Asked Questions
Can I group sheets by project or department?
Excel does not have a built-in sheet grouping feature, but you can achieve the same result by using sheet colors, naming prefixes, and positioning. Name all sheets for Project A as "ProjectA_Data", "ProjectA_Summary", and so on, then move them next to each other and color them the same. This makes them easy to find and work with together.
What's the difference between grouping rows and hiding rows?
Grouping adds collapse buttons so you can toggle visibility on and off. Hiding rows removes them from view permanently until you unhide them manually. Grouping is better when you switch between detailed and summary views often. Hiding is better when you want rows gone and don't plan to show them again soon.
Can I group rows and columns at the same time?
Yes. Select the rows you want to group, right-click, and choose Group. Then select the columns you want to group, right-click, and choose Group again. Excel will add collapse buttons for both rows and columns, and you can use them independently.
If I group rows, will the grouping stay when I save the file?
Yes. Grouping is saved with your file. When you reopen the spreadsheet, the collapse buttons will still be there and the rows will be in the same grouped state you left them in.
Can I copy a sheet with grouping to another workbook?
Yes. Right-click the sheet tab, choose Move or Copy, select the destination workbook, and click OK. The grouping, colors, and all data come with it. The sheet will appear in the new workbook with all its formatting and structure intact.