Excel keyboard shortcuts and function keys

This article describes keyboard shortcuts, function keys, and some other common shortcut keys for Microsoft Excel. This includes the shortcuts that you can use to access the Ribbon.

Click on one of the tabs below for instructions specific to your Excel version (topics for Excel for Windows are listed first, then Mac).

This article describes keyboard shortcuts, function keys, and some other common shortcut keys for Excel 2016. This includes the shortcuts that you can use to access the Ribbon.

Tip: To keep this reference available when you work, you may want to print this topic. To print this topic, press CTRL+P.

Note: If an action that you use often does not have a shortcut key, you can record a macro to create one.

Important: 

  • These shortcuts refer to the US keyboard layout. Keys for other layouts might not correspond exactly to the keys on a US keyboard.

  • If a shortcut requires pressing two or more keys at the same time, this topic separates the keys with a plus sign (+). If you have to press one key immediately after another, the keys are separated by a comma (,).

Will my old shortcuts still work?

Keyboard shortcuts that begin with Ctrl will still work in Excel 2016. For example, Ctrl+C still copies to the clipboard, and Ctrl+V still pastes from the clipboard.

Most of the old Alt+ menu shortcuts still work, too. However, you need to know the full shortcut from memory — there are no screen reminders of what letters to press. For example, try pressing Alt, and then press one of the old menu keys E (Edit), V (View), I (Insert), and so on. A box pops up saying you're using an access key from an earlier version of Microsoft Office. If you know the entire key sequence, go ahead and initiate the command. If you don't know the sequence, press Esc and use Key Tip badges instead.

Keyboard shortcuts to navigate the Ribbon

If you're new to the Ribbon, the information in this section can help you understand the Ribbon's keyboard shortcut model. The Ribbon comes with new shortcuts, called Key Tips, which you can make appear when you press the Alt key. The Ribbon groups related commands on tabs. For example, on the Home tab, the Number group includes the Number Format command.

Key Tip badges appearing on ribbon

To display a tab on the Ribbon, press the key for the tab—for example, press the letter N for the Insert tab or M for the Formulas tab. This makes all the Key Tip badges for that tab's buttons appear. Then, press the key for the button you want.

  • To get to the Ribbon, press Alt, and then, to move between tabs, use the Right Arrow and Left Arrow keys.

  • To hide the Ribbon so you have more room to work, press Ctrl+F1. Repeat to display the Ribbon again.

Go to the access keys for the Ribbon

To go directly to a tab on the Ribbon, press one of the following access keys:

To do this

Press

Open the Tell me box on the Ribbon and type a search term for assistance or Help content.

Alt+Q, and then enter the search term.

Open the File page and use Backstage view.

Alt+F

Open the Home tab and format text and numbers and use the Find tool.

Alt+H

Open the Insert tab and insert PivotTables, charts, add-ins, Sparklines, pictures, shapes, headers, or text boxes.

Alt+N

Open the Page Layout tab and work with themes, page setup, scale, and alignment.

Alt+P

Open the Formulas tab and insert, trace, and customize functions and calculations.

Alt+M

Open the Data tab and connect to, sort, filter, analyze, and work with data.

Alt+A

Open the Review tab and check spelling, add comments, and protect sheets and workbooks.

Alt+R

Open the View tab and preview page breaks and layouts, show and hide gridlines and headings, set zoom magnification, manage windows and panes, and view macros.

Alt+W

Top of Page

Work in the Ribbon tabs and menus with the keyboard

To do this

Press

Select the active tab of the Ribbon, and activate the access keys.

Alt or F10. To move to a different tab, use access keys or the arrow keys.

Move the focus to commands on the Ribbon.

Tab or Shift+Tab

Move down, up, left, or right, respectively, among the items on the Ribbon.

The Down Arrow, Up Arrow, Left Arrow, or Right Arrow key

Activate a selected button.

Spacebar or Enter

Open the list for a selected command.

The Down Arrow key

Open the menu for a selected button.

Alt+Down Arrow

When a menu or submenu is open, move to the next command.

Down Arrow key

Expand or collapse the Ribbon.

Ctrl+F1

Open a context menu.

Shift+F10 or

Context key

Move to the submenu when a main menu is open or selected.

Left Arrow key

Top of Page

Frequently used shortcuts

This table lists the most frequently used shortcuts in Excel 2016.

To do this

Press

Close a spreadsheet

Ctrl+W

Open a spreadsheet

Ctrl+O

Go to the Home tab

Alt+H

Save a spreadsheet

Ctrl+S

Copy

Ctrl+C

Paste

Ctrl+V

Undo

Ctrl+Z

Remove cell contents

Delete key

Choose a fill color

Alt+H, H

Cut

Ctrl+X

Go to Insert tab

Alt+N

Bold

Ctrl+B

Center align cell contents

Alt+H, A, then C

Go to Page Layout tab

Alt+P

Go to Data tab

Alt+A

Go to View tab

Alt+W

Format a cell from context menu

Shift+F10, or

Context key

Add borders

Alt+H, B

Delete column

Alt+H,D, then C

Go to Formula tab

Alt+M

Top of Page

Navigate in cells: keyboard shortcuts

To do this

Press

Move to the previous cell in a worksheet or the previous option in a dialog box.

Shift+Tab

Move one cell up in a worksheet.

Up Arrow key

Move one cell down in a worksheet.

Down Arrow key

Move one cell left in a worksheet.

Left Arrow key

Move one cell right in a worksheet.

Right Arrow key

Move to the edge of the current data region in a worksheet.

Ctrl+arrow key

Enter End mode, move to the next nonblank cell in the same column or row as the active cell, and turn off End mode. If the cells are blank, move to the last cell in the row or column.

End, arrow key

Move to the last cell on a worksheet, to the lowest used row of the rightmost used column.

Ctrl+End

Extend the selection of cells to the last used cell on the worksheet (lower-right corner).

Ctrl+Shift+End

Move to the cell in the upper-left corner of the window when Scroll Lock is turned on.

Home+Scroll Lock

Move to the beginning of a row in a worksheet. Home Move to the beginning of a worksheet.

Ctrl+Home

Move one screen down in a worksheet.

Page Down

Move to the next sheet in a workbook.

Ctrl+Page Down

Move one screen to the right in a worksheet.

Alt+Page Down

Move one screen up in a worksheet.

Page Up

Move one screen to the left in a worksheet.

Alt+Page Up

Move to the previous sheet in a workbook.

Ctrl+Page Up

Move one cell to the right in a worksheet. Or, in a protected worksheet, move between unlocked cells.

Tab

Top of Page

Make selections and perform actions: keyboard shortcuts

To do this

Press

Select the entire worksheet.

Ctrl+A or Ctrl+Shift+Spacebar

Select the current and next sheet in a workbook.

Ctrl+Shift+Page Down

Select the current and previous sheet in a workbook.

Ctrl+Shift+Page Up

Extend the selection of cells by one cell.

Shift+arrow key

Extend the selection of cells to the last nonblank cell in the same column or row as the active cell, or if the next cell is blank, to the next nonblank cell.

Ctrl+Shift+arrow key

Turn extend mode on and use the arrow keys to extend a selection. Press again to turn off.

Turn extend mode on and use the arrow keys to extend a selection. Press again to turn off. F8

Add a non-adjacent cell or range to a selection of cells by using the arrow keys.

Shift+F8

Start a new line in the same cell.

Alt+Enter

Fill the selected cell range with the current entry.

Ctrl+Enter

Complete a cell entry and select the cell above.

Shift+Enter

Select an entire column in a worksheet.

Ctrl+Spacebar

Select an entire row in a worksheet.

Shift+Spacebar

Select all objects on a worksheet when an object is selected.

Ctrl+Shift+Spacebar

Extend the selection of cells to the beginning of the worksheet.

Ctrl+Shift+Home

Select the current region if the worksheet contains data. Press a second time to select the current region and its summary rows. Press a third time to select the entire worksheet.

Ctrl+A or Ctrl+Shift+Spacebar

Select the current region around the active cell or select an entire PivotTable report.

Ctrl+Shift+asterisk (*)

Select the first command on the menu when a menu or submenu is visible.

Home

Repeat the last command or action, if possible.

Ctrl+Y

Undo the last action.

Ctrl+Z

Top of Page

Format in cells: keyboard shortcuts

To do this

Press

Format a cell by using the Format Cells dialog box.

Ctrl+1

Format fonts in the Format Cells dialog box.

Ctrl+Shift+F or Ctrl+Shift+P

Edit the active cell and put the insertion point at the end of its contents. Or, if editing is turned off for the cell, move the insertion point into the formula bar. If editing a formula, toggle Point mode off or on so you can use arrow keys to create a reference.

F2

Add or edit a cell comment.

Shift+F2

Insert blank cells with the Insert dialog box.

Ctrl+Shift+Plus (+)

Display the Delete dialog box to delete selected cells.

Ctrl+Minus (-)

Enter the current time.

Ctrl+Shift+colon (:)

Enter the current date.

Ctrl+semi-colon (;)

Switch between displaying cell values or formulas in the worksheet.

