Keyboard shortcuts
Look up keyboard shortcuts for desktop Excel on Windows and Mac. This page is a reference for the actions listed here.
A plus sign joins keys that are pressed together. A comma and a space joins keys that are pressed one after another. On a Mac laptop, a function key often needs Fn as well.
Workbook
| Shortcut | What it does |
|---|---|
Ctrl+NCommand+N |
Create a new workbook. |
Ctrl+OCommand+OCommand+F12 |
Open an existing workbook. |
Ctrl+SCommand+S |
Save the workbook. |
F12F12Command+Shift+SOption+F2 |
Save the workbook with a new name or location. |
Ctrl+PCommand+P |
Open Print. |
Ctrl+WCtrl+F4Command+WCommand+F4 |
Close this workbook. |
Alt+F4Command+Q |
Quit Excel. |
Shift+F11Alt+Shift+F1Shift+F11 |
Insert a new worksheet. |
Ctrl+Page DownCtrl+Page DownOption+Right |
Move to the next worksheet. |
Ctrl+Page UpCtrl+Page UpOption+Left |
Move to the previous worksheet. |
Ctrl+Shift+GNo shortcut |
Show counts of cells, tables, and other objects in the workbook. |
Ctrl+Alt+F5No shortcut |
Refresh every data connection in the workbook. |
|
No shortcut Command+, |
Open Excel preferences. |
Ribbon
| Shortcut | What it does |
|---|---|
Ctrl+F1Command+Option+R |
Show or hide the ribbon. |
AltF10No shortcut |
Show KeyTips so you can open a ribbon tab. |
Alt+FNo shortcut |
Open the File tab. |
Alt+HNo shortcut |
Open the Home tab. |
Alt+NNo shortcut |
Open the Insert tab. |
Alt+PNo shortcut |
Open the Page Layout tab. |
Alt+MNo shortcut |
Open the Formulas tab. |
Alt+ANo shortcut |
Open the Data tab. |
Alt+RNo shortcut |
Open the Review tab. |
Alt+WNo shortcut |
Open the View tab. |
Alt+QNo shortcut |
Open Search on the ribbon. |
Navigation
| Shortcut | What it does |
|---|---|
UpUp |
Move to the cell above. |
DownDown |
Move to the cell below. |
LeftLeft |
Move to the cell on the left. |
RightRight |
Move to the cell on the right. |
Ctrl+UpCommand+Up |
Jump up to the edge of the data. |
Ctrl+DownCommand+Down |
Jump down to the edge of the data. |
Ctrl+LeftCommand+Left |
Jump left to the edge of the data. |
Ctrl+RightCommand+Right |
Jump right to the edge of the data. |
HomeHome |
Move to the first cell in the row. |
Ctrl+HomeCtrl+Home |
Move to the first cell of the sheet. |
Ctrl+EndCtrl+End |
Move to the last cell that has been used. |
EndEnd |
Turn End mode on. |
End, UpEnd, Up |
In End mode, jump up to the next data edge. |
End, DownEnd, Down |
In End mode, jump down to the next data edge. |
End, LeftEnd, Left |
In End mode, jump left to the next data edge. |
End, RightEnd, Right |
In End mode, jump right to the next data edge. |
Page UpPage Up |
Move the view up by one screen. |
Page DownPage Down |
Move the view down by one screen. |
Alt+Page UpOption+Page Up |
Move the view left by one screen. |
Alt+Page DownOption+Page Down |
Move the view right by one screen. |
TabTab |
Move to the next cell. |
Shift+TabShift+Tab |
Move to the previous cell. |
TabTab |
Move to the next unlocked cell on a protected sheet. |
F5Ctrl+GF5Ctrl+G |
Jump to a cell, range, or name. |
Ctrl+Alt+=Command+Option+= |
Zoom in on the sheet. |
Ctrl+Alt+-Command+Option+- |
Zoom out from the sheet. |
Ctrl+BackspaceCtrl+Delete |
Scroll so the active cell is in view. |
Alt+DownOption+Down |
Open the list of allowed values. |
Ctrl+Alt+5, TabNo shortcut |
Move through the shapes on the sheet. |
EscEsc |
Leave the selected shape and return to the cells. |
|
No shortcut Ctrl+F5 |
Open the search pane. |
Selection
| Shortcut | What it does |
|---|---|
Shift+SpaceShift+Space |
Select the entire row. |
Ctrl+SpaceCtrl+Space |
Select the entire column. |
Ctrl+ACtrl+Shift+SpaceCommand+A |
Select the current region, or the whole sheet when that region is already selected. |
Ctrl+Shift+*No shortcut |
Select the block of filled cells around the active cell. |
|
No shortcut Shift+Command+* |
Select only the cells that are visible. |
Ctrl+Shift+SpaceNo shortcut |
Select every object on the sheet. |
Shift+UpShift+Up |
Extend the selection to the cell above. |
Shift+DownShift+Down |
Extend the selection to the cell below. |
Shift+LeftShift+Left |
Extend the selection to the cell on the left. |
Shift+RightShift+Right |
Extend the selection to the cell on the right. |
Ctrl+Shift+UpCommand+Shift+Up |
Extend the selection up to the edge of the data. |
Ctrl+Shift+DownCommand+Shift+Down |
Extend the selection down to the edge of the data. |
Ctrl+Shift+LeftCommand+Shift+Left |
Extend the selection left to the edge of the data. |
Ctrl+Shift+RightCommand+Shift+Right |
Extend the selection right to the edge of the data. |
Shift+HomeShift+Home |
Extend the selection to the first cell in the row. |
Ctrl+Shift+HomeCtrl+Shift+Home |
Extend the selection to the first cell of the sheet. |
Ctrl+Shift+EndCtrl+Shift+End |
Extend the selection to the last used cell. |
Shift+Page UpShift+Page Up |
Extend the selection up by one screen. |
Shift+Page DownShift+Page Down |
Extend the selection down by one screen. |
F8F8 |
Turn extend mode on or off. |
Shift+F8Shift+F8 |
Add another block of cells to the selection. |
Shift+BackspaceShift+Delete |
Shrink the selection to the active cell only. |
Ctrl+.Ctrl+. |
Move the active cell to the next corner of the selection. |
Ctrl+/Ctrl+/ |
Select the array that contains the active cell. |
Ctrl+\Ctrl+\ |
Select cells in this row that differ from the active cell. |
Ctrl+Shift+|Ctrl+Shift+| |
Select cells in this column that differ from the active cell. |
Ctrl+[Ctrl+[ |
Select the cells this formula refers to directly. |
Ctrl+Shift+{Ctrl+Shift+{ |
Select every cell this formula depends on, through all levels. |
Ctrl+]Ctrl+] |
Select the cells that refer to this cell directly. |
Ctrl+Shift+}Ctrl+Shift+} |
Select every cell that depends on this cell, through all levels. |
Ctrl+Shift+Page DownNo shortcut |
Add the next sheet to the selected sheets. |
Ctrl+Shift+Page UpNo shortcut |
Add the previous sheet to the selected sheets. |
Editing
| Shortcut | What it does |
|---|---|
Ctrl+CCommand+C |
Copy the selection. |
Ctrl+VCommand+V |
Paste from the clipboard. |
Ctrl+XCommand+X |
Cut the selection to the clipboard. |
Ctrl+ZCommand+Z |
Undo the last change. |
Ctrl+YCommand+YCommand+Shift+Z |
Redo the last change you undid. |
F2F2Ctrl+U |
Edit the active cell. |
DeleteDelete |
Clear the contents of the selected cells. |
BackspaceNo shortcut |
Clear the active cell and start editing. |
|
No shortcut Fn+Delete |
Delete the character to the right of the cursor. |
Ctrl+DCtrl+DCommand+D |
Copy the first cell down through the rest of the selection. |
Ctrl+RCtrl+RCommand+R |
Copy the first cell right through the rest of the selection. |
Ctrl+EnterCommand+EnterCtrl+Enter |
Fill every selected cell with the current entry. |
Alt+EnterOption+EnterCtrl+Option+EnterCommand+Option+Enter |
Insert a line break inside the cell. |
EnterEnter |
Confirm the entry and move down. |
Shift+EnterShift+Enter |
Confirm the entry and move up. |
EscEsc |
Discard the current edit. |
Ctrl+;Ctrl+; |
Insert the current date. |
Ctrl+Shift+:Command+; |
Insert the current time. |
Ctrl+Alt+VAlt+E, SCommand+Ctrl+V |
Open Paste Special. |
Ctrl+Alt+V, ANo shortcut |
Paste all contents and formatting. |
Ctrl+Alt+V, FNo shortcut |
Paste formulas only. |
Ctrl+Alt+V, VNo shortcut |
Paste values only. |
Ctrl+Alt+V, TNo shortcut |
Paste cell formatting only. |
Ctrl+Alt+V, CNo shortcut |
Paste comments and notes. |
Ctrl+Alt+V, NNo shortcut |
Paste data validation rules. |
Ctrl+Alt+V, HNo shortcut |
Paste using the source theme. |
Ctrl+Alt+V, XNo shortcut |
Paste everything except borders. |
Ctrl+Alt+V, WNo shortcut |
Paste column widths. |
Ctrl+Alt+V, RNo shortcut |
Paste formulas and number formats. |
Ctrl+Alt+V, UNo shortcut |
Paste values and number formats. |
Ctrl+Shift++Ctrl+Shift+= |
Insert blank cells and shift the rest. |
Ctrl+-Ctrl+- |
Delete the selected cells and shift the rest. |
Ctrl+ECtrl+E |
Fill the rest of the column from the pattern you started. |
Ctrl+KCommand+KCtrl+K |
Add or edit a hyperlink. |
Shift+F2Shift+F2 |
Insert or edit a note. |
Ctrl+Shift+F2Command+Shift+F2 |
Insert or edit a comment. |
F7F7 |
Check spelling. |
Ctrl+'Ctrl+' |
Copy the formula from the cell above into this cell. |
Ctrl+Shift+"Ctrl+Shift+" |
Copy the value from the cell above into this cell. |
Ctrl+FCommand+FCtrl+FShift+F5 |
Find text on the sheet. |
Ctrl+HCtrl+H |
Find text and replace it. |
Shift+F4Command+G |
Jump to the next matching cell. |
Ctrl+Shift+F4Command+Shift+G |
Jump to the previous matching cell. |
Shift+F10Shift+F10 |
Open the context menu. |
F4No shortcut |
Repeat the last command. |
Ctrl+Shift+EnterShift+Command+EnterCtrl+Shift+Enter |
Confirm the formula as an array formula. |
|
No shortcut Ctrl+Command+Space |
Open the character viewer. |
Ctrl+DeleteCtrl+Fn+Delete |
Delete from the cursor to the end of the line. |
Alt+DownOption+Down |
Show matching values already typed in this column. |
LeftLeft |
Move one character to the left while editing. |
RightRight |
Move one character to the right while editing. |
UpUp |
Move up one line while editing. |
DownDown |
Move down one line while editing. |
HomeHome |
Move to the start of the line while editing. |
EndEnd |
Move to the end of the line while editing. |
Formatting
| Shortcut | What it does |
|---|---|
Ctrl+1Command+1 |
Open Format Cells. |
Ctrl+Shift+FCtrl+Shift+F |
Open the Font tab of Format Cells. |
Ctrl+BCtrl+2Command+B |
Apply or remove bold. |
Ctrl+ICtrl+3Command+I |
Apply or remove italic. |
Ctrl+UCtrl+4Command+U |
Apply or remove underline. |
Ctrl+5Command+Shift+X |
Apply or remove strikethrough. |
Ctrl+6Ctrl+6 |
Cycle how objects appear on the sheet. |
|
No shortcut Command+Shift+> |
Make the font larger. |
|
No shortcut Command+Shift+< |
Make the font smaller. |
|
No shortcut Command+E |
Center the contents in the cell. |
|
No shortcut Command+L |
Align the contents to the left. |
|
No shortcut Command+Shift+L |
Open the cell style list. |
Ctrl+QNo shortcut |
Open Quick Analysis for the selection. |
Number formats
| Shortcut | What it does |
|---|---|
Ctrl+Shift+~Ctrl+Shift+~ |
Apply the General number format. |
Ctrl+Shift+$Ctrl+Shift+$ |
Apply the Currency format. |
Ctrl+Shift+%Ctrl+Shift+% |
Apply the Percentage format. |
Ctrl+Shift+^Ctrl+Shift+^ |
Apply the Scientific format. |
Ctrl+Shift+#Ctrl+Shift+# |
Apply the Date format. |
Ctrl+Shift+@Ctrl+Shift+@ |
Apply the Time format. |
Ctrl+Shift+!Ctrl+Shift+! |
Apply the Number format with two decimal places. |
Borders
| Shortcut | What it does |
|---|---|
Ctrl+Shift+&Command+Option+0 |
Add an outside border. |
Ctrl+Shift+_Command+Option+- |
Remove all borders. |
|
No shortcut Command+Option+Right |
Add a border on the right. |
|
No shortcut Command+Option+Left |
Add a border on the left. |
|
No shortcut Command+Option+Up |
Add a border on the top. |
|
No shortcut Command+Option+Down |
Add a border on the bottom. |
Formulas
| Shortcut | What it does |
|---|---|
Alt+=Command+Shift+T |
Insert an AutoSum formula. |
F4Command+TF4 |
Cycle the selected reference among relative, absolute, and mixed. |
Shift+F3Shift+F3 |
Open Insert Function. |
Ctrl+`Ctrl+` |
Show formulas in cells instead of results. |
F9F9 |
Recalculate cells that have changed. |
Shift+F9Shift+F9 |
Recalculate the active sheet. |
Ctrl+Alt+F9Ctrl+Option+F9 |
Force every formula to recalculate. |
Ctrl+Alt+Shift+F9Ctrl+Option+Shift+F9 |
Recheck formula dependencies and recalculate everything. |
F9F9 |
Calculate the selected part of the formula. |
Ctrl+Shift+UCtrl+Shift+U |
Expand or collapse the formula bar. |
Ctrl+F2No shortcut |
Edit the formula in the formula bar. |
Ctrl+EndCtrl+End |
Move to the end of the formula. |
Ctrl+Shift+EndCtrl+Shift+End |
Select through the end of the formula. |
Ctrl+ACtrl+A |
Open the argument dialog for the function you are typing. |
Ctrl+Shift+ACtrl+Shift+A |
Insert the argument names of the function. |
F3F3 |
Paste a defined name into the formula. |
Ctrl+F3Ctrl+F3 |
Open Name Manager. |
Ctrl+Shift+F3Ctrl+Shift+F3 |
Create names from the labels around the selection. |
|
No shortcut Ctrl+LCommand+F3 |
Define a name for the selection. |
Alt+F3No shortcut |
Move to the Name Box. |
Ctrl+Alt+PCtrl+Option+P |
Show or hide formula ScreenTips. |
== |
Start a formula. |
Alt+Shift+F10No shortcut |
Open the error-checking menu. |
Tables
| Shortcut | What it does |
|---|---|
Ctrl+TCtrl+LCommand+TCtrl+T |
Turn the range into a table. |
Ctrl+Shift+TCtrl+Shift+T |
Show or hide the total row of the table. |
Filters
| Shortcut | What it does |
|---|---|
Ctrl+Shift+LCommand+Shift+FCtrl+Shift+L |
Turn filter arrows on or off. |
Alt+DownOption+Down |
Open the filter menu for this column. |
Sort
| Shortcut | What it does |
|---|---|
|
No shortcut Command+Shift+R |
Open Sort. |
Outline
| Shortcut | What it does |
|---|---|
Ctrl+8Ctrl+8 |
Show or hide the outline symbols. |
Ctrl+9Ctrl+9Command+( |
Hide the selected rows. |
Ctrl+Shift+(Ctrl+Shift+(Command+Shift+( |
Unhide rows within the selection. |
Ctrl+0Ctrl+0Command+) |
Hide the selected columns. |
Ctrl+Shift+)Ctrl+Shift+)Command+Shift+) |
Unhide columns within the selection. |
Alt+Shift+RightCommand+Shift+K |
Group the selected rows or columns. |
Alt+Shift+LeftCommand+Shift+J |
Ungroup the selected rows or columns. |
Windows
| Shortcut | What it does |
|---|---|
Ctrl+F6Ctrl+TabCommand+` |
Switch to the next workbook window. |
Ctrl+Shift+F6Ctrl+Shift+TabCommand+Shift+` |
Switch to the previous workbook window. |
F6F6 |
Move to the next pane or area of the window. |
Shift+F6Shift+F6 |
Move to the previous pane or area of the window. |
Ctrl+F9Ctrl+F9Command+M |
Minimize the workbook window. |
Ctrl+F10Ctrl+F10Command+F10 |
Maximize the workbook window. |
Ctrl+F5No shortcut |
Restore the workbook window to its previous size. |
Ctrl+Shift+F1Command+Ctrl+F |
Enter or leave full screen. |
Ctrl+F7No shortcut |
Move the workbook window. |
Ctrl+F8No shortcut |
Resize the workbook window. |
Alt+SpaceNo shortcut |
Open the window control menu. |
|
No shortcut Command+H |
Hide Excel. |
Function keys
| Shortcut | What it does |
|---|---|
F1F1Command+/ |
Open Help. |
Shift+F7Shift+F7Ctrl+Option+Command+R |
Look up a synonym in the thesaurus. |
|
No shortcut Option+Shift+F10 |
Open the menu for the selected object. |
Charts
| Shortcut | What it does |
|---|---|
Alt+F1No shortcut |
Insert a chart on this sheet. |
F11F11 |
Create a chart on its own sheet. |
UpDownLeftRightUpDownLeftRight |
Move among the elements of the chart. |
PivotTables
| Shortcut | What it does |
|---|---|
Alt+F5No shortcut |
Refresh this PivotTable. |
Alt+Shift+RightCommand+Shift+K |
Group the selected items in the PivotTable. |
Alt+Shift+LeftCommand+Shift+J |
Ungroup the selected items in the PivotTable. |
Ctrl+-Ctrl+- |
Hide the selected item in the PivotTable. |
Ctrl+ACommand+A |
Select the whole PivotTable. |
SpaceSpace |
Check or uncheck this field in the field list. |
Alt+DownOption+Down |
Open the filter menu for this PivotTable field. |
Alt+D, PCommand+Option+P |
Open the PivotTable Wizard. |
This search matches no shortcut.