Excel keyboard shortcuts

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.

ShowFunction 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

ShowMoving 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

ShowPreviewing and printing

To Press
Display the Print dialog box COMMAND + P

ShowEntering 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

ShowWorking 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

ShowFormatting 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

ShowWorking 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

ShowSelecting 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

ShowCharts

To Press
Insert a new chart sheet. F11
Cycle through chart object selection An arrow key

ShowData 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

ShowFilters and PivotTable reports

To Press
Display the Filter list or PivotTable page field pop-up menu for the selected cell OPTION + DOWN ARROW

ShowOutlining 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 + )

ShowToolbars

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

ShowWindows

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

ShowDialog 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

See also

Common Office keyboard shortcuts

Create or delete a keyboard shortcut

 
 
Applies to:
Excel for Mac 2011