Ctrl+grave accent (`)

Copy a formula from the cell above the active cell into the cell or the Formula Bar.

Ctrl+apostrophe (')

Move the selected cells.

Ctrl+X

Copy the selected cells.

Ctrl+C

Paste content at the insertion point, replacing any selection.

Ctrl+V

Paste content by using the Paste Special dialog box.

Ctrl+Alt+V

Italicize text or remove italic formatting.

Ctrl+I or Ctrl+3

Bold text or remove bold formatting.

Ctrl+B or Ctrl+2

Underline text or remove underline.

Ctrl+U or Ctrl+4

Apply or remove strikethrough formatting.

Ctrl+5

Switch between hiding objects, displaying objects, and displaying placeholders for objects.

Ctrl+6

Apply an outline border to the selected cells.

Ctrl+Shift+ampersand (&)

Remove the outline border from the selected cells.

Ctrl+Shift+underline (_)

Display or hide the outline symbols.

Ctrl+8

Hide the selected rows.

Ctrl+9

Hide the selected columns.

Ctrl+0

Use the Fill Down command to copy the contents and format of the topmost cell of a selected range into the cells below.

Ctrl+D

Use the Fill Right command to copy the contents and format of the leftmost cell of a selected range into the cells to the right.

Ctrl+R

Apply the General number format.

Ctrl+Shift+tilde (~)

Apply the Currency format with two decimal places (negative numbers in parentheses).

Ctrl+Shift+dollar sign ($)

Apply the Percentage format with no decimal places.

Ctrl+Shift+percent (%)

Apply the Scientific number format with two decimal places.

Ctrl+Shift+caret (^)

Apply the Date format with the day, month, and year.

Ctrl+Shift+number sign (#)

Apply the Time format with the hour and minute, and AM or PM.

Ctrl+Shift+at sign (@)

Apply the Number format with two decimal places, thousands separator, and minus sign (-) for negative values.

Ctrl+Shift+exclamation point (!)

Create or edit a hyperlink.

Ctrl+K

Check spelling in the active worksheet or selected range.

F7

Display the Quick Analysis options for selected cells that contain data.

Ctrl+Q

Display the Create Table dialog box.

Ctrl+L or Ctrl+T

Top of Page

Work with data, functions, and the formula bar: keyboard shortcuts

To do this

Press

Select an entire PivotTable report.

Ctrl+Shift+asterisk (*)

Edit the active cell and put the insertion point at the end of its contents. Or, if editing is turned off for the cell, move the insertion point into the formula bar. If editing a formula, toggle Point mode off or on so you can use arrow keys to create a reference.

F2

Expand or collapse the formula bar.

Ctrl+Shift+U

Cancel an entry in the cell or Formula Bar.

Esc

Complete an entry in the formula bar and select the cell below.

Enter

Move the cursor to the end of the text when in the formula bar.

Ctrl+End

Select all text in the formula bar from the cursor position to the end.

Ctrl+Shift+End

Calculate all worksheets in all open workbooks.

F9

Calculate the active worksheet.

Shift+F9

Calculate all worksheets in all open workbooks, regardless of whether they have changed since the last calculation.

Ctrl+Alt+F9

Check dependent formulas, and then calculate all cells in all open workbooks, including cells not marked as needing to be calculated.

Ctrl+Alt+Shift+F9

Display the menu or message for an Error Checking button.

Alt+Shift+F10

Display the Function Arguments dialog box when the insertion point is to the right of a function name in a formula.

Ctrl+A

Insert argument names and parentheses when the insertion point is to the right of a function name in a formula.

Ctrl+Shift+A

Invoke Flash Fill to automatically recognize patterns in adjacent columns and fill the current column

Ctrl+E

Cycle through all combinations of absolute and relative references in a formula if a cell reference or range is selected.

F4

Insert a function.

Shift+F3

Copy the value from the cell above the active cell into the cell or the formula bar.

Ctrl+Shift+straight quotation mark (")

Create an embedded chart of the data in the current range.

Alt+F1

Create a chart of the data in the current range in a separate Chart sheet.

F11

Define a name to use in references.

Alt+M, M, D

Paste a name from the Paste Name dialog box (if names have been defined in the workbook.

F3

Move to the first field in the next record of a data form.

Enter

Create, run, edit, or delete a macro.

Alt+F8

Open the Microsoft Visual Basic For Applications Editor.

Alt+F11

Top of Page

Function keys

Key

Description

F1

Displays the Excel Help task pane.

Ctrl+F1 displays or hides the ribbon.

Alt+F1 creates an embedded chart of the data in the current range.

Alt+Shift+F1 inserts a new worksheet.

F2

Edit the active cell and put the insertion point at the end of its contents. Or, if editing is turned off for the cell, move the insertion point into the formula bar. If editing a formula, toggle Point mode off or on so you can use arrow keys to create a reference.

Shift+F2 adds or edits a cell comment.

Ctrl+F2 displays the print preview area on the Print tab in the Backstage view.

F3

Displays the Paste Name dialog box. Available only if names have been defined in the workbook (Formulas tab, Defined Names group, Define Name).

Shift+F3 displays the Insert Function dialog box.

F4

Repeats the last command or action, if possible.

When a cell reference or range is selected in a formula, F4 cycles through all the various combinations of absolute and relative references.

Ctrl+F4 closes the selected workbook window.

Alt+F4 closes Excel.

F5

Displays the Go To dialog box.

Ctrl+F5 restores the window size of the selected workbook window.

F6

Switches between the worksheet, ribbon, task pane, and Zoom controls. In a worksheet that has been split (View menu, Manage This Window, Freeze Panes, Split Window command), F6 includes the split panes when switching between panes and the ribbon area.

Shift+F6 switches between the worksheet, Zoom controls, task pane, and ribbon.

Ctrl+F6 switches to the next workbook window when more than one workbook window is open.

F7

Displays the Spelling dialog box to check spelling in the active worksheet or selected range.

Ctrl+F7 performs the Move command on the workbook window when it is not maximized. Use the arrow keys to move the window, and when finished press Enter, or Esc to cancel.

F8

Turns extend mode on or off. In extend mode, Extended Selection appears in the status line, and the arrow keys extend the selection.

Shift+F8 enables you to add a nonadjacent cell or range to a selection of cells by using the arrow keys.

Ctrl+F8 performs the Size command (on the Control menu for the workbook window) when a workbook is not maximized.

Alt+F8 displays the Macro dialog box to create, run, edit, or delete a macro.

F9

Calculates all worksheets in all open workbooks.

Shift+F9 calculates the active worksheet.

Ctrl+Alt+F9 calculates all worksheets in all open workbooks, regardless of whether they have changed since the last calculation.

Ctrl+Alt+Shift+F9 rechecks dependent formulas, and then calculates all cells in all open workbooks, including cells not marked as needing to be calculated.

Ctrl+F9 minimizes a workbook window to an icon.

F10

Turns key tips on or off. (Pressing Alt does the same thing.)

Shift+F10 displays the shortcut menu for a selected item.

Alt+Shift+F10 displays the menu or message for an Error Checking button.

Ctrl+F10 maximizes or restores the selected workbook window.

F11

Creates a chart of the data in the current range in a separate Chart sheet.

Shift+F11 inserts a new worksheet.

Alt+F11 opens the Microsoft Visual Basic For Applications Editor, in which you can create a macro by using Visual Basic for Applications (VBA).

F12

Displays the Save As dialog box.

Top of Page

Other useful shortcut keys

Key

Description

Alt

Displays the Key Tips (new shortcuts) on the ribbon.

For example,

Alt, W, P switches the worksheet to Page Layout view.

Alt, W, L switches the worksheet to Normal view.

Alt, W, I switches the worksheet to Page Break Preview view.

Arrow Keys

Move one cell up, down, left, or right in a worksheet.

Ctrl+Arrow Key moves to the edge of the current data region in a worksheet.

Shift+Arrow Key extends the selection of cells by one cell.

Ctrl+Shift+Arrow Key extends the selection of cells to the last nonblank cell in the same column or row as the active cell, or if the next cell is blank, extends the selection to the next nonblank cell.

Left Arrow or Right Arrow selects the tab to the left or right when the ribbon is selected. When a submenu is open or selected, these arrow keys switch between the main menu and the submenu. When a ribbon tab is selected, these keys navigate the tab buttons.

Down Arrow or Up Arrow selects the next or previous command when a menu or submenu is open. When a ribbon tab is selected, these keys navigate up or down the tab group.

In a dialog box, arrow keys move between options in an open drop-down list, or between options in a group of options.

Down Arrow or Alt+Down Arrow opens a selected drop-down list.

Backspace

Deletes one character to the left in the Formula Bar.

Also clears the content of the active cell.

In cell editing mode, it deletes the character to the left of the insertion point.

Delete

Removes the cell contents (data and formulas) from selected cells without affecting cell formats or comments.

In cell editing mode, it deletes the character to the right of the insertion point.

End

End turns End mode on or off. In End mode, you can press an arrow key to move to the next nonblank cell in the same column or row as the active cell. End mode turns off automatically after pressing the arrow key. Make sure to press End again before pressing the next arrow key. End mode is shown in the status bar when it is on.

If the cells are blank, pressing End followed by an arrow key moves to the last cell in the row or column.

End also selects the last command on the menu when a menu or submenu is visible.

Ctrl+End moves to the last cell on a worksheet, to the lowest used row of the rightmost used column. If the cursor is in the formula bar, Ctrl+End moves the cursor to the end of the text.

Ctrl+Shift+End extends the selection of cells to the last used cell on the worksheet (lower-right corner). If the cursor is in the formula bar, Ctrl+Shift+End selects all text in the formula bar from the cursor position to the end—this does not affect the height of the formula bar.

Enter

Completes a cell entry from the cell or the Formula Bar, and selects the cell below (by default).

In a data form, it moves to the first field in the next record.

Opens a selected menu (press F10 to activate the menu bar) or performs the action for a selected command.

In a dialog box, it performs the action for the default command button in the dialog box (the button with the bold outline, often the OK button).

Alt+Enter starts a new line in the same cell.

Ctrl+Enter fills the selected cell range with the current entry.

Shift+Enter completes a cell entry and selects the cell above.

Esc

Cancels an entry in the cell or Formula Bar.

Closes an open menu or submenu, dialog box, or message window.

It also closes full screen mode when this mode has been applied, and returns to normal screen mode to display the ribbon and status bar again.

Home

Moves to the beginning of a row in a worksheet.

Moves to the cell in the upper-left corner of the window when Scroll Lock is turned on.

Selects the first command on the menu when a menu or submenu is visible.

Ctrl+Home moves to the beginning of a worksheet.

Ctrl+Shift+Home extends the selection of cells to the beginning of the worksheet.

Page Down

Moves one screen down in a worksheet.

Alt+Page Down moves one screen to the right in a worksheet.

Ctrl+Page Down moves to the next sheet in a workbook.

Ctrl+Shift+Page Down selects the current and next sheet in a workbook.

Page Up

Moves one screen up in a worksheet.

Alt+Page Up moves one screen to the left in a worksheet.

Ctrl+Page Up moves to the previous sheet in a workbook.

Ctrl+Shift+Page Up selects the current and previous sheet in a workbook.

Spacebar

In a dialog box, performs the action for the selected button, or selects or clears a check box.

Ctrl+Spacebar selects an entire column in a worksheet.

Shift+Spacebar selects an entire row in a worksheet.

Ctrl+Shift+Spacebar selects the entire worksheet.

  • If the worksheet contains data, Ctrl+Shift+Spacebar selects the current region. Pressing Ctrl+Shift+Spacebar a second time selects the current region and its summary rows. Pressing Ctrl+Shift+Spacebar a third time selects the entire worksheet.

  • When an object is selected, Ctrl+Shift+Spacebar selects all objects on a worksheet.

Alt+Spacebar displays the Control menu for the Excel window.

Tab

Moves one cell to the right in a worksheet.

Moves between unlocked cells in a protected worksheet.

Moves to the next option or option group in a dialog box.

Shift+Tab moves to the previous cell in a worksheet or the previous option in a dialog box.

Ctrl+Tab switches to the next tab in dialog box.

Ctrl+Shift+Tab switches to the previous tab in a dialog box.

Top of Page

This article describes keyboard shortcuts, function keys, and some other common shortcut keys for Excel 2013. This includes the shortcuts that you can use to access the Ribbon.

Tip: To keep this reference available when you work, you may want to print this topic. To print this topic, press CTRL+P.

Note: If an action that you use often does not have a shortcut key, you can record a macro to create one.

Important: 

  • These shortcuts refer to the US keyboard layout. Keys for other layouts might not correspond exactly to the keys on a US keyboard.

  • If a shortcut requires pressing two or more keys at the same time, this topic separates the keys with a plus sign (+). If you have to press one key immediately after another, the keys are separated by a comma (,).

Keyboard access to the Ribbon

If you're new to the Ribbon, the information in this section can help you understand the Ribbon's keyboard shortcut model. The Ribbon comes with new shortcuts, called Key Tips, which you can make appear when you press the Alt key.

Key Tip badges appearing on ribbon

To display a tab on the Ribbon, press the key for the tab—for example, press the letter N for the Insert tab or M for the Formulas tab. This makes all the Key Tip badges for that tab's buttons appear. Then, press the key for the button you want.

Will my old shortcuts still work?

Keyboard shortcuts that begin with Ctrl will still work in Microsoft Excel 2013. For example, Ctrl+C still copies to the clipboard, and Ctrl+V still pastes from the clipboard.

Most of the old Alt+ menu shortcuts still work, too. However, you need to know the full shortcut from memory — there are no screen reminders of what letters to press. For example, try pressing Alt, and then press one of the old menu keys E (Edit), V (View), I (Insert), and so on. A box pops up saying you're using an access key from an earlier version of Microsoft Office. If you know the entire key sequence, go ahead and initiate the command. If you don't know the sequence, press Esc and use Key Tip badges instead.

Ctrl combination shortcut keys

Key

Description

Ctrl+PgDn

Switches between worksheet tabs, from left-to-right.

Ctrl+PgUp

Switches between worksheet tabs, from right-to-left.

Ctrl+Shift+&

Applies the outline border to the selected cells.

Ctrl+Shift_

Removes the outline border from the selected cells.

Ctrl+Shift+~

Applies the General number format.

Ctrl+Shift+$

Applies the Currency format with two decimal places (negative numbers in parentheses).

Ctrl+Shift+%

Applies the Percentage format with no decimal places.

Ctrl+Shift+^

Applies the Scientific number format with two decimal places.

Ctrl+Shift+#

Applies the Date format with the day, month, and year.

Ctrl+Shift+@

Applies the Time format with the hour and minute, and AM or PM.

Ctrl+Shift+!

Applies the Number format with two decimal places, thousands separator, and minus sign (-) for negative values.

Ctrl+Shift+*

Selects the current region around the active cell (the data area enclosed by blank rows and blank columns).

In a PivotTable, it selects the entire PivotTable report.

Ctrl+Shift+:

Enters the current time.

Ctrl+Shift+"

Copies the value from the cell above the active cell into the cell or the Formula Bar.

Ctrl+Shift+Plus (+)

Displays the Insert dialog box to insert blank cells.

Ctrl+Minus (-)

Displays the Delete dialog box to delete the selected cells.

Ctrl+;

Enters the current date.

Ctrl+`

Alternates between displaying cell values and displaying formulas in the worksheet.

Ctrl+'

Copies a formula from the cell above the active cell into the cell or the Formula Bar.

Ctrl+1

Displays the Format Cells dialog box.

Ctrl+2

Applies or removes bold formatting.

Ctrl+3

Applies or removes italic formatting.

Ctrl+4

Applies or removes underlining.

Ctrl+5

Applies or removes strikethrough.

Ctrl+6

Alternates between hiding and displaying objects.

Ctrl+8

Displays or hides the outline symbols.

Ctrl+9

Hides the selected rows.

Ctrl+0

Hides the selected columns.

Ctrl+A

Selects the entire worksheet.

If the worksheet contains data, Ctrl+A selects the current region. Pressing Ctrl+A a second time selects the entire worksheet.

When the insertion point is to the right of a function name in a formula, displays the Function Arguments dialog box.

Ctrl+Shift+A inserts the argument names and parentheses when the insertion point is to the right of a function name in a formula.

Ctrl+B

Applies or removes bold formatting.

Ctrl+C

Copies the selected cells.

Ctrl+D

Uses the Fill Down command to copy the contents and format of the topmost cell of a selected range into the cells below.

Ctrl+E

Invoke Flash Fill to automatically recognize patterns in adjacent columns and fill the current column

Ctrl+F

Displays the Find and Replace dialog box, with the Find tab selected.

Shift+F5 also displays this tab, while Shift+F4 repeats the last Find action.

Ctrl+Shift+F opens the Format Cells dialog box with the Font tab selected.

Ctrl+G

Displays the Go To dialog box.

F5 also displays this dialog box.

Ctrl+H

Displays the Find and Replace dialog box, with the Replace tab selected.

Ctrl+I

Applies or removes italic formatting.

Ctrl+K

Displays the Insert Hyperlink dialog box for new hyperlinks or the Edit Hyperlink dialog box for selected existing hyperlinks.

Ctrl+L

Displays the Create Table dialog box.

Ctrl+N

Creates a new, blank workbook.

Ctrl+O

Displays the Open dialog box to open or find a file.

Ctrl+Shift+O selects all cells that contain comments.

Ctrl+P

Displays the Print tab in Microsoft Office Backstage view.

Ctrl+Shift+P opens the Format Cells dialog box with the Font tab selected.

Ctrl+Q

Displays the Quick Analysis options for your data when you have cells that contain that data selected.

Ctrl+R

Uses the Fill Right command to copy the contents and format of the leftmost cell of a selected range into the cells to the right.

Ctrl+S

Saves the active file with its current file name, location, and file format.

Ctrl+T

Displays the Create Table dialog box.

Ctrl+U

Applies or removes underlining.

Ctrl+Shift+U switches between expanding and collapsing of the formula bar.

Ctrl+V

Inserts the contents of the Clipboard at the insertion point and replaces any selection. Available only after you have cut or copied an object, text, or cell contents.

Ctrl+Alt+V displays the Paste Special dialog box. Available only after you have cut or copied an object, text, or cell contents on a worksheet or in another program.

Ctrl+W

Closes the selected workbook window.

Ctrl+X

Cuts the selected cells.

Ctrl+Y

Repeats the last command or action, if possible.

Ctrl+Z

Uses the Undo command to reverse the last command or to delete the last entry that you typed.

Tip: The Ctrl combinations Ctrl+J and Ctrl+M are currently unassigned shortcuts.

Top of Page

Function keys

Key

Description

F1

Displays the Excel Help task pane.

Ctrl+F1 displays or hides the Ribbon.

Alt+F1 creates an embedded chart of the data in the current range.

Alt+Shift+F1 inserts a new worksheet.

F2

Edits the active cell and positions the insertion point at the end of the cell contents. It also moves the insertion point into the Formula Bar when editing in a cell is turned off.

Shift+F2 adds or edits a cell comment.

Ctrl+F2 displays the print preview area on the Print tab in the Backstage view.

F3

Displays the Paste Name dialog box. Available only if names have been defined in the workbook (Formulas tab, Defined Names group, Define Name).

Shift+F3 displays the Insert Function dialog box.

F4

Repeats the last command or action, if possible.

When a cell reference or range is selected in a formula, F4 cycles through all the various combinations of absolute and relative references.

Ctrl+F4 closes the selected workbook window.

Alt+F4 closes Excel.

F5

Displays the Go To dialog box.

Ctrl+F5 restores the window size of the selected workbook window.

F6

Switches between the worksheet, Ribbon, task pane, and Zoom controls. In a worksheet that has been split (View menu, Manage This Window, Freeze Panes, Split Window command), F6 includes the split panes when switching between panes and the Ribbon area.

Shift+F6 switches between the worksheet, Zoom controls, task pane, and Ribbon.

Ctrl+F6 switches to the next workbook window when more than one workbook window is open.

F7

Displays the Spelling dialog box to check spelling in the active worksheet or selected range.

Ctrl+F7 performs the Move command on the workbook window when it is not maximized. Use the arrow keys to move the window, and when finished press Enter, or Esc to cancel.

F8

Turns extend mode on or off. In extend mode, Extended Selection appears in the status line, and the arrow keys extend the selection.

Shift+F8 enables you to add a nonadjacent cell or range to a selection of cells by using the arrow keys.

Ctrl+F8 performs the Size command (on the Control menu for the workbook window) when a workbook is not maximized.

Alt+F8 displays the Macro dialog box to create, run, edit, or delete a macro.

F9

Calculates all worksheets in all open workbooks.

Shift+F9 calculates the active worksheet.

Ctrl+Alt+F9 calculates all worksheets in all open workbooks, regardless of whether they have changed since the last calculation.

Ctrl+Alt+Shift+F9 rechecks dependent formulas, and then calculates all cells in all open workbooks, including cells not marked as needing to be calculated.

Ctrl+F9 minimizes a workbook window to an icon.

F10

Turns key tips on or off. (Pressing Alt does the same thing.)

Shift+F10 displays the shortcut menu for a selected item.

Alt+Shift+F10 displays the menu or message for an Error Checking button.

Ctrl+F10 maximizes or restores the selected workbook window.

F11

Creates a chart of the data in the current range in a separate Chart sheet.

Shift+F11 inserts a new worksheet.

Alt+F11 opens the Microsoft Visual Basic For Applications Editor, in which you can create a macro by using Visual Basic for Applications (VBA).

F12

Displays the Save As dialog box.

Top of Page

Other useful shortcut keys

Key

Description

Alt

Displays the Key Tips (new shortcuts) on the Ribbon.

For example,

Alt, W, P switches the worksheet to Page Layout view.

Alt, W, L switches the worksheet to Normal view.

Alt, W, I switches the worksheet to Page Break Preview view.

Arrow Keys

Move one cell up, down, left, or right in a worksheet.

Ctrl+Arrow Key moves to the edge of the current data region in a worksheet.

Shift+Arrow Key extends the selection of cells by one cell.

Ctrl+Shift+Arrow Key extends the selection of cells to the last nonblank cell in the same column or row as the active cell, or if the next cell is blank, extends the selection to the next nonblank cell.

Left Arrow or Right Arrow selects the tab to the left or right when the Ribbon is selected. When a submenu is open or selected, these arrow keys switch between the main menu and the submenu. When a Ribbon tab is selected, these keys navigate the tab buttons.

Down Arrow or Up Arrow selects the next or previous command when a menu or submenu is open. When a Ribbon tab is selected, these keys navigate up or down the tab group.

In a dialog box, arrow keys move between options in an open drop-down list, or between options in a group of options.

Down Arrow or Alt+Down Arrow opens a selected drop-down list.

Backspace

Deletes one character to the left in the Formula Bar.

Also clears the content of the active cell.

In cell editing mode, it deletes the character to the left of the insertion point.

Delete

Removes the cell contents (data and formulas) from selected cells without affecting cell formats or comments.

In cell editing mode, it deletes the character to the right of the insertion point.

End

End turns End mode on or off. In End mode, you can press an arrow key to move to the next nonblank cell in the same column or row as the active cell. End mode turns off automatically after pressing the arrow key. Make sure to press End again before pressing the next arrow key. End mode is shown in the status bar when it is on.

If the cells are blank, pressing End followed by an arrow key moves to the last cell in the row or column.

End also selects the last command on the menu when a menu or submenu is visible.

Ctrl+End moves to the last cell on a worksheet, to the lowest used row of the rightmost used column. If the cursor is in the formula bar, Ctrl+End moves the cursor to the end of the text.

Ctrl+Shift+End extends the selection of cells to the last used cell on the worksheet (lower-right corner). If the cursor is in the formula bar, Ctrl+Shift+End selects all text in the formula bar from the cursor position to the end—this does not affect the height of the formula bar.

Enter

Completes a cell entry from the cell or the Formula Bar, and selects the cell below (by default).

In a data form, it moves to the first field in the next record.

Opens a selected menu (press F10 to activate the menu bar) or performs the action for a selected command.

In a dialog box, it performs the action for the default command button in the dialog box (the button with the bold outline, often the OK button).

Alt+Enter starts a new line in the same cell.

Ctrl+Enter fills the selected cell range with the current entry.

Shift+Enter completes a cell entry and selects the cell above.

Esc

Cancels an entry in the cell or Formula Bar.

Closes an open menu or submenu, dialog box, or message window.

It also closes full screen mode when this mode has been applied, and returns to normal screen mode to display the Ribbon and status bar again.

Home

Moves to the beginning of a row in a worksheet.

Moves to the cell in the upper-left corner of the window when Scroll Lock is turned on.

Selects the first command on the menu when a menu or submenu is visible.

Ctrl+Home moves to the beginning of a worksheet.

Ctrl+Shift+Home extends the selection of cells to the beginning of the worksheet.

Page Down

Moves one screen down in a worksheet.

Alt+Page Down moves one screen to the right in a worksheet.

Ctrl+Page Down moves to the next sheet in a workbook.

Ctrl+Shift+Page Down selects the current and next sheet in a workbook.

Page Up

Moves one screen up in a worksheet.

Alt+Page Up moves one screen to the left in a worksheet.

Ctrl+Page Up moves to the previous sheet in a workbook.

Ctrl+Shift+Page Up selects the current and previous sheet in a workbook.

Spacebar

In a dialog box, performs the action for the selected button, or selects or clears a check box.

Ctrl+Spacebar selects an entire column in a worksheet.

Shift+Spacebar selects an entire row in a worksheet.

Ctrl+Shift+Spacebar selects the entire worksheet.

  • If the worksheet contains data, Ctrl+Shift+Spacebar selects the current region. Pressing Ctrl+Shift+Spacebar a second time selects the current region and its summary rows. Pressing Ctrl+Shift+Spacebar a third time selects the entire worksheet.

  • When an object is selected, Ctrl+Shift+Spacebar selects all objects on a worksheet.

Alt+Spacebar displays the Control menu for the Excel window.

Tab

Moves one cell to the right in a worksheet.

Moves between unlocked cells in a protected worksheet.

Moves to the next option or option group in a dialog box.

Shift+Tab moves to the previous cell in a worksheet or the previous option in a dialog box.

Ctrl+Tab switches to the next tab in dialog box.

Ctrl+Shift+Tab switches to the previous tab in a dialog box.

Top of Page

This article describes keyboard shortcuts, function keys, and some other common shortcut keys for Excel 2010. This includes the shortcuts that you can use to access the Ribbon.

Note: If you are using Microsoft Excel Starter 2010, be aware that not all the features listed for Excel are supported in Excel Starter 2010.

Tip: To keep this reference available when you work, you may want to print this topic. To print this topic, press CTRL+P.

Note: If an action that you use often does not have a shortcut key, you can record a macro to create one.

Important: 

  • These shortcuts refer to the US keyboard layout. Keys for other layouts might not correspond exactly to the keys on a US keyboard.

  • If a shortcut requires pressing two or more keys at the same time, this topic separates the keys with a plus sign (+). If you have to press one key immediately after another, the keys are separated by a comma (,).

Keyboard access to the Ribbon

If you're new to the Ribbon, the information in this section can help you understand the Ribbon's keyboard shortcut model. The Ribbon comes with new shortcuts, called Key Tips, which you can make appear when you press the Alt key.

Key Tip badges appearing on ribbon

To display a tab on the Ribbon, press the key for the tab—for example, press the letter N for the Insert tab or M for the Formulas tab. This makes all the Key Tip badges for that tab's buttons appear. Then, press the key for the button you want.

Will my old shortcuts still work?

Keyboard shortcuts that begin with CTRL will still work in Excel 2010. For example, CTRL+C still copies to the clipboard, and CTRL+V still pastes from the clipboard.

Most of the old ALT+ menu shortcuts still work, too. However, you need to know the full shortcut from memory — there are no screen reminders of what letters to press. For example, try pressing ALT, and then press one of the old menu keys E (Edit), V (View), I (Insert), and so on. A box pops up saying you're using an access key from an earlier version of Microsoft Office. If you know the entire key sequence, go ahead and initiate the command. If you don't know the sequence, press ESC and use Key Tip badges instead.

CTRL combination shortcut keys

Tip:  Download or print a Quick Reference Card: Keyboard Shortcuts - Ctrl keys. (PDF)

Key

Description

CTRL+PgUp

Switches between worksheet tabs, from left-to-right.

CTRL+PgDn

Switches between worksheet tabs, from right-to-left.

CTRL+SHIFT+(

Unhides any hidden rows within the selection.

CTRL+SHIFT+&

Applies the outline border to the selected cells.

CTRL+SHIFT_

Removes the outline border from the selected cells.

CTRL+SHIFT+~

Applies the General number format.

CTRL+SHIFT+$

Applies the Currency format with two decimal places (negative numbers in parentheses).

CTRL+SHIFT+%

Applies the Percentage format with no decimal places.

CTRL+SHIFT+^

Applies the Scientific number format with two decimal places.

CTRL+SHIFT+#

Applies the Date format with the day, month, and year.

CTRL+SHIFT+@

Applies the Time format with the hour and minute, and AM or PM.

CTRL+SHIFT+!

Applies the Number format with two decimal places, thousands separator, and minus sign (-) for negative values.

CTRL+SHIFT+*

Selects the current region around the active cell (the data area enclosed by blank rows and blank columns).

In a PivotTable, it selects the entire PivotTable report.

CTRL+SHIFT+:

Enters the current time.

CTRL+SHIFT+"

Copies the value from the cell above the active cell into the cell or the Formula Bar.

CTRL+SHIFT+Plus (+)

Displays the Insert dialog box to insert blank cells.

CTRL+Minus (-)

Displays the Delete dialog box to delete the selected cells.

CTRL+;

Enters the current date.

CTRL+`

Alternates between displaying cell values and displaying formulas in the worksheet.

CTRL+'

Copies a formula from the cell above the active cell into the cell or the Formula Bar.

CTRL+1

Displays the Format Cells dialog box.

CTRL+2

Applies or removes bold formatting.

CTRL+3

Applies or removes italic formatting.

CTRL+4

Applies or removes underlining.

CTRL+5

Applies or removes strikethrough.

CTRL+6

Alternates between hiding and displaying objects.

CTRL+8

Displays or hides the outline symbols.

CTRL+9

Hides the selected rows.

CTRL+0

Hides the selected columns.

CTRL+A

Selects the entire worksheet.

If the worksheet contains data, CTRL+A selects the current region. Pressing CTRL+A a second time selects the entire worksheet.

When the insertion point is to the right of a function name in a formula, displays the Function Arguments dialog box.

CTRL+SHIFT+A inserts the argument names and parentheses when the insertion point is to the right of a function name in a formula.

CTRL+B

Applies or removes bold formatting.

CTRL+C

Copies the selected cells.

CTRL+D

Uses the Fill Down command to copy the contents and format of the topmost cell of a selected range into the cells below.

CTRL+F

Displays the Find and Replace dialog box, with the Find tab selected.

SHIFT+F5 also displays this tab, while SHIFT+F4 repeats the last Find action.

CTRL+SHIFT+F opens the Format Cells dialog box with the Font tab selected.

CTRL+G

Displays the Go To dialog box.

F5 also displays this dialog box.

CTRL+H

Displays the Find and Replace dialog box, with the Replace tab selected.

CTRL+I

Applies or removes italic formatting.

CTRL+K

Displays the Insert Hyperlink dialog box for new hyperlinks or the Edit Hyperlink dialog box for selected existing hyperlinks.

CTRL+L

Displays the Create Table dialog box.

CTRL+N

Creates a new, blank workbook.

CTRL+O

Displays the Open dialog box to open or find a file.

CTRL+SHIFT+O selects all cells that contain comments.

CTRL+P

Displays the Print tab in Microsoft Office Backstage view.

CTRL+SHIFT+P opens the Format Cells dialog box with the Font tab selected.

CTRL+R

Uses the Fill Right command to copy the contents and format of the leftmost cell of a selected range into the cells to the right.

CTRL+S

Saves the active file with its current file name, location, and file format.

CTRL+T

Displays the Create Table dialog box.

CTRL+U

Applies or removes underlining.

CTRL+SHIFT+U switches between expanding and collapsing of the formula bar.

CTRL+V

Inserts the contents of the Clipboard at the insertion point and replaces any selection. Available only after you have cut or copied an object, text, or cell contents.

CTRL+ALT+V displays the Paste Special dialog box. Available only after you have cut or copied an object, text, or cell contents on a worksheet or in another program.

CTRL+W

Closes the selected workbook window.

CTRL+X

Cuts the selected cells.

CTRL+Y

Repeats the last command or action, if possible.

CTRL+Z

Uses the Undo command to reverse the last command or to delete the last entry that you typed.

Tip: The CTRL cominbations CTRL+E, CTRL+J, CTRL+M, and CTRL+Q are currently unassigned shortcuts.

Top of Page

Function keys

Tip:  Download or print a Quick Reference Card: Keyboard Shortcuts - Function keys. (PDF)

Key

Description

F1

Displays the Excel Help task pane.

CTRL+F1 displays or hides the Ribbon.

ALT+F1 creates an embedded chart of the data in the current range.

ALT+SHIFT+F1 inserts a new worksheet.

F2

Edits the active cell and positions the insertion point at the end of the cell contents. It also moves the insertion point into the Formula Bar when editing in a cell is turned off.

SHIFT+F2 adds or edits a cell comment.

CTRL+F2 displays the print preview area on the Print tab in the Backstage view.

F3

Displays the Paste Name dialog box. Available only if there are existing names in the workbook.

SHIFT+F3 displays the Insert Function dialog box.

F4

Repeats the last command or action, if possible.

When a cell reference or range is selected in a formula, F4 cycles through all the various combinations of absolute and relative references.

CTRL+F4 closes the selected workbook window.

ALT+F4 closes Excel.

F5

Displays the Go To dialog box.

CTRL+F5 restores the window size of the selected workbook window.

F6

Switches between the worksheet, Ribbon, task pane, and Zoom controls. In a worksheet that has been split (View menu, Manage This Window, Freeze Panes, Split Window command), F6 includes the split panes when switching between panes and the Ribbon area.

SHIFT+F6 switches between the worksheet, Zoom controls, task pane, and Ribbon.

CTRL+F6 switches to the next workbook window when more than one workbook window is open.

F7

Displays the Spelling dialog box to check spelling in the active worksheet or selected range.

CTRL+F7 performs the Move command on the workbook window when it is not maximized. Use the arrow keys to move the window, and when finished press ENTER, or ESC to cancel.

F8

Turns extend mode on or off. In extend mode, Extended Selection appears in the status line, and the arrow keys extend the selection.

SHIFT+F8 enables you to add a nonadjacent cell or range to a selection of cells by using the arrow keys.

CTRL+F8 performs the Size command (on the Control menu for the workbook window) when a workbook is not maximized.

ALT+F8 displays the Macro dialog box to create, run, edit, or delete a macro.

F9

Calculates all worksheets in all open workbooks.

SHIFT+F9 calculates the active worksheet.

CTRL+ALT+F9 calculates all worksheets in all open workbooks, regardless of whether they have changed since the last calculation.

CTRL+ALT+SHIFT+F9 rechecks dependent formulas, and then calculates all cells in all open workbooks, including cells not marked as needing to be calculated.

CTRL+F9 minimizes a workbook window to an icon.

F10

Turns key tips on or off. (Pressing ALT does the same thing.)

SHIFT+F10 displays the shortcut menu for a selected item.

ALT+SHIFT+F10 displays the menu or message for an Error Checking button.

CTRL+F10 maximizes or restores the selected workbook window.

F11

Creates a chart of the data in the current range in a separate Chart sheet.

SHIFT+F11 inserts a new worksheet.

ALT+F11 opens the Microsoft Visual Basic For Applications Editor, in which you can create a macro by using Visual Basic for Applications (VBA).

F12

Displays the Save As dialog box.

Top of Page

Other useful shortcut keys

Note:  Download or print a Quick Reference Card: Keyboard Shortcuts - Miscellaneous. (PDF)

Key

Description

ALT

Displays the Key Tips (new shortcuts) on the Ribbon.

For example,

ALT, W, P switches the worksheet to Page Layout view.

ALT, W, L switches the worksheet to Normal view.

ALT, W, I switches the worksheet to Page Break Preview view.

ARROW KEYS

Move one cell up, down, left, or right in a worksheet.

CTRL+ARROW KEY moves to the edge of the current data region in a worksheet.

SHIFT+ARROW KEY extends the selection of cells by one cell.

CTRL+SHIFT+ARROW KEY extends the selection of cells to the last nonblank cell in the same column or row as the active cell, or if the next cell is blank, extends the selection to the next nonblank cell.

LEFT ARROW or RIGHT ARROW selects the tab to the left or right when the Ribbon is selected. When a submenu is open or selected, these arrow keys switch between the main menu and the submenu. When a Ribbon tab is selected, these keys navigate the tab buttons.

DOWN ARROW or UP ARROW selects the next or previous command when a menu or submenu is open. When a Ribbon tab is selected, these keys navigate up or down the tab group.

In a dialog box, arrow keys move between options in an open drop-down list, or between options in a group of options.

DOWN ARROW or ALT+DOWN ARROW opens a selected drop-down list.

BACKSPACE

Deletes one character to the left in the Formula Bar.

Also clears the content of the active cell.

In cell editing mode, it deletes the character to the left of the insertion point.

DELETE

Removes the cell contents (data and formulas) from selected cells without affecting cell formats or comments.

In cell editing mode, it deletes the character to the right of the insertion point.

END

END turns End mode on. In End mode, you can then press an arrow key to move to the next nonblank cell in the same column or row as the active cell. If the cells are blank, pressing END followed by an arrow key moves to the last cell in the row or column.

END also selects the last command on the menu when a menu or submenu is visible.

CTRL+END moves to the last cell on a worksheet, to the lowest used row of the rightmost used column. If the cursor is in the formula bar, CTRL+END moves the cursor to the end of the text.

CTRL+SHIFT+END extends the selection of cells to the last used cell on the worksheet (lower-right corner). If the cursor is in the formula bar, CTRL+SHIFT+END selects all text in the formula bar from the cursor position to the end—this does not affect the height of the formula bar.

ENTER

Completes a cell entry from the cell or the Formula Bar, and selects the cell below (by default).

In a data form, it moves to the first field in the next record.

Opens a selected menu (press F10 to activate the menu bar) or performs the action for a selected command.

In a dialog box, it performs the action for the default command button in the dialog box (the button with the bold outline, often the OK button).

ALT+ENTER starts a new line in the same cell.

CTRL+ENTER fills the selected cell range with the current entry.

SHIFT+ENTER completes a cell entry and selects the cell above.

ESC

Cancels an entry in the cell or Formula Bar.

Closes an open menu or submenu, dialog box, or message window.

It also closes full screen mode when this mode has been applied, and returns to normal screen mode to display the Ribbon and status bar again.

HOME

Moves to the beginning of a row in a worksheet.

Moves to the cell in the upper-left corner of the window when SCROLL LOCK is turned on.

Selects the first command on the menu when a menu or submenu is visible.

CTRL+HOME moves to the beginning of a worksheet.

CTRL+SHIFT+HOME extends the selection of cells to the beginning of the worksheet.

PAGE DOWN

Moves one screen down in a worksheet.

ALT+PAGE DOWN moves one screen to the right in a worksheet.

CTRL+PAGE DOWN moves to the next sheet in a workbook.

CTRL+SHIFT+PAGE DOWN selects the current and next sheet in a workbook.

PAGE UP

Moves one screen up in a worksheet.

ALT+PAGE UP moves one screen to the left in a worksheet.

CTRL+PAGE UP moves to the previous sheet in a workbook.

CTRL+SHIFT+PAGE UP selects the current and previous sheet in a workbook.

SPACEBAR

In a dialog box, performs the action for the selected button, or selects or clears a check box.

CTRL+SPACEBAR selects an entire column in a worksheet.

SHIFT+SPACEBAR selects an entire row in a worksheet.

CTRL+SHIFT+SPACEBAR selects the entire worksheet.

  • If the worksheet contains data, CTRL+SHIFT+SPACEBAR selects the current region. Pressing CTRL+SHIFT+SPACEBAR a second time selects the current region and its summary rows. Pressing CTRL+SHIFT+SPACEBAR a third time selects the entire worksheet.

  • When an object is selected, CTRL+SHIFT+SPACEBAR selects all objects on a worksheet.

ALT+SPACEBAR displays the Control menu for the Excel window.

TAB

Moves one cell to the right in a worksheet.

Moves between unlocked cells in a protected worksheet.

Moves to the next option or option group in a dialog box.

SHIFT+TAB moves to the previous cell in a worksheet or the previous option in a dialog box.

CTRL+TAB switches to the next tab in dialog box.

CTRL+SHIFT+TAB switches to the previous tab in a dialog box.

This article describes keyboard shortcuts, function keys, and some other common shortcut keys for Excel 2007. This includes the shortcuts that you can use to access the Ribbon.

Tip: To keep this reference available when you work, you may want to print this topic. To print this topic, press CTRL+P.

Note: If an action that you use often does not have a shortcut key, you can record a macro to create one.

Important: 

  • These shortcuts refer to the US keyboard layout. Keys for other layouts might not correspond exactly to the keys on a US keyboard.

  • If a shortcut requires pressing two or more keys at the same time, this topic separates the keys with a plus sign (+). If you have to press one key immediately after another, the keys are separated by a comma (,).

CTRL combination shortcut keys

Key

Description

CTRL+PgUp

Switches between worksheet tabs, from left-to-right.

CTRL+PgDn

Switches between worksheet tabs, from right-to-left.

CTRL+SHIFT+(

Unhides any hidden rows within the selection.

CTRL+SHIFT+)

Unhides any hidden columns within the selection.

CTRL+SHIFT+&

Applies the outline border to the selected cells.

CTRL+SHIFT_

Removes the outline border from the selected cells.

CTRL+SHIFT+~

Applies the General number format.

CTRL+SHIFT+$

Applies the Currency format with two decimal places (negative numbers in parentheses).

CTRL+SHIFT+%

Applies the Percentage format with no decimal places.

CTRL+SHIFT+^

Applies the Exponential number format with two decimal places.

CTRL+SHIFT+#

Applies the Date format with the day, month, and year.

CTRL+SHIFT+@

Applies the Time format with the hour and minute, and AM or PM.

CTRL+SHIFT+!

Applies the Number format with two decimal places, thousands separator, and minus sign (-) for negative values.

CTRL+SHIFT+*

Selects the current region around the active cell (the data area enclosed by blank rows and blank columns).

In a PivotTable, it selects the entire PivotTable report.

CTRL+SHIFT+:

Enters the current time.

CTRL+SHIFT+"

Copies the value from the cell above the active cell into the cell or the Formula Bar.

CTRL+SHIFT+Plus (+)

Displays the Insert dialog box to insert blank cells.

CTRL+Minus (-)

Displays the Delete dialog box to delete the selected cells.

CTRL+;

Enters the current date.

CTRL+`

Alternates between displaying cell values and displaying formulas in the worksheet.

CTRL+'

Copies a formula from the cell above the active cell into the cell or the Formula Bar.

CTRL+1

Displays the Format Cells dialog box.

CTRL+2

Applies or removes bold formatting.

CTRL+3

Applies or removes italic formatting.

CTRL+4

Applies or removes underlining.

CTRL+5

Applies or removes strikethrough.

CTRL+6

Alternates between hiding objects, displaying objects, and displaying placeholders for objects.

CTRL+8

Displays or hides the outline symbols.

CTRL+9

Hides the selected rows.

CTRL+0

Hides the selected columns.

CTRL+A

Selects the entire worksheet.

If the worksheet contains data, CTRL+A selects the current region. Pressing CTRL+A a second time selects the current region and its summary rows. Pressing CTRL+A a third time selects the entire worksheet.

When the insertion point is to the right of a function name in a formula, displays the Function Arguments dialog box.

CTRL+SHIFT+A inserts the argument names and parentheses when the insertion point is to the right of a function name in a formula.

CTRL+B

Applies or removes bold formatting.

CTRL+C

Copies the selected cells.

CTRL+C followed by another CTRL+C displays the Clipboard.

CTRL+D

Uses the Fill Down command to copy the contents and format of the topmost cell of a selected range into the cells below.

CTRL+F

Displays the Find and Replace dialog box, with the Find tab selected.

SHIFT+F5 also displays this tab, while SHIFT+F4 repeats the last Find action.

CTRL+SHIFT+F opens the Format Cells dialog box with the Font tab selected.

CTRL+G

Displays the Go To dialog box.

F5 also displays this dialog box.

CTRL+H

Displays the Find and Replace dialog box, with the Replace tab selected.

CTRL+I

Applies or removes italic formatting.

CTRL+K

Displays the Insert Hyperlink dialog box for new hyperlinks or the Edit Hyperlink dialog box for selected existing hyperlinks.

CTRL+N

Creates a new, blank workbook.

CTRL+O

Displays the Open dialog box to open or find a file.

CTRL+SHIFT+O selects all cells that contain comments.

CTRL+P

Displays the Print dialog box.

CTRL+SHIFT+P opens the Format Cells dialog box with the Font tab selected.

CTRL+R

Uses the Fill Right command to copy the contents and format of the leftmost cell of a selected range into the cells to the right.

CTRL+S

Saves the active file with its current file name, location, and file format.

CTRL+T

Displays the Create Table dialog box.

CTRL+U

Applies or removes underlining.

CTRL+SHIFT+U switches between expanding and collapsing of the formula bar.

CTRL+V

Inserts the contents of the Clipboard at the insertion point and replaces any selection. Available only after you have cut or copied an object, text, or cell contents.

CTRL+ALT+V displays the Paste Special dialog box. Available only after you have cut or copied an object, text, or cell contents on a worksheet or in another program.

CTRL+W

Closes the selected workbook window.

CTRL+X

Cuts the selected cells.

CTRL+Y

Repeats the last command or action, if possible.

CTRL+Z

Uses the Undo command to reverse the last command or to delete the last entry that you typed.

CTRL+SHIFT+Z uses the Undo or Redo command to reverse or restore the last automatic correction when AutoCorrect Smart Tags are displayed.

Top of Page

Function keys

Key

Description

F1

Displays the Microsoft Office Excel Help task pane.

CTRL+F1 displays or hides the Ribbon, a component of the Microsoft Office Fluent user interface.

ALT+F1 creates a chart of the data in the current range.

ALT+SHIFT+F1 inserts a new worksheet.

F2

Edits the active cell and positions the insertion point at the end of the cell contents. It also moves the insertion point into the Formula Bar when editing in a cell is turned off.

SHIFT+F2 adds or edits a cell comment.

CTRL+F2 displays the Print Preview window.

F3

Displays the Paste Name dialog box.

SHIFT+F3 displays the Insert Function dialog box.

F4

Repeats the last command or action, if possible.

When a cell reference or range is selected in a formula, F4 cycles through the various combinations of absolute and relative references.

CTRL+F4 closes the selected workbook window.

F5

Displays the Go To dialog box.

CTRL+F5 restores the window size of the selected workbook window.

F6

Switches between the worksheet, Ribbon, task pane, and Zoom controls. In a worksheet that has been split (View menu, Manage This Window, Freeze Panes, Split Window command), F6 includes the split panes when switching between panes and the Ribbon area.

SHIFT+F6 switches between the worksheet, Zoom controls, task pane, and Ribbon.

CTRL+F6 switches to the next workbook window when more than one workbook window is open.

F7

Displays the Spelling dialog box to check spelling in the active worksheet or selected range.

CTRL+F7 performs the Move command on the workbook window when it is not maximized. Use the arrow keys to move the window, and when finished press ENTER, or ESC to cancel.

F8

Turns extend mode on or off. In extend mode, Extended Selection appears in the status line, and the arrow keys extend the selection.

SHIFT+F8 enables you to add a nonadjacent cell or range to a selection of cells by using the arrow keys.

CTRL+F8 performs the Size command (on the Control menu for the workbook window) when a workbook is not maximized.

ALT+F8 displays the Macro dialog box to create, run, edit, or delete a macro.

F9

Calculates all worksheets in all open workbooks.

SHIFT+F9 calculates the active worksheet.

CTRL+ALT+F9 calculates all worksheets in all open workbooks, regardless of whether they have changed since the last calculation.

CTRL+ALT+SHIFT+F9 rechecks dependent formulas, and then calculates all cells in all open workbooks, including cells not marked as needing to be calculated.

CTRL+F9 minimizes a workbook window to an icon.

F10

Turns key tips on or off.

SHIFT+F10 displays the shortcut menu for a selected item.

ALT+SHIFT+F10 displays the menu or message for a smart tag. If more than one smart tag is present, it switches to the next smart tag and displays its menu or message.

CTRL+F10 maximizes or restores the selected workbook window.

F11

Creates a chart of the data in the current range.

SHIFT+F11 inserts a new worksheet.

ALT+F11 opens the Microsoft Visual Basic Editor, in which you can create a macro by using Visual Basic for Applications (VBA).

F12

Displays the Save As dialog box.

Top of Page

Other useful shortcut keys

Key

Description

ARROW KEYS

Move one cell up, down, left, or right in a worksheet.

CTRL+ARROW KEY moves to the edge of the current data region in a worksheet.

SHIFT+ARROW KEY extends the selection of cells by one cell.

CTRL+SHIFT+ARROW KEY extends the selection of cells to the last nonblank cell in the same column or row as the active cell, or if the next cell is blank, extends the selection to the next nonblank cell.

LEFT ARROW or RIGHT ARROW selects the tab to the left or right when the Ribbon is selected. When a submenu is open or selected, these arrow keys switch between the main menu and the submenu. When a Ribbon tab is selected, these keys navigate the tab buttons.

DOWN ARROW or UP ARROW selects the next or previous command when a menu or submenu is open. When a Ribbon tab is selected, these keys navigate up or down the tab group.

In a dialog box, arrow keys move between options in an open drop-down list, or between options in a group of options.

DOWN ARROW or ALT+DOWN ARROW opens a selected drop-down list.

BACKSPACE

Deletes one character to the left in the Formula Bar.

Also clears the content of the active cell.

In cell editing mode, it deletes the character to the left of the insertion point.

DELETE

Removes the cell contents (data and formulas) from selected cells without affecting cell formats or comments.

In cell editing mode, it deletes the character to the right of the insertion point.

END

Moves to the cell in the lower-right corner of the window when SCROLL LOCK is turned on.

Also selects the last command on the menu when a menu or submenu is visible.

CTRL+END moves to the last cell on a worksheet, in the lowest used row of the rightmost used column. If the cursor is in the formula bar, CTRL+END moves the cursor to the end of the text.

CTRL+SHIFT+END extends the selection of cells to the last used cell on the worksheet (lower-right corner). If the cursor is in the formula bar, CTRL+SHIFT+END selects all text in the formula bar from the cursor position to the end—this does not affect the height of the formula bar.

ENTER

Completes a cell entry from the cell or the Formula Bar, and selects the cell below (by default).

In a data form, it moves to the first field in the next record.

Opens a selected menu (press F10 to activate the menu bar) or performs the action for a selected command.

In a dialog box, it performs the action for the default command button in the dialog box (the button with the bold outline, often the OK button).

ALT+ENTER starts a new line in the same cell.

CTRL+ENTER fills the selected cell range with the current entry.

SHIFT+ENTER completes a cell entry and selects the cell above.

ESC

Cancels an entry in the cell or Formula Bar.

Closes an open menu or submenu, dialog box, or message window.

It also closes full screen mode when this mode has been applied, and returns to normal screen mode to display the Ribbon and status bar again.

HOME

Moves to the beginning of a row in a worksheet.

Moves to the cell in the upper-left corner of the window when SCROLL LOCK is turned on.

Selects the first command on the menu when a menu or submenu is visible.

CTRL+HOME moves to the beginning of a worksheet.

CTRL+SHIFT+HOME extends the selection of cells to the beginning of the worksheet.

PAGE DOWN

Moves one screen down in a worksheet.

ALT+PAGE DOWN moves one screen to the right in a worksheet.

CTRL+PAGE DOWN moves to the next sheet in a workbook.

CTRL+SHIFT+PAGE DOWN selects the current and next sheet in a workbook.

PAGE UP

Moves one screen up in a worksheet.

ALT+PAGE UP moves one screen to the left in a worksheet.

CTRL+PAGE UP moves to the previous sheet in a workbook.

CTRL+SHIFT+PAGE UP selects the current and previous sheet in a workbook.

SPACEBAR

In a dialog box, performs the action for the selected button, or selects or clears a check box.

CTRL+SPACEBAR selects an entire column in a worksheet.

SHIFT+SPACEBAR selects an entire row in a worksheet.

CTRL+SHIFT+SPACEBAR selects the entire worksheet.

  • If the worksheet contains data, CTRL+SHIFT+SPACEBAR selects the current region. Pressing CTRL+SHIFT+SPACEBAR a second time selects the current region and its summary rows. Pressing CTRL+SHIFT+SPACEBAR a third time selects the entire worksheet.

  • When an object is selected, CTRL+SHIFT+SPACEBAR selects all objects on a worksheet.

ALT+SPACEBAR displays the Control menu for the Microsoft Office Excel window.

TAB

Moves one cell to the right in a worksheet.

Moves between unlocked cells in a protected worksheet.

Moves to the next option or option group in a dialog box.

SHIFT+TAB moves to the previous cell in a worksheet or the previous option in a dialog box.

CTRL+TAB switches to the next tab in dialog box.

CTRL+SHIFT+TAB switches to the previous tab in a dialog box.

Top of Page

Excel 2016 for Mac keyboard shortcuts are listed here. If you use Excel on a Windows computer, many of the shortcuts that use the CTRL key also work in Excel 2016 for Mac. However, not all do. When in doubt, consult this list. Please note that the shortcuts listed in this topic refer to the U.S. keyboard layout.

Frequently used shortcuts

To do this

Press

Paste

COMMAND + V
or
CONTROL + V

Copy

COMMAND + C
or
CONTROL + C

Clear

DELETE

Save

COMMAND + S
or
CONTROL + S

Undo

COMMAND + Z
or
CONTROL + Z

Redo

COMMAND + Y
or
CONTROL + Y or
COMMAND + SHIFT+ Z

Cut

COMMAND + X
or
CONTROL + X

Bold

COMMAND + B
or
CONTROL + B

Print

COMMAND + P
or
CONTROL + P

Open Visual Basic

OPTION + F11

Fill Down

COMMAND + D
or
CONTROL + D

Fill Right

COMMAND + R
or
CONTROL + R

Insert cells

CONTROL + SHIFT + =

Delete cells

COMMAND + HYPHEN
or
CONTROL + HYPHEN

Calculate all open workbooks

COMMAND + =
or
F9

Close window

COMMAND + W
or
CONTROL + W

Quit Excel

COMMAND + Q

Display the Go To dialog box

CONTROL + G
or
F5

Display the Format Cells dialog box

COMMAND + 1
or
CONTROL + 1

Display the Replace dialog box

CONTROL + H
or
COMMAND + SHIFT + H

Paste Special

COMMAND + CONTROL + V
or
CONTROL + OPTION + V
or
COMMAND + OPTION + V

Underline

COMMAND + U

Italic

COMMAND + I
or
CONTROL + I

New blank workbook

COMMAND + N
or
CONTROL + N

New workbook from template

COMMAND + SHIFT + P

Display the Save As dialog box

COMMAND + SHIFT + S
or
F12

Display the Help window

F1
or
COMMAND + /

Select All

COMMAND + A
or
COMMAND + SHIFT + SPACEBAR

Add or remove a filter

COMMAND + SHIFT + F
or
CONTROL + SHIFT + L

Minimize or maximize the ribbon tabs

COMMAND + OPTION + R

Display the Open dialog box

COMMAND + O
or
CONTROL + O

Check spelling

F7

Open the thesaurus

SHIFT + F7

Display the Formula Builder

SHIFT + F3

Open the Define Name dialog box

COMMAND + F3

Open the Create names dialog box

COMMAND + SHIFT + F3

Insert a new sheet *

SHIFT + F11

Print

COMMAND + P or Control + P

Print preview

COMMAND + P or Control + P

** This shortcut conflicts with a default Mac OS key assignment. To use this shortcut, you must change your Mac keyboard settings. Go to Apple > System Preferences > Keyboard > Shortcuts. Click Mission Control, and then click to deselect the Show Desktop option.

Top of Page

Function keys

Note: Note: If a function key doesn't work as you expect it to, press the FN key in addition to the function key. If you don't want to press the FN key each time, you can change your system preferences: Go to Apple > System Preferences > Keyboard. Then select the check box for Use all F1, F2, etc. as standard function keys.

To do this

Press

Display the Help window

F1

Edit the selected cell

F2

Insert or edit a cell comment

Shift + F2

Open the Save dialog

Option + F2

Open the Formula Builder

Shift+F3

Open the Define Name dialog

COMMAND +F3

Close

COMMAND +F4

Display the Go To dialog

F5

Display the Find dialog

Shift + F5

Move to the Search Sheet dialog

Control + F5

Check spelling

F7

Open the thesaurus

Shift + F7 or Control + Option + COMMAND + R

Extend the selection

F8

Add to the selection

Shift + F8

Display the Macro dialog

Option+F8

Calculate all open workbooks

F9

Calculate the active sheet

Shift + F9

Minimize the active window

Control + F9

Display a contextual menu, or "right click" menu

Shift + F10

Maximize or restore the active window

Control + F10 or COMMAND + F10

Insert a new chart sheet*

F11

Insert a new sheet*

Shift + F11

Insert an Excel 4.0 macro sheet

COMMAND + F11

Open Visual Basic

Option + F11

Display the Save As dialog

F12

Display the Open dialog

COMMAND + F12

Top of Page

Move and scroll in a sheet or workbook

To do this

Press

Move one cell up, down, left, or right

An arrow key

Move to the edge of the current data region

COMMAND + arrow key

Move to the beginning of the row

HOME

Move to the beginning of the sheet

CONTROL + HOME

Move to the last cell in use on the sheet

CONTROL + END

Move down one screen

PAGE DOWN
On a MacBook, press FN + DOWN ARROW

Move up one screen

PAGE UP
On a MacBook, press FN + UP ARROW

Move one screen to the right

OPTION + PAGE DOWN

Move one screen to the left

OPTION + PAGE UP

Move to the next sheet in the workbook

CONTROL + PAGE DOWN
or
OPTION + RIGHT ARROW

Move to the previous sheet in the workbook

CONTROL + PAGE DOWN
or
OPTION + LEFT ARROW

Scroll to display the active cell

CONTROL + DELETE

Display the Go To dialog box

CONTROL + G

Display the Find dialog box

CONTROL + F
or
SHIFT + F5

Access search (when in a cell or when a cell is selected)

COMMAND + F

Move between unlocked cells on a protected sheet

TAB

Top of Page

Print

To do this

Press

Print

COMMAND + P or Control + P

Print preview

COMMAND + P or Control + P

Top of Page

Enter data on a sheet

Note: Note: If a function key doesn't work as you expect it to, press the FN key in addition to the function key. If you don't want to press the FN key each time, you can change your system preferences: Go to Apple > System Preferences > Keyboard. Then select the check box for Use all F1, F2, etc. as standard function keys.

To do this

Press

Edit the selected cell

F2

Complete a cell entry and move forward in the selection

RETURN

Start a new line in the same cell

CONTROL + OPTION + RETURN

Fill the selected cell range with the text that you type

COMMAND + RETURN
or
CONTROL + RETURN

Complete a cell entry and move up in the selection

SHIFT + RETURN

Complete a cell entry and move to the right in the selection

TAB

Complete a cell entry and move to the left in the selection

SHIFT + TAB

Cancel a cell entry

ESC

Delete the character to the left of the insertion point, or delete the selection

DELETE

Delete the character to the right of the insertion point, or delete the selection
Note: Some smaller keyboards do not have this key

Delete

Delete text to the end of the line
Note: Some smaller keyboards do not have this key

CONTROL + Delete

Move one character up, down, left, or right

An arrow key

Move to the beginning of the line

HOME

Insert a comment

SHIFT + F2

Open and edit a cell comment

SHIFT + F2

Fill down

CONTROL + D
or

COMMAND + D

Fill to the right

CONTROL + R
or

COMMAND + R

Define a name

CONTROL + L

Top of Page

Work in cells in the Formula bar

Note: Note: If a function key doesn't work as you expect it to, press the FN key in addition to the function key. If you don't want to press the FN key each time, you can change your system preferences: Go to Apple > System Preferences > Keyboard. Then select the check box for Use all F1, F2, etc. as standard function keys.

To do this

Press

Edit the selected cell

F2

Edit the active cell and then clear it, or delete the preceding character in the active cell as you edit the cell contents

DELETE

Complete a cell entry

RETURN

Enter a formula as an array formula

COMMAND + SHIFT + RETURN or
CONTROL + SHIFT + RETURN

Cancel an entry in the cell or formula bar

ESC

Display the Formula Builder after you type a valid function name in a formula

CONTROL + A

Insert a hyperlink

COMMAND + K
or
CONTROL + K

Edit the active cell and position the insertion point at the end of the line

CONTROL + U

Open the Formula Builder

SHIFT + F3

Calculate the active sheet

SHIFT + F9

Display a contextual menu

SHIFT + F10

Start a formula

=

Toggle the formula reference style between absolute, relative, and mixed

COMMAND + T
or
F4

Insert the AutoSum formula

COMMAND + SHIFT + T

Enter the date

CONTROL + SEMICOLON (;)

Enter the time

COMMAND + SEMICOLON (;)

Copy the value from the cell above the active cell into the cell or the formula bar

CONTROL + SHIFT + INCH MARK (")

Alternate between displaying cell values and displaying cell formulas

CONTROL + GRAVE ACCENT (`)

Copy a formula from the cell above the active cell into the cell or the formula bar

CONTROL + APOSTROPHE (')

Display the AutoComplete list

CONTROL + OPTION + DOWN ARROW

Define a name

CONTROL + L

Open the Smart Lookup pane

CONTROL + OPTION + COMMAND + L

Top of Page

Format and edit data

To do this

Press

Edit the selected cell

F2

Create a table

COMMAND + T
or
CONTROL + T

Insert a line break in a cell

COMMAND + OPTION + RETURN or
CONTROL + OPTION + RETURN

Insert special characters like symbols, including emoji

CONTROL + COMMAND + SPACEBAR

Increase font size

COMMAND + SHIFT + >

Decrease font size

COMMAND + SHIFT + <

Align center

COMMAND + E

Align left

COMMAND + L

Display the Modify Cell Style dialog box

COMMAND + SHIFT + L

Display the Format Cells dialog box

COMMAND + 1

Apply the general number format

CONTROL + SHIFT + ~

Apply the currency format with two decimal places (negative numbers appear in red with parentheses)

CONTROL + SHIFT + $

Apply the percentage format with no decimal places

CONTROL + SHIFT + %

Apply the exponential number format with two decimal places

CONTROL + SHIFT + ^

Apply the date format with the day, month, and year

CONTROL + SHIFT + #

Apply the time format with the hour and minute, and indicate AM or PM

CONTROL + SHIFT + @

Apply the number format with two decimal places, thousands separator, and minus sign (-) for negative values

CONTROL + SHIFT + !

Apply the outline border around the selected cells

COMMAND + OPTION + ZERO

Add an outline border to the right of the selection

COMMAND + OPTION + RIGHT ARROW

Add an outline border to the left of the selection

COMMAND + OPTION + LEFT ARROW

Add an outline border to the top of the selection

COMMAND + OPTION + UP ARROW

Add an outline border to the bottom of the selection

COMMAND + OPTION + DOWN ARROW

Remove outline borders

COMMAND + OPTION + HYPHEN

Apply or remove bold formatting

COMMAND + B

Apply or remove italic formatting

COMMAND + I

Apply or remove underscoring

COMMAND + U

Apply or remove strikethrough formatting

COMMAND + SHIFT + X

Hide a column

COMMAND + )
or
CONTROL + )

Unhide a column

COMMAND + SHIFT + )
or
CONTROL + SHIFT + )

Hide a row

COMMAND + (
or
CONTROL + (

Unhide a row

COMMAND + SHIFT + (
or
CONTROL + SHIFT + (

Edit the active cell

CONTROL + U

Cancel an entry in the cell or the formula bar

ESC

Edit the active cell and then clear it, or delete the preceding character in the active cell as you edit the cell contents

DELETE

Paste text into the active cell

COMMAND + V

Complete a cell entry

RETURN

Give selected cells the current cell's entry

COMMAND + RETURN or
CONTROL + RETURN

Enter a formula as an array formula

COMMAND + SHIFT + RETURN or
CONTROL + SHIFT + RETURN

Display the Formula Builder after you type a valid function name in a formula

CONTROL + A

Top of Page

Work with a selection

To do this

Press

Copy

COMMAND + C
or
CONTROL + V

Paste

COMMAND + V
or
CONTROL + V

Cut

COMMAND + X
or
CONTROL + X

Clear

DELETE

Delete the selection

CONTROL + HYPHEN

Undo the last action

COMMAND + Z

Hide a column

COMMAND + )
or
CONTROL + )

Unhide a column

COMMAND + SHIFT + )
or
CONTROL + SHIFT + )

Hide a row

COMMAND + (
or
CONTROL + (

Unhide a row

COMMAND + SHIFT + (
or
CONTROL + SHIFT + (

Move from top to bottom within the selection (down) *

RETURN

Move from bottom to top within the selection (up) *

SHIFT + RETURN

Move from left to right within the selection,
or move down one cell if only one column is selected

TAB

Move from right to left within the selection,
or move up one cell if only one column is selected

SHIFT + TAB

Move clockwise to the next corner of the selection

CONTROL + PERIOD

Group selected cells

COMMAND + SHIFT + K

Ungroup selected cells

COMMAND + SHIFT + J

Top of Page

Select cells, columns, or rows

Note: Note: If a function key doesn't work as you expect it to, press the FN key in addition to the function key. If you don't want to press the FN key each time, you can change your system preferences: Go to Apple > System Preferences > Keyboard. Then select the check box for Use all F1, F2, etc. as standard function keys.

To do this

Press

Extend the selection by one cell

SHIFT + arrow key

Extend the selection to the last nonblank cell
in the same column or row as the active cell

COMMAND + SHIFT + arrow key

Extend the selection to the beginning of the row

SHIFT + HOME

Extend the selection to the beginning of the sheet

CONTROL + SHIFT + HOME

Extend the selection to the last cell used
on the sheet (lower-right corner)

CONTROL + SHIFT + END

Select the entire column

CONTROL + SPACEBAR

Select the entire row

SHIFT + SPACEBAR

Select the entire sheet

COMMAND + A

Select only visible cells

COMMAND + SHIFT + * (asterisk)

Select only the active cell when multiple cells are selected

SHIFT + DELETE

Extend the selection down one screen

SHIFT + PAGE DOWN

Extend the selection up one screen

SHIFT + PAGE UP

Alternate between hiding objects, displaying objects,
and displaying placeholders for objects

CONTROL + 6

Turn on the capability to extend a selection
by using the arrow keys

F8

Add another range of cells to the selection

SHIFT + F8

Select the current array, which is the array that the
active cell belongs to

CONTROL + /

Select cells in a row that don't match the value
in the active cell in that row.
You must select the row starting with the active cell

CONTROL + \

Select only cells that are directly referred to by formulas in the selection

CONTROL + SHIFT + [

Select all cells that are directly or indirectly referred to by formulas in the selection

CONTROL + SHIFT + {

Select only cells with formulas that refer directly to the active cell

CONTROL + ]

Select all cells with formulas that refer directly or indirectly to the active cell

CONTROL + SHIFT + }

Top of Page

Use charts

Note: Note: If a function key doesn't work as you expect it to, press the FN key in addition to the function key. If you don't want to press the FN key each time, you can change your system preferences: Go to Apple > System Preferences > Keyboard. Then select the check box for Use all F1, F2, etc. as standard function keys.

To do this

Press

Insert a new chart sheet. *

F11

Cycle through chart object selection

An arrow key

Top of Page

* This shortcut conflicts with a default Mac OS key assignment. To use this shortcut, you must change your Mac keyboard settings. Go to Apple > System Preferences > Keyboard > Shortcuts. Click Mission Control, and then click to deselect the Show Desktop option.

Sort, filter, and use PivotTable reports

To do this

Press

Open the Sort dialog box

COMMAND + SHIFT + R

Add or remove a filter

COMMAND + SHIFT + F
or
CONTROL + SHIFT + L

Display the Filter list or PivotTable page
field pop-up menu for the selected cell

OPTION + DOWN ARROW

Top of Page

Outline data

To do this

Press

Display or hide outline symbols

CONTROL + 8

Hide selected rows

CONTROL + 9

Unhide selected rows

CONTROL + SHIFT + Opening parenthesis ( ( )

Hide selected columns

CONTROL + ZERO

Unhide selected columns

CONTROL + SHIFT + Closing parenthesis ( ) )

Top of Page

Work in windows

To

Press

Expand or minimize the ribbon

COMMAND + OPTION + R

Switch to full screen view

COMMAND + CONTROL + F

Switch to the next application

COMMAND + TAB

Switch to the previous application

COMMAND + SHIFT + TAB

Close the active workbook window

COMMAND + W

Copy the image of the screen and save it to
a Screen Shot file on your desktop.

COMMAND + SHIFT + 3

Minimize the active window

CONTROL + F9

Maximize or restore the active window

CONTROL + F10
or
COMMAND + F10

Hide Excel.

COMMAND + H

Top of Page

Work in dialog boxes

To do this

Press

Move to the next text box

TAB

Move to the previous box, option, control, or command

SHIFT + TAB

Exit a dialog box or cancel an action

ESC

Perform the action assigned to the default command button
(the button with the bold outline, often the OK button)

RETURN

Cancel the command and close

ESC

Related information

Accessibility in Excel 2016 for Mac

Keyboard shortcuts listed in this topic refer to the U.S. keyboard layout. Keys on other keyboard layouts might not correspond to the keys on a U.S. keyboard. Keyboard shortcuts for laptop computers might also differ.

Some function key shortcuts conflict with default key assignments in Mac OS X version 10.3 or later. To use them, you must change the settings for your function keys. On the Apple menu, go to System Preferences. Under Hardware, click Keyboard > Keyboard and then check Use all F1, F2, etc. as standard function keys.

To

Press

Open the Formula Builder

SHIFT + F3
or
FN + SHIFT + F3

Repeat the last Find (Find Next)

SHIFT + F4
or
FN + SHIFT + F4

Close the window

COMMAND + F4
or
FN + COMMAND + F4

Display the Go To dialog box

F5

Display the Find dialog box

SHIFT + F5

Move to the next pane in a workbook that has been split

F6

Move to the previous pane in a workbook that has been split

SHIFT + F6

Move to the next workbook window

COMMAND + F6

Move to the previous workbook window

COMMAND + SHIFT + F6

Check spelling

F7
or
FN + F7

Add to the selection

SHIFT + F8

Display the Macro dialog box

OPTION + F8
or
FN + OPTION + F8

Calculate all sheets in all open workbooks.

F9

Calculate the active sheet.

SHIFT + F9

Display a contextual menu.

SHIFT + F10

Insert a new chart sheet.

F11

Insert a new sheet.

SHIFT + F11

Insert an Excel 4.0 macro sheet

COMMAND + F11
or
FN + COMMAND + F11

Display the Save As dialog box.

F12

Display the Open dialog box

COMMAND + F12
or
FN + COMMAND + F12

Top of Page

Moving and scrolling in a sheet or workbook

To

Press

Move one cell up, down, left, or right

An arrow key

Move to the edge of the current data region

CONTROL + arrow key

Move to the beginning of the row

HOME

Move to the beginning of the sheet

CONTROL + HOME

Move to the last cell in use on the sheet, which is the cell at the intersection of the rightmost column and the bottom row (in the lower-right corner); or the cell opposite the home cell, which is typically A1

CONTROL + END

Move down one screen

PAGE DOWN

Move up one screen

PAGE UP

Move one screen to the right

OPTION + PAGE DOWN

Move one screen to the left

OPTION + PAGE UP

Move to the next sheet in the workbook

CONTROL + PAGE DOWN

Move to the previous sheet in the workbook

CONTROL + PAGE UP

Move to the next workbook or window

CONTROL + TAB

Move to the previous workbook or window

CONTROL + SHIFT + TAB

Move to the next pane in a workbook that has been split

F6

Move to the previous pane in a workbook that has been split

SHIFT + F6

Scroll to display the active cell

CONTROL + DELETE

Display the Go To dialog box

CONTROL + G

Display the Find dialog box

COMMAND + F

Repeat the last Find action (same as Find Next)

COMMAND + G

Move between unlocked cells on a protected sheet

TAB

Top of Page

Previewing and printing

To

Press

Display the Print dialog box

COMMAND + P

Entering data on a sheet

To

Press

Complete a cell entry and move forward in the selection

RETURN

Start a new line in the same cell

CONTROL + OPTION + RETURN

Fill the selected cell range with the text that you type

CONTROL + RETURN

Complete a cell entry and move back in the selection

SHIFT + RETURN

Complete a cell entry and move to the right in the selection

TAB

Complete a cell entry and move to the left in the selection

SHIFT + TAB

Cancel a cell entry

ESC

Delete the character to the left of the insertion point, or delete the selection

DELETE

Delete the character to the right of the insertion point, or delete the selection

Delete

Delete text to the end of the line

CONTROL + Delete

Move one character up, down, left, or right

An arrow key

Move to the beginning of the line

HOME

Repeat the last action

COMMAND + Y

Edit a cell comment

SHIFT + F2

Fill down

CONTROL + D

Fill to the right

CONTROL + R

Define a name

CONTROL + L

Top of Page

Working in cells or the Formula bar

To

Press

Edit the active cell and then clear it, or delete the preceding character in the active cell as you edit the cell contents

DELETE

Complete a cell entry

RETURN

Enter a formula as an array formula

CONTROL + SHIFT + RETURN

Cancel an entry in the cell or formula bar

ESC

Display the Formula Builder after you type a valid function name in a formula

CONTROL + A

Insert a hyperlink

COMMAND + K

Edit the active cell and position the insertion point at the end of the line

CONTROL + U

Open the Formula Builder

SHIFT + F3
or
FN + SHIFT + F3

Calculate all sheets in all open workbooks

COMMAND + =

Calculate the active sheet

COMMAND + SHIFT + =

Start a formula

=

Toggle the formula reference style between absolute, relative, and mixed

COMMAND + T

Insert the AutoSum formula

COMMAND + SHIFT + T

Enter the date

CONTROL + SEMICOLON (;)

Enter the time

COMMAND + SEMICOLON (;)

Copy the value from the cell above the active cell into the cell or the formula bar

CONTROL + SHIFT + INCH MARK (")

Alternate between displaying cell values and displaying cell formulas

CONTROL + GRAVE ACCENT (`)

Copy a formula from the cell above the active cell into the cell or the formula bar

CONTROL + APOSTROPHE (')

Display the AutoComplete list

CONTROL + OPTION + DOWN ARROW

Define a name

CONTROL + L

Top of Page

Formatting and editing data

To

Press

Display the Style dialog box

COMMAND + SHIFT + L

Display the Format Cells dialog box

COMMAND + 1

Apply the general number format

CONTROL + SHIFT + ~

Apply the currency format with two decimal places (negative numbers appear in red with parentheses)

CONTROL + SHIFT + $

Apply the percentage format with no decimal places

CONTROL + SHIFT + %

Apply the exponential number format with two decimal places

CONTROL + SHIFT + ^

Apply the date format with the day, month, and year

CONTROL + SHIFT + #

Apply the time format with the hour and minute, and indicate A.M. or P.M.

CONTROL + SHIFT + @

Apply the number format with two decimal places, thousands separator, and minus sign (-) for negative values

CONTROL + SHIFT + !

Apply the outline border around the selected cells

COMMAND + OPTION + ZERO

Add an outline border to the right of the selection

COMMAND + OPTION + RIGHT ARROW

Add an outline border to the left of the selection

COMMAND + OPTION + LEFT ARROW

Add an outline border to the top of the selection

COMMAND + OPTION + UP ARROW

Add an outline border to the bottom of the selection

COMMAND + OPTION + DOWN ARROW

Remove outline borders

COMMAND + OPTION + HYPHEN

Apply or remove bold formatting

COMMAND + B

Apply or remove italic formatting

COMMAND + I

Apply or remove underscoring

COMMAND + U

Apply or remove strikethrough formatting

COMMAND + SHIFT + X

Hide rows

CONTROL + 9

Unhide rows

CONTROL + SHIFT + (

Hide columns

CONTROL + ZERO

Unhide columns

CONTROL + SHIFT + )

Add or remove the shadow font style

COMMAND + SHIFT + W

Add or remove the outline font style

COMMAND + SHIFT + D

Edit the active cell

CONTROL + U

Cancel an entry in the cell or the formula bar

ESC

Edit the active cell and then clear it, or delete the preceding character in the active cell as you edit the cell contents

DELETE

Paste text into the active cell

COMMAND + V

Complete a cell entry

RETURN

Enter a formula as an array formula

CONTROL + SHIFT + RETURN

Display the Formula Builder after you type a valid function name in a formula

CONTROL + A

Top of Page

Working with a selection

To

Press

Copy the selection

COMMAND + C

Cut the selection

COMMAND + X

Paste the selection

COMMAND + V

Clear the contents of the selection

DELETE

Delete the selection

CONTROL + HYPHEN

Copy text or graphics to the Scrapbook

CONTROL + OPTION + C

Paste to the Scrapbook

CONTROL + OPTION + V

Undo the last action

COMMAND + Z

Move from top to bottom within the selection (down), or move in the direction that is selected in Edit in the Preferences dialog box (Excel menu, Preferences command)

RETURN

Move from bottom to top within the selection (up), or move opposite to the direction that is selected in Edit in the Preferences dialog box (Excel menu, Preferences command)

SHIFT + RETURN

Move from left to right within the selection, or move down one cell if only one column is selected

TAB

Move from right to left within the selection, or move up one cell if only one column is selected

SHIFT + TAB

Move clockwise to the next corner of the selection

CONTROL + PERIOD

Insert graphics using the Media Browser

COMMAND + CONTROL + M

Top of Page

Selecting cells, columns, or rows

To

Press

Extend the selection by one cell

SHIFT +arrow key

Extend the selection to the last nonblank cell in the same column or row as the active cell

COMMAND + SHIFT +arrow key

Extend the selection to the beginning of the row

SHIFT + HOME

Extend the selection to the beginning of the sheet

CONTROL + SHIFT + HOME

Extend the selection to the last cell used on the sheet (lower-right corner)

CONTROL + SHIFT + END

Select the entire column

CONTROL + SPACEBAR

Select the entire row

SHIFT + SPACEBAR

Select the entire sheet

COMMAND + A

Select only the active cell when multiple cells are selected

SHIFT + DELETE

Extend the selection down one screen

SHIFT + PAGE DOWN

Extend the selection up one screen

SHIFT + PAGE UP

Alternate between hiding objects, displaying objects, and displaying placeholders for objects

CONTROL + 6

Show or hide the Standard toolbar

CONTROL + 7

Turn on the capability to extend a selection by using the arrow keys

F8

Add another range of cells to the selection; or use the arrow keys to move to the start of the range you want to add, and then press F8 and the arrow keys to select the next range

SHIFT + F8

Select the current array, which is the array that the active cell belongs to

CONTROL + /

Select cells in a row that don't match the value in the active cell in that row. You must select the row starting with the active cell.

CONTROL + \

Select only cells that are directly referred to by formulas in the selection

CONTROL + SHIFT + [

Select cells in a column that don't match the value in the active cell in that column. You must select the column starting with the active cell.

CONTROL + |

Select all cells that are directly or indirectly referred to by formulas in the selection

CONTROL + SHIFT + {

Select only cells with formulas that refer directly to the active cell

CONTROL + ]

Select all cells with formulas that refer directly or indirectly to the active cell

CONTROL + SHIFT + }

Select only visible cells in the current selection

COMMAND + SHIFT + Z

Top of Page

Charts

To

Press

Insert a new chart sheet.

F11

Cycle through chart object selection

An arrow key

Top of Page

Data forms

To

Press

Move to the same field in the next record

DOWN ARROW

Move to the same field in the previous record

UP ARROW

Move to the next field that you can edit in the record

TAB

Move to the previous field that you can edit in the record

SHIFT + TAB

Move to the first field in the next record

RETURN

Move to the first field in the previous record

SHIFT + RETURN

Move to the same field 10 records forward

PAGE DOWN

Move to the same field 10 records back

PAGE UP

Move one character left within a field

LEFT ARROW

Move one character right within a field

RIGHT ARROW

Select the character to the left

SHIFT + LEFT ARROW

Select the character to the right

SHIFT + RIGHT ARROW

Top of Page

Filters and PivotTable reports

To

Press

Display the Filter list or PivotTable page field pop-up menu for the selected cell

OPTION + DOWN ARROW

Top of Page

Outlining data

To

Press

Display or hide outline symbols

CONTROL + 8

Hide selected rows

CONTROL + 9

Unhide selected rows

CONTROL + SHIFT + (

Hide selected columns

CONTROL + ZERO

Unhide selected columns

CONTROL + SHIFT + )

Top of Page

Toolbars

To

Press

Make the first button on a floating toolbar active

OPTION + F10

When a toolbar is active, select the next button or menu on the toolbar

TAB

When a toolbar is active, select the previous button or menu on the toolbar

SHIFT + TAB

Perform the action assigned to the selected button

RETURN

Top of Page

Windows

To

Press

Expand or minimize the ribbon

COMMAND + OPTION + R

Switch to the next application

COMMAND + TAB

Switch to the previous application

COMMAND + SHIFT + TAB

Close the active workbook window

COMMAND + W

Restore the active workbook window size

COMMAND + F5

Move to the next pane in a workbook that has been split

F6

Move to the previous pane in a workbook that has been split

SHIFT + F6

Switch to the next workbook window

COMMAND + F6

Switch to the previous workbook window

COMMAND + SHIFT + F6

Copy the image of the screen to the Clipboard

COMMAND + SHIFT + 3

Copy the image of the active window to the Clipboard (after pressing and releasing the key combination, click the window that you want to take a picture of).

COMMAND + SHIFT + 4

Top of Page

Dialog boxes

To

Press

Move to the next text box

TAB

Move to the previous box, option, control, or command

SHIFT + TAB

Exit a dialog box or cancel an action

ESC

Switch to the next tab

CONTROL + TAB

Switch to the previous tab

CONTROL + SHIFT + TAB

Perform the action assigned to the default command button
(the button with the bold outline, often the OK button)

RETURN

Cancel the command and close

ESC

Did you know?

If you don't have an Office 365 subscription or the latest Office version, you can try it now:

Try Office 365 or the latest version of Excel

Do you have a specific function question?

Post a question in the Excel community forum

Help us improve Excel

Do you have suggestions about how we can improve the next version of Excel? If so, please check out the topics at Excel User Voice

See Also

Overview of formulas in Excel

How to avoid broken formulas

Find and correct errors in formulas

Excel functions (alphabetical)

Excel functions (by category)

Share Facebook Facebook Twitter Twitter Email Email

Was this information helpful?

Great! Any other feedback?

How can we improve it?

Thank you for your feedback!

×