Microsoft Excel keyboard shortcuts

Microsoft Excel is the world's standard spreadsheet application, and it rewards keyboard mastery more than almost any other program. Analysts who never touch the mouse navigate, select, format, and fill data several times faster than menu users. This reference covers the default shortcuts for navigation, selection, editing, formatting, formulas, and data work on both Windows and Mac. This cheat sheet covers 94 default shortcuts for Windows and Mac.

General and Files

New workbookCtrl+NCmd+N
Open workbookCtrl+OCmd+O
SaveCtrl+SCmd+S
Save AsF12Cmd+Shift+S
PrintCtrl+PCmd+P
Close workbookCtrl+WCmd+W
UndoCtrl+ZCmd+Z
RedoCtrl+YCmd+Y
Repeat last actionF4Cmd+Y
FindCtrl+FCmd+F
ReplaceCtrl+HCtrl+H
Spell checkF7F7
Open HelpF1F1
Activate ribbon key tipsAltno default

Navigation

Move one cellArrow keysArrow keys
Move to edge of data regionCtrl+Arrow keysCmd+Arrow keys
Go to beginning of sheet (A1)Ctrl+HomeFn+Ctrl+Left
Go to last used cellCtrl+EndFn+Ctrl+Right
Go to beginning of rowHomeFn+Left
Move one screen downPageDownFn+Down
Move one screen upPageUpFn+Up
Next worksheetCtrl+PageDownOption+Right
Previous worksheetCtrl+PageUpOption+Left
Open Go To dialogCtrl+GCtrl+G
Move right between unlocked cells / next cellTabTab
Switch to next open workbookCtrl+TabCmd+~

Selection

Select entire rowShift+SpaceShift+Space
Select entire columnCtrl+SpaceCtrl+Space
Select all / current regionCtrl+ACmd+A
Select current region around active cellCtrl+Shift+8Cmd+Shift+8
Extend selection by one cellShift+Arrow keysShift+Arrow keys
Extend selection to edge of data regionCtrl+Shift+Arrow keysCmd+Shift+Arrow keys
Extend selection to beginning of rowShift+HomeFn+Shift+Left
Extend selection to last used cellCtrl+Shift+EndFn+Ctrl+Shift+Right
Add non-adjacent cell to selectionCtrl+ClickCmd+Click
Toggle extend selection modeF8F8

Editing and Data Entry

Edit active cellF2Ctrl+U
Cancel entryEscEsc
Confirm entry and stay in cellCtrl+EnterCtrl+Enter
New line within a cellAlt+EnterCtrl+Option+Enter
CopyCtrl+CCmd+C
CutCtrl+XCmd+X
PasteCtrl+VCmd+V
Paste SpecialCtrl+Alt+VCmd+Ctrl+V
Fill downCtrl+DCmd+D
Fill rightCtrl+RCmd+R
Copy formula from cell aboveCtrl+'Ctrl+'
Insert current dateCtrl+;Ctrl+;
Insert current timeCtrl+Shift+;Cmd+;
Flash FillCtrl+Eno default
Delete cell contentsDeleteDelete
Insert or edit cell noteShift+F2Shift+F2
Insert hyperlinkCtrl+KCmd+K

Formatting

Open Format Cells dialogCtrl+1Cmd+1
BoldCtrl+BCmd+B
ItalicCtrl+ICmd+I
UnderlineCtrl+UCmd+U
StrikethroughCtrl+5Cmd+Shift+X
Apply outline borderCtrl+Shift+7Cmd+Option+0
Remove all bordersCtrl+Shift+MinusCmd+Option+Minus

Number Formats

Apply General formatCtrl+Shift+~Ctrl+Shift+~
Apply Number format (two decimals)Ctrl+Shift+1Ctrl+Shift+1
Apply Time formatCtrl+Shift+2Ctrl+Shift+2
Apply Date formatCtrl+Shift+3Ctrl+Shift+3
Apply Currency formatCtrl+Shift+4Ctrl+Shift+4
Apply Percentage formatCtrl+Shift+5Ctrl+Shift+5
Apply Scientific formatCtrl+Shift+6Ctrl+Shift+6

Rows, Columns, and Cells

Insert cells, rows, or columnsCtrl+Shift+=Cmd+Shift+=
Delete cells, rows, or columnsCtrl+MinusCmd+Minus
Hide selected rowsCtrl+9Ctrl+9
Unhide rowsCtrl+Shift+9Ctrl+Shift+9
Hide selected columnsCtrl+0Ctrl+0
Group selected rows or columnsAlt+Shift+RightCmd+Shift+K
Ungroup selected rows or columnsAlt+Shift+LeftCmd+Shift+J

Formulas

AutoSumAlt+=Cmd+Shift+T
Toggle formula viewCtrl+`Ctrl+`
Toggle absolute/relative references (while editing)F4Cmd+T
Insert function (Formula Builder)Shift+F3Shift+F3
Calculate all workbooksF9F9
Calculate active worksheetShift+F9Shift+F9
Expand or collapse formula barCtrl+Shift+UCtrl+Shift+U
Enter legacy array formulaCtrl+Shift+EnterCtrl+Shift+Enter
Open Name ManagerCtrl+F3no default
Paste a defined name into a formulaF3no default

Data and Tables

Toggle AutoFilterCtrl+Shift+LCmd+Shift+F
Open filter menu of active header cellAlt+DownOption+Down
Create a table from selectionCtrl+TCtrl+T
Insert chart on new chart sheetF11F11
Insert embedded chartAlt+F1no default
Refresh all external dataCtrl+Alt+F5no default

Worksheets and Windows

Insert new worksheetShift+F11Shift+F11
Open context menu for selectionShift+F10no default
Move to next paneF6F6
Minimize workbook windowCtrl+F9Cmd+M

Put your top Microsoft Excel shortcuts on real keys

The five Microsoft Excel actions most worth binding to a physical macropad key:

Ctrl+Alt+VCmd+Ctrl+V Paste Special Paste-as-values is the most repeated cleanup move in spreadsheet work; one key kills the dialog dance.
Alt+=Cmd+Shift+T AutoSum Instantly totals rows and columns, the most common formula action of all.
Ctrl+1Cmd+1 Open Format Cells dialog The gateway to all formatting; heavy formatters open it dozens of times an hour.
Ctrl+Shift+LCmd+Shift+F Toggle AutoFilter Flipping filters on and off while exploring data is a constant analyst motion.
F4Cmd+Y Repeat last action Repeating the previous format or edit across cells is pure leverage from a single key.

I hand-build small-batch programmable macropads (QMK/VIA) in Barcelona. One press, any shortcut, any app.

See the macropads

Microsoft Excel shortcut FAQs

What does F4 do in Excel?
Outside a formula, F4 repeats your last action, like reapplying a format. While editing a formula, F4 cycles a reference through absolute and relative forms ($A$1, A$1, $A1, A1).
How do I select an entire row or column with the keyboard?
Press Shift+Space to select the row and Ctrl+Space to select the column of the active cell. Both work the same on Windows and Mac.
How do I add a new line inside a single Excel cell?
Press Alt+Enter on Windows or Ctrl+Option+Enter on Mac while editing the cell. Plain Enter confirms the entry and moves to the next cell.
What is the fastest way to jump to the end of my data?
Hold Ctrl (Cmd on Mac) and press an arrow key to jump to the edge of the current data region. Add Shift to select everything along the way.
How do I show all formulas in a worksheet at once?
Press Ctrl+` (the backtick key, under Esc) to toggle between showing formulas and showing values. It works on both Windows and Mac.