How to collapse columns in excel
Tutor 5 (154 Reviews)
Excel Tutor
Still stuck with a Excel question
Ask this expertAnswer
To collapse columns in Excel, use the Group feature (Outline) or Hide columns.
Method 1 — Use Group (best when you want collapsible outline buttons)
-
Select the contiguous columns you want to be able to collapse (click the first column header, hold, then click the last column header).
-
On the ribbon, choose Data → Group → Group.
-
A minus (–) button appears above the sheet; click that button to collapse the grouped columns. A plus (+) button appears when collapsed; click it to expand.
Method 2 — Use the right-click Hide command (simple hide, no outline buttons)
-
Select the column headers you want to collapse.
-
Right-click any selected column header and choose Hide.
-
To unhide, select the columns on both sides of the hidden range, right-click and choose Unhide.
Method 3 — Use the ribbon Format commands (menu-driven hide/unhide)
-
Select column(s).
-
On the ribbon, choose Home → Format → Hide & Unhide → Hide Columns.
-
To restore, use Home → Format → Hide & Unhide → Unhide Columns and select the adjacent columns first.
Method 4 — Use Outline levels to collapse multiple groups at once
-
Create groups at different nested ranges using Data → Group repeatedly for each range.
-
Use the numbered outline buttons (1, 2, 3, ...) at the top-left of the sheet to collapse to a given level: lower number shows fewer columns, higher number shows more detail.
What are the keyboard shortcuts?
-
On Windows: press Ctrl + 0 to hide selected columns.
-
On Windows: press Ctrl + Shift + 0 to unhide selected columns in some Excel versions, but system settings or OS keyboard mappings can prevent this shortcut from working.
-
On Mac: press Command + 0 to hide selected columns in many Excel builds.
-
On Mac: Use the Format menu or right-click to unhide when the shortcut does not work.
Statement: menu methods always work; Condition: shortcuts may vary by Excel version and OS settings.
Are there important differences between Windows and Mac?
Yes.
-
Ribbon layout is the same in recent Excel versions, but some keyboard shortcuts differ across Windows and Mac.
-
The Ctrl+0 and Cmd+0 hide shortcuts behave differently depending on OS-level keyboard mappings; use the menu or right-click when shortcuts do not respond.
-
Grouping and Outline features are available on both platforms; Condition: the placement of the Outline buttons can look slightly different between Excel for Windows and Excel for Mac.
How do I un-collapse or show all columns at once?
To show all columns quickly, use these steps:
-
Click the top-left corner of the worksheet (the Select All square) to select the entire sheet.
-
On the ribbon, choose Home → Format → Hide & Unhide → Unhide Columns.
-
If grouped outlines are present, click the highest-level outline button (like “1”) at the top-left to collapse to summary, or click the “+” buttons to expand.
What common problems occur, and how to fix them?
-
Problem: Ctrl+Shift+0 does not unhide on Windows.
Fix: change the regional/keyboard settings in Windows or use Home → Format → Unhide Columns. -
Problem: Hidden columns are not obvious.
Fix: look for a double line between column headers (e.g., between C and F), select adjacent columns, and choose Unhide. -
Problem: Grouping buttons are missing.
Fix: enable Outline by selecting Data → Ungroup → Clear Outline and then re-group; verify the sheet’s view does not hide outline symbols (Data → Outline settings).
Best practice recommendations
-
Use Group when you need collapsible controls that users can expand or collapse quickly.
-
Use Hide when you want columns out of view but not part of an outline.
-
Label the leftmost visible column of a hidden range so users know what data is hidden.
-
Protect worksheet structure when you want to prevent accidental unhiding or reformatting. Condition: protect only after testing that users can still use outline buttons.
Quick reference — Menu paths
-
Group columns: Data → Group → Group.
-
Hide columns: Home → Format → Hide & Unhide → Hide Columns or right-click → Hide.
-
Unhide columns: Home → Format → Hide & Unhide → Unhide Columns or right-click → Unhide.
Get Online Tutoring or Questions answered by Experts.
You can post a question for a tutor or set up a tutoring session
Answers · 1
How to copy conditional formatting in excel
Answers · 1
How to multiply percentages in excel
Answers · 1
How to multiply all cells by a number in excel
Answers · 1
How to multiply by pi in excel
Answers · 1