Skip to content

↑↓ moveEnter openEsc close

Excel keyboard shortcuts

Excel Microsoft 365 · 119 shortcuts · checked Nov 2026 · Source: Microsoft docs

The complete Excel keyboard shortcuts list: all the MS Excel shortcut keys from Microsoft's official list for Microsoft 365, with Windows and Mac keys side by side.

Most useful Excel keyboard shortcuts

The best Excel keyboard shortcuts beyond copy and paste: the ones that save the most time in everyday spreadsheets. Editing cells and switching worksheets have their own sections: enter and edit a cell, switch worksheets. To keep them by the keyboard, print the Excel keyboard shortcuts cheat sheet, a printable page for Windows or Mac.

119 shortcuts

Small screen: your system's keys only. Pick another system in the tabs above.

Frequently used

29 shortcuts
ActionMacWindows
Close a workbookCmdWCtrlW
Open a workbookCmdOCtrlO
Create a new workbookCmdNCtrlN
Save a workbookCmdSCtrlS
Save AsShiftCmdSF12
PrintCmdPCtrlP
Copy selectionCmdCCtrlC
Cut selectionCmdXCtrlX
Paste selectionCmdVCtrlV
Open the Paste Special dialogCtrlCmdVCtrlAltV
Undo the last actionCmdZCtrlZ
Redo the last action, or repeat itCmdYCtrlYorF4
Remove cell contentsDeleteDelete
Apply or remove boldCmdBCtrlBorCtrl2
Apply or remove italicCmdICtrlIorCtrl3
Apply or remove underlineCmdUCtrlUorCtrl4
Apply or remove strikethroughShiftCmdXCtrl5
Center align cell contentsCmdEAltH,A,C
Open the context menuShiftF10ShiftF10
Hide the selected rowsCtrl9Ctrl9
Hide the selected columnsCtrl0Ctrl0
Unhide hidden rows within the selectionCtrlShift9CtrlShift9
Unhide hidden columns within the selectionCtrlShift0CtrlShift0
Open the Find dialogCmdFCtrlForShiftF5
Open the Find and Replace dialog on the Replace tabCtrlHCtrlH
Find nextCmdGShiftF4
Check spellingF7F7
Create a table from the selected rangeCmdTCtrlTorCtrlL

Navigate

16 shortcuts
ActionMacWindows
Move to the previous cell in a worksheet or the previous option in a dialogShiftTabShiftTab
Move one cell to the rightTabTab
Move to the edge of the current data regionCtrl→Ctrl→
Move to the last cell on a worksheet (lowest used row, rightmost used column)CtrlEndCtrlEnd
Move to the beginning of a worksheetCtrlHomeCtrlHome
Move to the beginning of the rowHomeHome
Move one screen downPageDownPageDown
Move one screen upPageUpPageUp
Move one screen to the rightOptionPageDownAltPageDown
Move one screen to the leftOptionPageUpAltPageUp
Move to the next sheet in a workbookCtrlPageDownorOption→CtrlPageDown
Move to the previous sheet in a workbookCtrlPageUporOption←CtrlPageUp
Open the Go To dialogCtrlGorF5CtrlGorF5
Switch between the worksheet, ribbon, task pane and zoom controlsF6F6
Open the list of validation choices on a cell that has oneOption↓Alt↓
Move to the Name Box—AltF3

Select

17 shortcuts
ActionMacWindows
Select the entire worksheetCmdACtrlA
Select the current region around the active cellCtrlShift8CtrlShift8
Select the entire columnCtrlSpaceCtrlSpace
Select the entire rowShiftSpaceShiftSpace
Extend the selection by one cellShift→Shift→
Extend the selection to the last nonblank cell in the same row or columnShiftCmd→CtrlShift→
Extend the selection to the beginning of the rowShiftHomeShiftHome
Extend the selection to the beginning of the worksheetCtrlShiftHomeCtrlShiftHome
Extend the selection to the last used cell on the worksheetCtrlShiftEndCtrlShiftEnd
Extend the selection down one screenShiftPageDownShiftPageDown
Turn extend mode on or off (use arrow keys to extend the selection)F8F8
Add a nonadjacent cell or range to the selectionShiftF8ShiftF8
Select the current arrayCtrl/Ctrl/
Select only the visible cells in the current selectionShiftCmdZAlt;
Select cells in a row that don't match the active cellCtrl\Ctrl\
Select cells directly referred to by the formula in the active cellCtrl[Ctrl[
Select cells that contain formulas referring directly to the active cellCtrl]Ctrl]

Format cells

