Hide rows: the shortcut in both apps
Each app binds this differently. The table shows the keys in Google Sheets and Excel side by side.
| App | Mac | Windows | Linux |
|---|---|---|---|
| Google SheetsHide rows | OptionCmd9 | CtrlAlt9 | CtrlAlt9 |
| ExcelHide the selected rows | Ctrl9 | Ctrl9 | — |
How the apps compare
- Mac: Cmd+Option+9 in Google Sheets; Ctrl+9 in Excel.
- Windows: Ctrl+Alt+9 in Google Sheets; Ctrl+9 in Excel.
- Linux: Ctrl+Alt+9 in Google Sheets.
Learn it by pressing it: Google Sheets shortcuts practice or Excel shortcuts practice.