In Excel: press Ctrl+9 / Ctrl+0 on Windows (⌘+9 / ⌘+0 on Mac) to hide the selected rows or columns instantly — no mouse or menu required.
Keyboard shortcut: Hide Rows & Columns
| Platform | Shortcut |
|---|---|
| Windows | Ctrl+9 / Ctrl+0 |
| Mac | ⌘+9 / ⌘+0 |
Ctrl+9 hides rows, Ctrl+0 hides columns. Unhiding columns with Ctrl+Shift+0 is blocked by Windows in some locales — use Home ▸ Format ▸ Hide & Unhide instead.
Select your target — for row/column operations, select the header; for cell operations, position the cursor first.
Press Ctrl+9 / Ctrl+0 on Windows. The Hide Rows & Columns action fires without any dialog.
On Mac use ⌘+9 / ⌘+0. The keystroke is slightly different but achieves the exact same result.
Combine with Shift+arrow (or Ctrl+Shift+arrow) to pre-select multiple targets before pressing the shortcut.
What this does
The fastest way to hide the selected rows or columns in Excel is the keyboard shortcut Ctrl+9 / Ctrl+0 (Windows) or ⌘+9 / ⌘+0 (Mac). Reaching for the mouse, right-clicking, and picking from a menu adds two or three seconds per action — multiplied across dozens of rows or columns in a session, that delay compounds quickly. The Hide Rows & Columns shortcut short-circuits all of that: one key combination, instant result. The same idea underpins a lot of everyday Excel work, so the few minutes spent getting it right here pay back across every sheet you build afterwards. Treat it as a pattern, not a one-off, and it stops being something you look up and starts being something you reach for. For “shortcut to hide columns in excel”, the reliable version is a short checking loop, not just the first command that appears to work. Run it on a deliberately small range first, watch how the affected columns change, and only then apply the same setup to the full sheet. When this is a ribbon command, the selection matters more than the button: confirm the range, apply the command, then spot-check the output before saving. That is what makes a workflow that saves repeating the same clicks every week useful in real work: repeatable, auditable, and not dependent on memory or luck.
A worked example
Practical use: you are cleaning a dataset and need to hide the selected rows or columns multiple times. Select your target, hit Ctrl+9 / Ctrl+0 on Windows (⌘+9 / ⌘+0 on Mac) for the first Hide Rows & Columns action, then press F4 to repeat the last action at each subsequent selection — this chains the Ctrl+9 / Ctrl+0 shortcut into a rapid-fire workflow that beats any menu approach. The Hide Rows & Columns shortcut pays off most when you are doing repetitive structural edits — adding or removing rows, navigating large datasets, or reformatting ranges. Pressing Ctrl+9 / Ctrl+0 once may feel marginal, but chaining it with navigation keys (arrow keys, Ctrl+arrow) creates a fully keyboard-driven workflow that dramatically outpaces mouse-heavy editing. If there is any chance you will reuse this, drop it into a small template tab right now: a labelled input area on the left and the formula beside it, checked once against the tool above. Next time the same question comes up, the answer is a single paste away instead of a rebuild from memory.
In Google Sheets
If you are in Google Sheets rather than Excel, the good news is that the formula shown here is identical and the workflow barely changes — menus sit across the top instead of in a ribbon, and a few function names differ slightly, but anything you build here moves across with little or no rework. Keep this page bookmarked for the next time the same question comes up. Better still, rebuild the example once in your own sheet — doing it yourself, with the tool above to check against, is what turns a copied formula into a technique you own. Treat “shortcut to hide columns in excel” as a small building block rather than a chore. Once the inputs sit in their own cells and the formula reads from them, the same setup answers a dozen related questions with a tweak, and Excel keeps every dependent figure current as the data changes. The tool above is there so you can rehearse and verify before committing anything to a real workbook; the steps and worked example are there so the logic sticks. Get it right once and it stops costing you time — it starts saving it, every time the question comes back around.
Common mistakes
- Pressing the wrong modifier: Ctrl+9 / Ctrl+0 is the Windows combo; on Mac the equivalent is ⌘+9 / ⌘+0. Pressing the Windows combo on Mac often does nothing or triggers a different command.
- Not selecting a full row/column header when the shortcut requires it — some shortcuts act on selected rows or columns, not on individual cells.
- Forgetting that the shortcut may behave differently depending on what is selected: a cell selection vs a row-header selection can invoke different dialog boxes for the same keypress.
Frequently asked questions
Is there a Mac shortcut for Hide Rows & Columns?
Yes — on Mac use ⌘+9 / ⌘+0. The function is identical to pressing Ctrl+9 / Ctrl+0 on Windows; only the modifier keys differ because Mac replaces Ctrl with ⌘ and sometimes Alt with Option (⌥).
What if the Hide Rows & Columns shortcut (Ctrl+9 / Ctrl+0) doesn't work?
Check that you are not in cell-edit mode (press Escape first), that no dialog is open, and that no add-in has reassigned the shortcut. On a laptop, some function keys require pressing Fn first.
Can I use the Hide Rows & Columns shortcut multiple times in a row?
Yes — press Ctrl+9 / Ctrl+0 repeatedly for each Hide Rows & Columns action, or pre-select multiple rows/columns and press the shortcut once to apply it to all of them simultaneously. You can also press F4 after the first use to repeat the last action.
Other ways people ask this
This is also commonly searched as “hide columns excel shortcut”, “how to hide columns in excel shortcut”, “shortcut excel hide column” and “shortcut for hide column in excel”. They describe the identical operation, so you are in the right place no matter how you phrased it.
Is there a keyboard shortcut for this?
Yes — “shortcut to hide columns in excel” is one key combination away rather than a trip through the menus. Use the Windows/Mac toggle above to see the exact keys for your machine, and remember Ctrl on Windows maps to ⌘ on Mac.
Why do people search for this in so many different ways?
Because the same task has many names. “hide columns excel shortcut”, “how to hide columns in excel shortcut”, “shortcut excel hide column” all point at the one operation explained on this page, which is why they all lead here.