Delete cells: the shortcut in 3 apps
Each app binds this differently. The table shows the keys in Google Sheets, JupyterLab and Excel side by side.
| App | Mac | Windows | Linux |
|---|---|---|---|
| Google SheetsDelete rows or columns · With rows or columns selected | OptionCmd- | CtrlAlt- | CtrlAlt- |
| JupyterLabDelete the cell · Command mode | D,D | D,D | D,D |
| ExcelOpen the Delete dialog to delete selected cells | Cmd- | Ctrl- | — |
How the apps compare
- Mac: Cmd+Option+- in Google Sheets; D D in JupyterLab; Cmd+- in Excel.
- Windows: Ctrl+Alt+- in Google Sheets; D D in JupyterLab; Ctrl+- in Excel.
- Linux: Ctrl+Alt+- in Google Sheets; D D in JupyterLab.
Where and when it works
- Google Sheets (With rows or columns selected).
- JupyterLab (Command mode).
Learn it by pressing it: Google Sheets shortcuts practice, JupyterLab shortcuts practice or Excel shortcuts practice.