16 shortcuts
ActionMacWindows
Open the Format Cells dialogCmd1Ctrl1
Apply the General number formatCtrlShift`CtrlShift`
Apply the Currency format with two decimal placesCtrlShift4CtrlShift4
Apply the Percentage format with no decimal placesCtrlShift5CtrlShift5
Apply the Scientific number format with two decimal placesCtrlShift6CtrlShift6
Apply the Date format with day, month and yearCtrlShift3CtrlShift3
Apply the Time format with hour, minute and AM or PMCtrlShift2CtrlShift2
Apply the Number format with two decimal places, thousands separator and minus signCtrlShift1CtrlShift1
Apply an outline border to the selected cellsOptionCmd0CtrlShift7
Remove the outline border from the selected cellsOptionCmd-CtrlShift-
Switch between hiding objects, displaying objects and displaying placeholdersCtrl6Ctrl6
Display or hide the outline symbolsCtrl8Ctrl8
Open the Insert dialog to insert blank cellsCtrlShift+CtrlShift+
Open the Delete dialog to delete selected cellsCmd-Ctrl-
Group the selected rows or columnsShiftCmdKAltShift→
Ungroup the selected rows or columnsShiftCmdJAltShift←
ActionMacWindows
Edit the active cell and put the insertion point at the end of its contentsCtrlUorF2F2
Start a new line in the same cellCtrlOptionEnterorOptionCmdEnterAltEnter
Fill the selected cell range with the current entryCtrlEnterCtrlEnter
Complete a cell entry and select the cell aboveShiftEnterShiftEnter
Cancel an entry in the cell or formula barEscEsc
Insert or edit a noteShiftF2ShiftF2
Enter the current dateCtrl;Ctrl;
Enter the current timeCmd;CtrlShift;
Switch between displaying cell values and displaying formulasCtrl`Ctrl`
Copy the formula from the cell above into the active cell or formula barCtrl'Ctrl'
Fill Down: copy the top cell of the selection into the cells belowCmdDCtrlD
Fill Right: copy the leftmost cell of the selection into the cells to the rightCmdRCtrlR
Use Flash Fill to recognize patterns and fill the column—CtrlE
Open the Insert Function dialogShiftF3ShiftF3
Insert the AutoSum formulaShiftCmdTAlt=
Cycle through absolute and relative references in a formulaEditing a cell referenceCmdTorF4F4
Expand or collapse the formula barCtrlShiftUCtrlShiftU
Calculate all worksheets in all open workbooksCmd=orF9F9
Calculate the active worksheetShiftCmd=orShiftF9ShiftF9
Enter a formula as an array formulaCtrlShiftEnterCtrlShiftEnter
Insert argument names and parentheses when the insertion point is right of a function nameCtrlShiftACtrlShiftA
Define a name for the selectionCtrlF3CtrlF3
Create names from row and column labelsCtrlShiftF3CtrlShiftF3
Paste a defined name into a formula—F3
ActionMacWindows
Turn AutoFilter on or off for the selected rangeShiftCmdFCtrlShiftL
Open the Quick Analysis options for selected cells—CtrlQ
Insert a new worksheetShiftF11ShiftF11
Create a chart of the data in the current range in a separate chart sheetF11F11
Create an embedded chart of the data in the current range—AltF1
Freeze panes—AltW,F,F
Open the Macro dialogOptionF8AltF8
Open the Visual Basic for Applications editorOptionF11AltF11
Select all objects on a worksheet when an object is selectedShiftCmdSpaceCtrlShiftSpace
ActionMacWindows
Switch to the next workbook windowCmd`CtrlF6orCtrlTab
Switch to the previous workbook windowShiftCmd`CtrlShiftF6orCtrlShiftTab
Minimize the workbook windowCmdMCtrlF9
Maximize or restore the workbook window—CtrlF10
Toggle full screenCtrlCmdFCtrlShiftF1
Go to the Home tab on the ribbon—AltH
Open the Help pane—F1
Show the key map: which keys Excel uses mostDarker orange = used by more shortcuts

How to use keyboard shortcuts in Excel

Excel has two kinds of shortcut: key combinations you press together, and ribbon sequences you press one key at a time.

Key combinations
Hold the modifier keys (Ctrl, Shift or Alt; Cmd or Option on a Mac), press the last key, then let go. For Ctrl+Shift+L, hold Ctrl and Shift and tap L.
Ribbon sequences (Alt keys)
Shortcuts such as Alt+H A C are pressed one after another: press and release Alt, then H, then A, then C. You don't hold them down.
Show keyboard shortcuts in Excel
Press and release Alt and Excel shows a letter (a Key Tip) on every ribbon tab and button; press the letters to go further. Hovering over a ribbon button also shows its shortcut, if it has one.
Are shortcuts turned on?
Keyboard shortcuts are always on in Excel; there is no setting to enable them. If Key Tips don't appear, tap Alt rather than holding it. If F-key shortcuts do nothing on a laptop, press Fn with them.
On a Mac
Most shortcuts use Cmd where Windows uses Ctrl, and ribbon Key Tips are not available. F-key shortcuts need Fn unless the Mac is set to use standard function keys. See Excel for Mac keyboard shortcuts for the Mac keys only.

