Excel usually cannot group columns because the data is not actually laid out the way the feature expects: a pivot table whose source has blank headers, text dates in a column you tried to group, hidden or filtered rows breaking the outline levels, or a merged-cell mess in the header row. The fix is almost always to make the source clean and rectangular first, then group again. Below is how to diagnose which of the several "group" features you are actually using and get each one working.

Note that Excel has more than one grouping tool, and the error you see depends on which one you invoked. Column outline grouping (the plus and minus buttons beside rows and columns), pivot table grouping (grouping dates, numbers or selected items), and grouping shapes or objects are all different. Menus and labels vary slightly by Excel version, device and region, so if a command name here looks different on your copy, look for the nearest equivalent.

What You'll Need

  • A desktop copy of Excel (Windows or Mac). Grouping is not available in the browser version or the mobile apps, so the Outline and pivot grouping commands are missing there by design.
  • A clean data range: one header row, no merged cells, no blank header cells, no fully blank rows or columns inside the range.
  • Values in the column you want to group in a format Excel recognises as dates, times or numbers, not text.
  • Permission to edit the workbook, and the sheet unprotected if a password was set.

Step-by-Step

  1. Identify what kind of grouping you are attempting. If you clicked a plus sign beside the row numbers you want outline grouping. If the plus sign is beside a pivot table's row labels you want pivot grouping. If nothing happens at all, you may be in a protected sheet or the web app. Confirm you are in desktop Excel first, because the browser version hides these controls.
  2. Check for merged cells. Select the whole range and look for the Merge & Center button appearing highlighted, or any cell whose address in the Name Box spans several columns. Merged cells in a header row are the single most common cause of "Cannot group that selection." Unmerge everything, then use Fill Down to repeat each header value instead of merging.
  3. Remove blank header cells. Every column in the range needs a header. If a column has no title, Excel may read the range incorrectly or refuse to group it. Type a header into each blank cell at the top of your range. Also give the range a proper table or named range so Excel knows its exact boundaries.
  4. Delete fully blank rows and columns inside the data. A gap row or an empty column splits your range in two from Excel's point of view. Select the empty rows and columns, right-click their headers and choose Delete. Do not just clear the cells: clearing leaves them part of the used range.
  5. Convert text that looks like dates or numbers. Select the column, then use Data > Text to Columns, click Finish without changing anything. This re-parses the values into real dates and numbers. Alternatively, select the column and apply Format Cells to confirm the format. If dates still will not group in a pivot, that conversion is the usual cure.
  6. Clear hidden rows and filters before outline grouping. Hidden rows can leave the outline levels in an inconsistent state. In the Data tab, open the Filter menu and choose Clear, then select all rows and use Format > Row > Unhide. Grouping works on visible, contiguous rows and columns.
  7. Remove any existing outline groups and start fresh. On the Data tab, open the Ungroup dropdown and choose Clear Outline. This strips the old plus and minus levels without deleting data. Then select the columns you want to collapse and use Data > Group. Column grouping is available in the same menu, so if Group is greyed out, you are almost certainly on a protected sheet or in the web app.
  8. Unprotect the sheet if Group is greyed out. Go to Review > Unprotect Sheet (you will need the password). Excel disables outline grouping on protected sheets by default. Ask the workbook owner before unprotecting a shared file.
  9. For pivot grouping, refresh and check the source. Right-click the pivot, choose Refresh, then check the source range covers only clean data with headers. With a cell inside the row or column field selected, use PivotTable Analyze > Group Selection or right-click > Group. Grouping dates fails if any date cell is blank or text, because Excel treats the whole field as text.
  10. Group numbers with proper steps. Right-click a numeric pivot field, choose Group, and set Starting at, Ending at and By. Leaving any of those blank lets Excel fill them in, which can produce odd buckets. Confirm the source column contains numbers, not numbers stored as text with a leading apostrophe.

Common Mistakes

  • Selecting the entire columns by clicking the A, B, C headers instead of just the data range. This pulls in empty rows far below your data and makes grouping unpredictable.
  • Merging cells for a title bar above the headers. Keep titles in a separate row that is outside the data range, or remove them entirely.
  • Typing an apostrophe before a date to force a format. That turns the value into text and permanently breaks date grouping until you convert it back.
  • Assuming the browser or mobile version is broken. Grouping simply is not offered there; use the desktop app.
  • Grouping a pivot field that contains blanks. Blank cells force the field into a text group, so fill or filter them out first.

Tips

  • Turn your range into a formal Excel Table (Insert > Table) so it expands automatically and never picks up stray empty rows.
  • Use Subtotal on grouped columns rather than hand-typed totals, so collapsed rows still show correct sums.
  • Keep header names unique. Two columns named the same make pivot grouping and outline grouping ambiguous.
  • Save a copy before clearing outlines or unmerging cells, in case you need to compare layouts.
  • If a column of numbers came from a CSV export, run Text to Columns on it as a routine step; exports frequently store numbers as text.

Troubleshooting

"Cannot group that selection" appears. This is the classic sign of merged cells, blank cells or non-contiguous ranges. Unmerge, fill blanks, then reselect one solid block.

Group is greyed out. Check for sheet protection, check you are not in the web app, and confirm you selected cells rather than an object or a chart.

Dates group into one bucket or refuse to group at all. Convert the column with Text to Columns, refresh the pivot and try again.

Plus signs vanish after closing and reopening. Clear the outline, ungroup any hidden rows and rebuild it from a clean contiguous selection.

Still stuck. Copy the data into a fresh worksheet, paste as values only, rebuild headers by hand and group there. Starting clean is faster than chasing a corrupted range.

Frequently Asked Questions

Why can't I group columns in Excel?

Most commonly merged cells, blank headers or blank rows are breaking the range, or the sheet is protected. Clean the range, then group again.

Why is the Group button greyed out?

The sheet is likely protected, or you are in Excel for the web or a mobile app, which do not offer outline grouping.

Can I group columns in Excel online?

The outline Group command is not available in the browser version. It works in the desktop app for Windows and Mac.

Why won't my pivot table group dates?

At least one date cell is text or blank. Convert the column with Text to Columns, refresh the pivot, then group the field again.

Does grouping columns delete data?

No. Grouping only collapses and expands rows or columns for display; Clear Outline removes the levels without touching your values.

Can I group non-adjacent columns?

Not as one group. Excel groups contiguous columns only, so group each block separately.