Excel course · Lesson 31 of 34

Keyboard shortcuts for Windows and Mac

The Excel shortcuts worth learning, grouped by task, for Windows and Mac: navigation, selection, editing, formatting, formulas, tables and data.

Advanced 15 min read

Using Excel mostly with the mouse is like typing with one finger: it works, but it is slow. You do not need hundreds of shortcuts. About thirty, learned in the order you need them, will make you noticeably faster within a week. This lesson lists them by task, gives the Mac equivalent where it differs, and ends with a short drill to practise the most valuable ones.

Note. On a Mac laptop, function keys F1–F12 often control brightness and volume. Hold Fn with them (for example Fn+F2), or switch the setting in System Settings › Keyboard. Mac shortcuts below assume a current Microsoft 365 version of Excel for Mac.
ActionWindowsMac
Move to the edge of the data regionCtrl+ArrowCmd+Arrow
Go to cell A1Ctrl+HomeFn+Ctrl+Left Arrow
Go to the last used cellCtrl+EndFn+Ctrl+Right Arrow
Next / previous sheetCtrl+Page Down / Ctrl+Page UpOption+Right / Option+Left (or Fn+Ctrl+Down/Up)
Go To dialogCtrl+G or F5Ctrl+G
Scroll one screen down / upPage Down / Page UpFn+Down / Fn+Up
Jump to the active cell after scrollingCtrl+BackspaceCtrl+Delete

Selection

ActionWindowsMac
Extend the selection to the edge of the dataCtrl+Shift+ArrowCmd+Shift+Arrow
Select the current region / whole sheetCtrl+ACmd+A
Select the entire columnCtrl+SpaceCtrl+Space
Select the entire rowShift+SpaceShift+Space
Add a non-adjacent rangeCtrl+clickCmd+click
Select visible cells only (skip hidden rows)Alt+;Cmd+Shift+Z
Go To Special (blanks, formulas, constants)Ctrl+G › SpecialCtrl+G › Special
Tip. Ctrl+Shift+Down Arrow stops at the first empty cell. If your selection stops early, there is a gap in the data. Starting from a header and pressing Ctrl+Shift+Down, then Ctrl+Shift+Right, selects a whole list in two keystrokes.

Entering and editing

ActionWindowsMac
Edit the active cellF2Ctrl+U (or Fn+F2)
Confirm and stay in the cellCtrl+EnterCtrl+Return
Fill the selection with the typed entryCtrl+EnterCtrl+Return
New line inside a cellAlt+EnterOption+Return
Fill down / fill rightCtrl+D / Ctrl+RCmd+D / Cmd+R
Copy the formula from the cell aboveCtrl+'Ctrl+'
Insert today's dateCtrl+;Ctrl+;
Insert the current timeCtrl+Shift+;Cmd+;
Undo / redoCtrl+Z / Ctrl+YCmd+Z / Cmd+Y
Paste SpecialCtrl+Alt+VCmd+Ctrl+V
Insert cells, rows or columnsCtrl+Shift++Ctrl+Shift+=
Delete cells, rows or columnsCtrl+-Cmd+-
Flash FillCtrl+ECtrl+E
Find / ReplaceCtrl+F / Ctrl+HCmd+F / Ctrl+H
Open a drop-down list (data validation, filter)Alt+Down ArrowOption+Down Arrow

Formatting

ActionWindowsMac
Format Cells dialogCtrl+1Cmd+1
Bold / italic / underlineCtrl+B / Ctrl+I / Ctrl+UCmd+B / Cmd+I / Cmd+U
Number format with two decimals and separatorCtrl+Shift+!Ctrl+Shift+!
Currency formatCtrl+Shift+$Ctrl+Shift+$
Percentage formatCtrl+Shift+%Ctrl+Shift+%
Date formatCtrl+Shift+#Ctrl+Shift+#
General formatCtrl+Shift+~Ctrl+Shift+~
Outline borderCtrl+Shift+&Cmd+Option+0
Hide rows / hide columnsCtrl+9 / Ctrl+0Ctrl+9 / Ctrl+0

Formulas