Enter and edit a cell with the keyboard

To enter a cell with the keyboard and edit what is already in it, select the cell and press F2 (Ctrl+U on a Mac). Typing without F2 replaces the contents instead.

Finish an entry
Enter finishes and moves down, Tab finishes and moves right, and Shift+Tab moves left.
Inside a formula
While editing, F4 cycles a reference through $A$1, A$1, $A1 and A1, and the arrow keys move the cursor instead of the selection.

How to switch worksheets in Excel with keyboard shortcuts

Press Ctrl+PageDown to go to the next worksheet and Ctrl+PageUp to go back. On a Mac without Page Up and Page Down keys, use Option+Right and Option+Left.

Select several sheets
Hold Shift as well (Ctrl+Shift+PageDown) to add the next sheet to the selection, so an edit applies to all of them.
Rename the sheet
Press Alt, H, O, R one after another, type the new name and press Enter.

Python in Excel keyboard shortcuts

Python in Excel runs Python code in a cell, in Excel for Microsoft 365 where the feature is available. These keys come from Microsoft's Python in Excel documentation, not the main list above.

Start a Python formula
Press Ctrl+Alt+Shift+P in a cell, or type =PY( , to switch the cell to Python mode.
Run it
Press Ctrl+Enter to commit the Python formula. Plain Enter adds a new line to the code instead.
Change the output
Ctrl+Alt+Shift+M switches the result between a Python object and Excel values.

How to change, customize and assign keyboard shortcuts in Excel

Excel for Windows has no editor for reassigning its built-in shortcuts, but you can add and set your own in these ways.

Add a shortcut with the Quick Access Toolbar
Right-click any ribbon button and choose Add to Quick Access Toolbar. Press Alt and the button shows a number: Alt+1, Alt+2 and so on now run it.
Assign a custom shortcut to a macro
Go to View > Macros > View Macros, select a macro, click Options and type a letter in the Shortcut key box: Ctrl plus that letter (Ctrl+Shift with a capital) runs it. Save it in the Personal Macro Workbook to use it in every workbook.
Change a shortcut on Windows
To remap one of Excel's own shortcuts, use Microsoft PowerToys Keyboard Manager and set EXCEL as the target app. More in change shortcuts in Windows.
Set keyboard shortcuts on a Mac
Use System Settings > Keyboard > Keyboard Shortcuts > App Shortcuts, choose Microsoft Excel and type the menu command exactly as it appears. More in change shortcuts on a Mac.
Watch for clashes
A macro shortcut replaces Excel's own shortcut on the same keys while that workbook is open. Ctrl+Shift with a letter is the safest choice.

Excel keyboard shortcuts not working?

If a shortcut does nothing, check these. Most problems come from Excel being in edit mode, a lock key, or another program catching the keys.

Still editing a cell
Many shortcuts are ignored while you are typing in a cell. Press Enter or Esc first; the status bar shows Edit or Enter while you are in a cell.
Scroll Lock
With Scroll Lock on, the arrow keys scroll the sheet instead of moving the selection. The status bar shows Scroll Lock; press the key (or Fn with it) to turn it off.
Function keys
On laptops, F2, F4 and other F-key shortcuts may need Fn, or Fn Lock turned on.
Ctrl+Shift+0 doesn't unhide columns
Windows uses Ctrl+Shift to switch keyboard layouts. In Settings > Time & language > Typing > Advanced keyboard settings > Input language hot keys, set it to Not assigned.
Macros and add-ins
A macro or add-in can take over a shortcut. Start Excel in Safe Mode (hold Ctrl while opening it) to test without them.
Sticky Keys and Filter Keys
These change how modifier keys are read; turn them off in your system's accessibility settings.
In Excel for the web
The browser keeps some keys for itself, such as F1 and Ctrl+O. In Excel for the web, go to Help > Keyboard Shortcuts and turn on Override browser shortcuts. Ribbon Key Tips there start with Alt+Windows logo key instead of Alt.

Excel keyboard shortcuts: questions

Do Excel keyboard shortcuts work in Google Sheets?
Many do, and Google Sheets has a setting that accepts more of Excel's keys: see how to use Excel shortcuts in Google Sheets.
Are Excel keyboard shortcuts the same in Excel 2016, 2019 and 2021?
Almost all of them. Microsoft's list is written for Excel for Microsoft 365, but its core shortcuts have stayed the same for years. Shortcuts for newer features, such as Python in Excel, only work where the feature exists.

These are the default key bindings in Microsoft Excel Microsoft 365, as published by Microsoft. Shortcuts that need an extension, an add-in or a changed keymap are left out. Where two combinations do the same thing, both are shown.

Single-system lists: Excel for Mac keyboard shortcuts, Excel keyboard shortcuts for Windows.

Each shortcut has its own page with the keys for every system, related shortcuts and the same action in other apps. The printable cheat sheet fits the whole list on one or two pages.