Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Where Is Group in Excel? How to Group Rows and Columns

· 5 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Grouping in Excel lets you collapse or expand sections of rows or columns to simplify viewing large datasets. This feature is ideal for financial reports, project timelines, or any data with hierarchical structure. It does not require special add-ins or permissions—just a standard Excel installation on Windows or Mac. Grouping is available in Excel 2010 and later, including Microsoft 365.

What You'll Need

  • A Microsoft Excel file (xlsx or xlsm format)
  • Data organized in contiguous rows or columns
  • Excel installed on Windows 10/11 or macOS
  • Basic understanding of row and column selection

Step-by-Step

  1. Open your Excel workbook and navigate to the worksheet containing the data you want to group.
  2. Select the rows or columns you wish to group. To group rows, click and drag across the row numbers on the left side of the sheet. To group columns, click and drag across the column letters at the top. For example, to group rows 5 through 12, click row 5, hold Shift, and click row 12.
  3. Go to the Data tab on the Ribbon. This tab appears automatically when you select multiple rows or columns.
  4. In the Outline group, click Group. A dialog box may appear asking whether to group rows or columns—select the correct option based on your selection. If no dialog appears, Excel auto-detects your selection.
  5. After grouping, a small minus sign (−) will appear above the grouped rows or to the left of grouped columns. Click this to collapse the group, hiding the rows or columns. Click the plus sign (+) to expand it again.
  6. To ungroup, select the grouped rows or columns, go to the Data tab, and click Ungroup. You can also right-click the grouped area and choose Ungroup from the context menu.
  7. For nested groups (groups within groups), Excel automatically assigns levels. Use the number buttons (1, 2, 3) at the top-left of the sheet to show or hide different levels of grouping.

Common Mistakes

  • Trying to group non-contiguous rows or columns—Excel only allows grouping of adjacent rows or columns. If you select row 5, skip row 6, and select row 7, Excel will not group them.
  • Forgetting to select the correct range before clicking Group. If you have a single cell selected, the Group option will be grayed out.
  • Using Group on cells with formulas that reference hidden rows or columns—this can cause calculation errors when collapsed. Always test your formulas after grouping.
  • Assuming Group works the same as Freeze Panes. Grouping hides data temporarily; Freeze Panes keeps rows/columns visible while scrolling.
  • Grouping entire columns (A:Z) without filtering—this can make the file unnecessarily large and slow to navigate.

Tips

  • Use Grouping in combination with Filters for dynamic reporting. Apply a filter first, then group sections by category to toggle visibility of entire segments.
  • Save your grouped layout before sharing. Grouping settings are saved with the file, so others will see the same collapsed view if they open it.
  • Use keyboard shortcuts: Ctrl+Shift+Right Arrow selects all columns to the right; Ctrl+Shift+Down selects all rows below. This helps quickly select large ranges before grouping.
  • Label your groups with summary rows. For example, put a total row at the top of a group so it remains visible even when the group is collapsed.
  • On Mac, the Group button is under Data > Outline, but the interface may say “Outline” instead of “Group.” The function is identical.
  • Groups persist across print settings. When you print, collapsed groups still print as hidden unless you change the print options to show all rows.

Troubleshooting

  • The Group option is grayed out. This means you haven’t selected a valid range. Ensure you’ve selected at least two full rows or two full columns, and that they are adjacent. Also, check that you aren’t in Edit mode (e.g., typing in a cell).
  • No outline symbols appear after grouping. Try selecting the grouped area again and clicking Group once more. If that fails, check if the worksheet is protected (Review > Unprotect Sheet). Grouping is disabled on protected sheets unless specifically allowed.
  • Grouping disappears after saving and reopening. This rarely happens unless the file was saved in an older format (.xls). Convert it to .xlsx using File > Save As > Excel Workbook (.xlsx).
  • Collapsed rows still show in print preview. Go to Page Layout > Sheet Options and ensure “Row and Column Headings” and “Gridlines” are set correctly. Also, check Print Area settings—sometimes they override grouping.
  • Excel freezes when expanding a large group. Large groups (over 5,000 rows) can slow performance. Consider breaking them into smaller groups or using PivotTables instead for better efficiency.

Frequently Asked Questions

Can I group rows and columns at the same time?

Yes. Select both rows and columns, then click Group. Excel creates a two-dimensional outline with separate controls for each direction.

Does Grouping work in Excel Online?

No. Excel Online (browser version) does not support grouping rows or columns. Use the desktop app for this feature.

Can I group by date or category automatically?

Excel doesn’t auto-group by content. You must manually select the rows or columns that belong together. For dynamic grouping, use PivotTables instead.

Why can’t I ungroup after saving?

You can always ungroup unless the sheet is protected. If the Group or Ungroup buttons are inactive, go to Review > Unprotect Sheet. If a password was used, you’ll need it to unprotect.

Do grouped rows affect formulas?

No, formulas still calculate correctly even when rows are hidden. However, if a formula references a hidden cell, it won’t be visually obvious. Always verify totals after collapsing groups.

Can I change the symbol for grouped rows?

No. Excel uses fixed symbols: a minus (−) to collapse and a plus (+) to expand. You cannot change these icons or their placement.