ActionWindowsMac
AutoSumAlt+=Cmd+Shift+T
Toggle absolute/relative reference while editingF4Cmd+T
Insert Function dialogShift+F3Shift+F3
Show formulas / resultsCtrl+grave accent (key left of 1)Ctrl+grave accent (key left of 1)
Recalculate all open workbooksF9F9 (or Cmd+=)
Evaluate part of a formula in edit modeF9 (then Esc!)F9 (Fn+F9 on laptops)
Select direct precedentsCtrl+[Ctrl+[
Name ManagerCtrl+F3Formulas › Name Manager
Paste a name into a formulaF3Use AutoComplete
Expand / collapse the formula barCtrl+Shift+UCtrl+Shift+U

Tables, filters and data

ActionWindowsMac
Create a tableCtrl+TCtrl+T
Toggle AutoFilterCtrl+Shift+LCmd+Shift+F
Toggle the table total rowCtrl+Shift+TTable › Total Row
Refresh the PivotTable or queryAlt+F5PivotTable Analyze › Refresh
Refresh allCtrl+Alt+F5Data › Refresh All
Insert a chart of the selectionAlt+F1 (on sheet) / F11 (chart sheet)Insert › Recommended Charts
Group rows or columns (outline)Shift+Alt+Right ArrowCmd+Shift+K
New noteShift+F2Shift+F2
New threaded commentCtrl+Alt+MReview › New Comment

Workbooks and windows

ActionWindowsMac
New / open / save / printCtrl+N / Ctrl+O / Ctrl+S / Ctrl+PCmd+N / Cmd+O / Cmd+S / Cmd+P
Save AsF12Cmd+Shift+S
Close the workbookCtrl+WCmd+W
Insert a new sheetShift+F11Shift+F11
Collapse / expand the ribbonCtrl+F1Cmd+Option+R
Switch between open workbooksCtrl+TabCmd+grave accent
Open the VBA editorAlt+F11Option+F11

Ribbon KeyTips on Windows

Press and release Alt and letters appear on every ribbon tab and button. Type them in sequence: Alt, H, O, I autofits the selected columns (Home › Format › AutoFit Column Width); Alt, A, S, S opens the Sort dialog; Alt, W, F, F freezes panes. You do not have to memorise these; read them as you go and your fingers will learn the frequent ones. KeyTips also work for buttons that have no shortcut at all. Mac Excel does not offer KeyTips.

Tip. Add your most-used commands to the Quick Access Toolbar (right-click a button › Add to Quick Access Toolbar). On Windows each one gets a shortcut: Alt+1, Alt+2 and so on, in the order they appear.

A five-minute drill

F2fx=SUM(B2:E2)
ABCDEF
1RegionQ1Q2Q3Q4Total
2North120135128150533
3South98102110119429
4East143139151160593
5Total3613763894291555

Type the numbers in A1:E4, then follow the drill to create all totals with the keyboard.

Result: 533

  1. Click A1. Press Ctrl+Shift+Down then Ctrl+Shift+Right (Mac: Cmd+Shift+Down, Cmd+Shift+Right) to select A1:E4.
  2. Extend the selection by one row and one column: hold Shift and press Down and Right once each, so A1:F5 is selected.
  3. Press Alt+= (Mac: Cmd+Shift+T). Excel writes all row and column totals at once: 533, 429, 593 down column F, and 361, 376, 389, 429 and 1,555 along row 5.
  4. Select B2:F5 and press Ctrl+Shift+! to add thousands separators.
  5. Press Ctrl+T (Mac: Ctrl+T too) with a cell in the data selected to turn the range into a table, then Ctrl+Z to undo it.
  6. Press Ctrl+Home (Mac: Fn+Ctrl+Left) to return to A1, then Ctrl+S (Mac: Cmd+S) to save.

Repeat the drill a few times over a week. Then add three new shortcuts from the tables above each week, starting with those for tasks you do every day. Shortcuts that save you clicks dozens of times a day are worth learning first; obscure ones you will forget anyway.

Check yourself

1. Which shortcut selects from the active cell to the last filled cell below it on Windows?

2. What is the Mac equivalent of F2 (edit the active cell)?

3. Which Windows shortcut toggles AutoFilter?

4. You select a block of numbers plus an empty row and column and press Alt+=. What happens?

5. Which shortcut opens Format Cells on a Mac?

⬇Practice workbookExamples with live formulas + practice sheets · .xlsx · 12 KB