To ungroup in Excel, select the grouped rows or columns, then go to Data > Outline > Ungroup (or Ungroup Rows / Ungroup Columns from the drop-down). If you have several outline levels, you may need to click Ungroup more than once to peel each level away. To remove the outline entirely in one go, open Data > Outline > Group > Clear Outline. The labels can differ slightly by version, platform and region, but the location in the Data ribbon is consistent across current Excel builds.

Ungrouping matters because grouped rows and columns look tidy but behave oddly: collapsing and expanding sections can hide data unexpectedly, sorting or filtering inside a grouped range gets confusing, copy-paste brings along hidden columns, and formulas that reference the range can return results you did not expect. Removing the grouping gives you a plain, predictable worksheet again.

What You'll Need

  • A version of Excel that supports outlines: the desktop app on Windows or Mac, or Excel on the web. The Data > Outline tools are part of the desktop ribbon; the web version has more limited outline support, so use the desktop app for full control.
  • A workbook and worksheet that already contain row or column grouping, or that have auto-outline levels created by Excel.
  • Confirmation that no other person is editing the file at the same time, since structural changes like removing outlines are blocked while someone else has the file open in co-authoring.
  • Optional: a backup copy of the file (File > Save As) before you change any structure, so you can compare or revert if you accidentally remove the wrong grouping.

Step-by-Step

  1. Open the workbook and click the sheet that contains the grouping. Grouping and outlines belong to each worksheet individually, so check the correct tab before doing anything.
  2. Look for the outline symbols. These are the small minus/plus boxes at the left edge of the rows or across the top of the columns, plus the numbered level buttons (1, 2, 3) in the margin. If you see them, the sheet contains an outline.
  3. Expand any collapsed groups first so all the rows or columns you want to manage are visible. Click the plus button, or the lowest-numbered level button, to show everything.
  4. Select the rows or columns to ungroup. Drag across the row headers (the numbers on the left) or column headers (the letters at the top). To select entire rows or columns, click the header itself and drag. To select a whole range of grouped data, you can also click any cell inside it and press Ctrl+A (Windows) or Command+A (Mac).
  5. Go to the Data tab on the ribbon.
  6. Find the Outline group (usually on the right-hand side of the ribbon) and click Ungroup. If it is a split button with a drop-down, you can choose Ungroup Rows or Ungroup Columns for a more targeted removal.
  7. Repeat if needed. If your data has more than one outline level (for example, level 3 grouped under level 2), a single Ungroup click removes only the outermost level. Click Ungroup again until the level buttons in the margin disappear or only level 1 remains.
  8. To wipe the entire outline at once, use Data > Outline > Group > Clear Outline from the drop-down. This removes every row and column grouping on the active sheet, including any subtotals-created outlines, in a single action.
  9. Verify the result. Check that no minus/plus buttons remain in the margin and that all rows and columns are visible. Hide or unhide individual rows with the row-header right-click menu if you still need to tuck something out of sight.
  10. Save the file (Ctrl+S or Command+S) to keep the change.

Common Mistakes

  • Ungrouping the wrong level. Excel ungroups based on the selection and the existing outline hierarchy. If you select only the inner rows, Excel may remove an inside level, leaving outer subtotal levels in place. Select the full range you want flattened, not just part of it.
  • West of the data, not on it. A common slip is selecting blank cells beside the data instead of the actual grouped rows. The Ungroup command then does nothing visible because there is no grouping to remove there.
  • Confusing grouping with hidden rows. Rows hidden by right-click > Hide look similar to collapsed groups but are a different thing. Ungroup will not unhide them and Hide will not remove a group. Unhide them with the row-header menu instead.
  • Confusing grouping with pivot tables or tables. If your data is a pivot table or an Excel Table, the Outline tools may behave differently or be unavailable. Pivot tables have their own layout options; tables do not create row grouping.
  • Using Clear Outline instead of Ungroup. Clear Outline removes all outline symbols on the sheet, including groupings you wanted to keep. If you only need to ungroup one section, use Ungroup and confirm the selection first.

Tips

  • Use Clear Outline as a reset when a worksheet's grouping has become tangled after editing, inserting, or deleting rows and columns. It gives you a clean slate to regroup deliberately.
  • Grouping and ungrouping do not delete data. If you are nervous, save a copy first (File > Save As) and compare the two versions before keeping the change.
  • Keyboard shortcuts can speed things up: the Group and Ungroup commands are available in the Data tab, and you can add them to the Quick Access Toolbar via File > Options > Quick Access Toolbar so they are one click away.
  • If you are working with subtotals, removing the outline does not remove the subtotal rows themselves; those are real rows of data. Delete or recalculate them separately if you no longer want them.
  • On Mac, the ribbon layout differs slightly, but the Outline group is still under the Data tab. If you do not see it, widen the Excel window or check the ribbon tab list.

Troubleshooting

Ungroup is greyed out or does nothing. This usually means the selection does not contain a grouping, or the worksheet is protected. Check Review > Unprotect Sheet if protection is on, and confirm the correct rows or columns are selected.

The outline symbols are missing entirely. The margin buttons may just be turned off. Go to File > Options > Advanced and look for the display settings for outline symbols, then enable them. On Mac, the equivalent option is in Excel > Preferences > View.

Grouping reappears after you ungroup. If auto-outline was applied or another level remains, Excel can re-display the outline. Run Clear Outline, or ungroup level by level until the level buttons vanish.

Rows still look collapsed. Ungrouping removes the outline but does not unhide rows that were hidden by Hide. Select the row headers around them, right-click and choose Unhide.

The file is shared and changes will not stick. In a co-authored file, structural changes can be blocked. Ask collaborators to close the file, or use a local copy, then reapply your changes.

If that did not work, reopen the workbook or restart Excel. If the problem persists, try the same steps on a copy of the file to rule out corruption, and confirm your Excel is up to date via the app's own update option.

Frequently Asked Questions

Does ungrouping delete my data?

No. Ungroup removes the outline structure only; the rows, columns, and cell contents stay exactly where they are.

What is the difference between Ungroup and Clear Outline?

Ungroup removes the grouping for the selected rows or columns, one level at a time. Clear Outline removes all outline levels on the entire worksheet in one action.

Why does Ungroup only work on part of my selection?

Excel ungroups based on the outer level of the selection. If your data has nested levels, ungroup repeatedly or use Clear Outline to flatten the whole sheet.

Can I ungroup just one column instead of the whole sheet?

Yes. Select the specific column header and use Data > Outline > Ungroup (or Ungroup Columns from the drop-down) so only that column's grouping is removed.

Does ungrouping work in Excel on the web?

Outline support on the web version is more limited than the desktop app. For reliable Group and Ungroup controls, use Excel on Windows or Mac.