Skip to main content

84 shortcuts · Windows and Mac

Excel Keyboard Shortcuts

Updated

Excel rewards keyboard use more than almost any other application: the difference between clicking through the ribbon and pressing Ctrl + Shift + Down arrow is the difference between a two-minute job and a two-second one. This sheet covers the shortcuts that matter for real spreadsheet work — moving around large sheets, selecting ranges precisely, entering and filling data, formatting, and controlling calculation.

Platforms covered: Microsoft Excel for Windows and Excel for Mac. Excel for Mac uses Cmd for some commands and Ctrl for others — the two columns are not a simple find-and-replace, so read the Mac column rather than assuming.

Workbook and file basics

Excel keyboard shortcuts — Workbook and file basics. Windows keys, Mac keys and what each one does.
WindowsMacAction
CtrlNCmdNNew workbook
CtrlOCmdOOpen a workbook
CtrlSCmdSSave
F12CmdShiftSSave As
CtrlPCmdPPrint
CtrlWCmdWClose the workbook
CtrlZCmdZUndo
CtrlYCmdYRedo
CtrlCCmdCCopy
CtrlXCmdXCut
CtrlVCmdVPaste
CtrlAltVCtrlCmdVOpen Paste Special
CtrlFCmdFFind
CtrlHCtrlHFind and Replace

Moving around a worksheet

Excel keyboard shortcuts — Moving around a worksheet. Windows keys, Mac keys and what each one does.
WindowsMacAction
CtrlArrow keyCmdArrow keyJump to the edge of the current block of data
CtrlHomeCtrlFnLeft arrowGo to cell A1
CtrlEndCtrlFnRight arrowGo to the last used cell on the sheet
HomeHomeGo to the first cell in the row
Page DownPage DownMove one screen down
Page UpPage UpMove one screen up
AltPage DownOptionPage DownMove one screen to the right
AltPage UpOptionPage UpMove one screen to the left
CtrlPage DownOptionRight arrowGo to the next worksheet
CtrlPage UpOptionLeft arrowGo to the previous worksheet
CtrlGCtrlGOpen the Go To dialog
TabTabMove one cell to the right
ShiftTabShiftTabMove one cell to the left

Selecting cells and ranges

Excel keyboard shortcuts — Selecting cells and ranges. Windows keys, Mac keys and what each one does.
WindowsMacAction
CtrlACmdASelect the current region, then the whole sheet
CtrlSpaceCtrlSpaceSelect the entire column
ShiftSpaceShiftSpaceSelect the entire row
ShiftArrow keyShiftArrow keyExtend the selection by one cell
CtrlShiftArrow keyCmdShiftArrow keyExtend the selection to the edge of the data
CtrlShiftEndCtrlShiftFnRight arrowExtend the selection to the last used cell
CtrlShiftHomeCtrlShiftFnLeft arrowExtend the selection back to A1
ShiftPage DownShiftPage DownExtend the selection one screen down
ShiftPage UpShiftPage UpExtend the selection one screen up

Entering and editing data

Excel keyboard shortcuts — Entering and editing data. Windows keys, Mac keys and what each one does.
WindowsMacAction
F2CtrlUEdit the active cell in place
EnterEnterConfirm the entry and move down
ShiftEnterShiftEnterConfirm the entry and move up
TabTabConfirm the entry and move right
EscEscCancel the entry
AltEnterCtrlOptionEnterStart a new line inside the same cell
CtrlEnterCtrlEnterFill every selected cell with what you typed
CtrlDCtrlDFill down from the cell above
CtrlRCtrlRFill right from the cell to the left
Ctrl;Ctrl;Insert today's date as a static value
CtrlShift:CtrlShift:Insert the current time as a static value
DeleteDeleteClear the contents of the selected cells
CtrlShiftPlusCtrlShiftPlusInsert cells, rows or columns
CtrlMinusCmdMinusDelete cells, rows or columns

Formatting cells

Excel keyboard shortcuts — Formatting cells. Windows keys, Mac keys and what each one does.
WindowsMacAction
Ctrl1Cmd1Open the Format Cells dialog
CtrlBCmdBBold
CtrlICmdIItalic
CtrlUCmdUUnderline
Ctrl5CmdShiftXStrikethrough
CtrlShift1CtrlShift1Number format — two decimals and a thousands separator
CtrlShift3CtrlShift3Date format
CtrlShift4CtrlShift4Currency format
CtrlShift5CtrlShift5Percentage format
CtrlShiftBackquoteCtrlShiftBackquoteGeneral format — strip the number formatting
CtrlShift7CmdOption0Apply an outline border
CtrlShiftMinusCmdOptionMinusRemove every border
CtrlKCmdKInsert a hyperlink

Formulas and calculation

Excel keyboard shortcuts — Formulas and calculation. Windows keys, Mac keys and what each one does.
WindowsMacAction
==Start a formula
Alt=CmdShiftTInsert an AutoSum formula
F4CmdTCycle a reference between relative and absolute while editing
ShiftF3FnShiftF3Open the Insert Function dialog
CtrlBackquoteCtrlBackquoteShow the formulas instead of their results
CtrlShiftUCtrlShiftUExpand or collapse the formula bar
F9FnF9Recalculate every open workbook
ShiftF9FnShiftF9Recalculate the active worksheet only
CtrlShiftEnterCtrlShiftEnterEnter a legacy array formula
EscEscAbandon the formula you are typing

Tables, charts and views

Excel keyboard shortcuts — Tables, charts and views. Windows keys, Mac keys and what each one does.
WindowsMacAction
CtrlTCtrlTTurn the range into an Excel table
CtrlShiftLCmdShiftFTurn AutoFilter on or off
AltDown arrowOptionDown arrowOpen the drop-down list in the active cell
Ctrl9Ctrl9Hide the selected rows
CtrlShift9CtrlShift9Unhide the rows in the selection
Ctrl0Ctrl0Hide the selected columns
AltF1FnOptionF1Create a chart from the selection on this sheet
F11FnF11Create a chart on its own chart sheet
CtrlF1CmdOptionRCollapse or expand the ribbon
AltF8FnOptionF8Open the Macro dialog
AltF11FnOptionF11Open the Visual Basic Editor

Excel shortcuts — common questions

Why do some Excel for Mac shortcuts use Ctrl instead of Cmd?
Because Excel for Mac inherited a large part of its keymap from the Windows version rather than remapping everything to Cmd. Fill down is Ctrl + D on both platforms, for instance, while Save is Cmd + S on the Mac and Ctrl + S on Windows. That is why this sheet lists both columns in full instead of telling you to swap one key for another.
What is the fastest way to select a whole column of data?
Click the first cell and press Ctrl + Shift + Down arrow — Cmd + Shift + Down arrow on a Mac. That extends the selection to the last cell before a blank, so it grabs exactly your data and not the million empty rows underneath. Add Ctrl + Shift + Right arrow to pick up the neighbouring columns too.
How do I put two lines of text inside one Excel cell?
Press Alt + Enter on Windows while you are editing the cell. On Excel for Mac the equivalent is Ctrl + Option + Enter. Pressing Enter on its own confirms the entry and moves down instead of adding a line break.
Do these shortcuts work in Excel for the web?
Many do, but not all. Excel in a browser has to share the keyboard with the browser itself, so combinations such as Ctrl + N, Ctrl + W and the function-key shortcuts are intercepted before Excel sees them. The editing, formatting and navigation shortcuts generally behave as listed.