In Excel: press Ctrl+9 / Ctrl+0 on Windows (⌘+( / ⌘+) on Mac) to hide the selected rows or columns instantly — no mouse or menu required.
On this page8
Keyboard shortcut: Hide Rows & Columns
| Platform | Shortcut |
|---|---|
| Windows | Ctrl+9 / Ctrl+0 |
| Mac | ⌘+( / ⌘+) |
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.
Activate the workbook where you need Hide Rows & Columns, and select a target if this action needs one.
Press Ctrl+9 / Ctrl+0 on Windows. The Hide Rows & Columns action may change the view, open a dialog, or change cells.
On Mac use ⌘+( / ⌘+). The keystroke is slightly different but achieves the exact same result.
Verify the intended effect before using another command; do not assume this shortcut repeats an edit.
What this does
The Hide Rows & Columns shortcut is Ctrl+9 / Ctrl+0 on Windows and ⌘+( / ⌘+) on Mac. Use it when you need to hide the selected rows or columns, then inspect the result before continuing. The visible effect depends on the named command and the active workbook. Before you run it on a workbook other people depend on, try it on a copy or a few rows first. Undo only reaches back through the current session, so a quick trial run is the cheapest way to see exactly what will change before the file is saved and shared. Treat “shortcut to hide rows in excel” as a small repeatable workflow rather than a one-off click you hope to remember next time. Use a small test block before the live file, so any surprise in the affected rows shows up while it is still harmless. 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 turns a workflow that saves repeating the same clicks every week into a method you can reuse, explain, and defend when the workbook leaves your screen.
A worked example
In practice: In a workbook, you need to hide the selected rows or columns. Start with the relevant workbook or selection, use the shortcut, and check that the Hide Rows & Columns action produced the intended result. If the outcome is not the intended Hide Rows & Columns effect, stop and inspect the selection or workbook state before trying again. A keyboard-first workflow helps when the Hide Rows & Columns action is part of a longer task. Apply Ctrl+9 / Ctrl+0, inspect the result, and continue according to that action's actual effect rather than repeating a structural-edit recipe. When the result is not what you expected, undo straight away rather than repairing it by hand — undo restores the sheet exactly, while manual fixes tend to leave small inconsistencies behind that surface later.
In Google Sheets
This is a command rather than a formula, so there is no syntax to carry over. Google Sheets arranges its commands in menus across the top instead of a ribbon, names some of them differently and does not have every Excel command — look for the equivalent in the Sheets menus or its help before assuming the steps match. Keep this page bookmarked for the next time the same question comes up. Better still, repeat the steps once in your own workbook — doing it yourself is what turns a copied answer into something you remember. Treat “shortcut to hide rows in excel” as a routine rather than a one-off. Once you know which setting or command controls it, the same few steps handle every workbook where it comes up in Excel, and you can explain them to a colleague in a sentence.
Common mistakes
- Pressing the wrong modifier: Ctrl+9 / Ctrl+0 is the Windows combo; on Mac the equivalent is ⌘+( / ⌘+). Pressing the Windows combo on Mac often does nothing or triggers a different command.
- Selecting a row header for a command that works on the active sheet or workbook instead of a row.
- Assuming every shortcut modifies cells: view toggles and dialogs need a different result check from edits.
Frequently asked questions
Is there a Mac shortcut for Hide Rows & Columns?
Use ⌘+( / ⌘+) on Mac for Hide Rows & Columns. It may be a menu path rather than a direct key combination; check the action on your Excel version and keyboard layout.
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?
It depends on Hide Rows & Columns: a view toggle reverses on the next press, while an edit may apply again. Check the state before repeating; do not assume that selecting multiple rows or pressing F4 is supported for this action.
Other ways people ask this
On the way here you may have searched this as “excel hide row shortcut”, “hide rows in excel shortcut”, “how to hide rows in excel shortcut” and “excel shortcut hide row” — it is all the same task, and this page is the single, complete answer to it.
Why do people search for this in so many different ways?
Because the same task has many names. “excel hide row shortcut”, “hide rows in excel shortcut”, “how to hide rows in excel shortcut” all point at the one operation explained on this page, which is why they all lead here.