Excel keyboard shortcuts

Hide the selected rows

Windows
Ctrl+9
Mac
Ctrl+9