Hide in excel shortcut

Many users find that using an external keyboard with keyboard shortcuts for Excel helps them work more efficiently. For users with mobility or vision disabilities, keyboard shortcuts can be easier than using the touchscreen and are an essential alternative to using a mouse. 

Notes: 

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

  • A plus sign (+) in a shortcut means that you need to press multiple keys at the same time.

  • A comma sign (,) in a shortcut means that you need to press multiple keys in order.

This article describes the keyboard shortcuts, function keys, and some other common shortcut keys in Excel for Windows.

Notes: 

  • To quickly find a shortcut in this article, you can use the Search. Press Ctrl+F, and then type your search words.

  • If an action that you use often does not have a shortcut key, you can record a macro to create one. For instructions, go to Automate tasks with the Macro Recorder.

  • Download our 50 time-saving Excel shortcuts quick tips guide.

  • Get the Excel 2016 keyboard shortcuts in a Word document: Excel keyboard shortcuts and function keys.

In this topic

  • Frequently used shortcuts

  • Ribbon keyboard shortcuts

    • Use the Access keys for ribbon tabs

    • Work in the ribbon with the keyboard

  • Keyboard shortcuts for navigating in cells

  • Keyboard shortcuts for formatting cells

    • Keyboard shortcuts in the Paste Special dialog box in Excel 2013

  • Keyboard shortcuts for making selections and performing actions

  • Keyboard shortcuts for working with data, functions, and the formula bar

  • Keyboard shortcuts for refreshing external data

  • Power Pivot keyboard shortcuts

  • Function keys

  • Other useful shortcut keys

Frequently used shortcuts

This table lists the most frequently used shortcuts in Excel.

To do this

Press

Close a workbook.

Ctrl+W

Open a workbook.

Ctrl+O

Go to the Home tab.

Alt+H

Save a workbook.

Ctrl+S

Copy selection.

Ctrl+C

Paste selection.

Ctrl+V

Undo recent action.

Ctrl+Z

Remove cell contents.

Delete

Choose a fill color.

Alt+H, H

Cut selection.

Ctrl+X

Go to the Insert tab.

Alt+N

Apply bold formatting.

Ctrl+B

Center align cell contents.

Alt+H, A, C

Go to the Page Layout tab.

Alt+P

Go to the Data tab.

Alt+A

Go to the View tab.

Alt+W

Open the context menu.

Shift+F10 or

Windows Menu key

Add borders.

Alt+H, B

Delete column.

Alt+H, D, C

Go to the Formula tab.

Alt+M

Hide the selected rows.

Ctrl+9

Hide the selected columns.

Ctrl+0

Top of Page

Ribbon keyboard shortcuts

The ribbon groups related options on tabs. For example, on the Home tab, the Number group includes the Number Format option. Press the Alt key to display the ribbon shortcuts, called Key Tips, as letters in small images next to the tabs and options as shown in the image below.

Excel ribbon key tips.

You can combine the Key Tips letters with the Alt key to make shortcuts called Access Keys for the ribbon options. For example, press Alt+H to open the Home tab, and Alt+Q to move to the Tell me or Search field. Press Alt again to see KeyTips for the options for the selected tab.

Depending on the version of Microsoft 365 you are using, the Search text field at the top of the app window might be called Tell Me instead. Both offer a largely similar experience, but some options and search results can vary.

In Office 2013 and Office 2010, most of the old Alt key menu shortcuts still work, too. However, you need to know the full shortcut. For example, press Alt, and then press one of the old menu keys, for example, E (Edit), V (View), I (Insert), and so on. A notification pops up saying you’re using an access key from an earlier version of Microsoft 365. If you know the entire key sequence, go ahead, and use it. If you don’t know the sequence, press Esc and use Key Tips instead.

Use the Access keys for ribbon tabs

To go directly to a tab on the ribbon, press one of the following access keys. Additional tabs might appear depending on your selection in the worksheet.

To do this

Press

Move to the Tell me or Search field on the ribbon and type a search term for assistance or Help content.

Alt+Q, then enter the search term.

Open the File menu.

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 notes and threaded 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 with the keyboard

To do this

Press

Select the active tab on 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 key or Shift+Tab

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

Arrow keys

Show the tooltip for the ribbon element currently in focus.

Ctrl+Shift+F10

Activate a selected button.

Spacebar or Enter

Open the list for a selected command.

Down arrow key

Open the menu for a selected button.

Alt+Down arrow key

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, on a Windows keyboard, the Windows Menu key (usually between the Alt Gr and right Ctrl keys)

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

Left arrow key

Move from one group of controls to another.

Ctrl+Left or Right arrow key

Top of Page

Keyboard shortcuts for navigating in cells

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 the 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 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 key

Open the list of validation choices on a cell that has data validation option applied to it.

Alt+Down arrow key

Cycle through floating shapes, such as text boxes or images.

Ctrl+Alt+5, then the Tab key repeatedly

Exit the floating shape navigation and return to the normal navigation.

Esc

Scroll horizontally.

Ctrl+Shift, then scroll your mouse wheel up to go left, down to go right

Zoom in.

Ctrl+Alt+Equal sign ( = )

 Zoom out.

Ctrl+Alt+Minus sign (-)

Top of Page

Keyboard shortcuts for formatting cells

To do this

Press

Open 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 the arrow keys to create a reference.

F2

Insert a note.

Open and edit a cell note.

Shift+F2

Shift+F2

Insert a threaded comment.

Open and reply to a threaded comment.

Ctrl+Shift+F2

Ctrl+Shift+F2

Open the Insert dialog box to insert blank cells.

Ctrl+Shift+Plus sign (+)

Open the Delete dialog box to delete selected cells.

Ctrl+Minus sign (-)

Enter the current time.

Ctrl+Shift+Colon (:)

Enter the current date.

Ctrl+Semicolon (;)

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

Open 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 sign (&)

Remove the outline border from the selected cells.

Ctrl+Shift+Underscore (_)

Display or hide the outline symbols.

Ctrl+8

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

Apply the General number format.

Ctrl+Shift+Tilde sign (~)

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 sign (%)

Apply the Scientific number format with two decimal places.

Ctrl+Shift+Caret sign (^)

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 (!)

Open the Insert hyperlink dialog box.

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

Open the Workbook Statistics dialog box.

Ctrl+Shift+G

Top of Page

Keyboard shortcuts in the Paste Special dialog box in Excel 2013

In Excel 2013, you can paste a specific aspect of the copied data like its formatting or value using the Paste Special options. After you’ve copied the data, press Ctrl+Alt+V, or Alt+E+S to open the Paste Special dialog box.

Paste Special dialog box.

Tip: You can also select Home > Paste > Paste Special.

To pick an option in the dialog box, press the underlined letter for that option. For example, press the letter C to pick the Comments option.

To do this

Press

Paste all cell contents and formatting.

A

Paste only the formulas as entered in the formula bar.

F

Paste only the values (not the formulas).

V

Paste only the copied formatting.

T

Paste only comments and notes attached to the cell.

C

Paste only the data validation settings from copied cells.

N

Paste all cell contents and formatting from copied cells.

H

Paste all cell contents without borders.

X

Paste only column widths from copied cells.

W

Paste only formulas and number formats from copied cells.

R

Paste only the values (not formulas) and number formats from copied cells.

U

Top of Page

Keyboard shortcuts for making selections and performing actions

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.

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.

Ctrl+Shift+Asterisk sign (*)

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

Expand grouped rows or columns.

While hovering over the collapsed items, press and hold the Shift key and scroll down.

Collapse grouped rows or columns.

While hovering over the expanded items, press and hold the Shift key and scroll up.

Top of Page

Keyboard shortcuts for working with data, functions, and the formula bar

To do this

Press

Turn on or off tooltips for checking formulas directly in the formula bar or in the cell you’re editing.

Ctrl+Alt+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 the 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

Insert the AutoSum formula

Alt+Equal sign ( = )

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 

Open the Power Query Editor

Alt+F12

Top of Page

Keyboard shortcuts for refreshing external data

Use the following keys to refresh data from external data sources.

To do this

Press

Stop a refresh operation.

Esc

Refresh data in the current worksheet.

Ctrl+F5

Refresh all data in the workbook.

Ctrl+Alt+F5

Top of Page

Power Pivot keyboard shortcuts

Use the following keyboard shortcuts with Power Pivot in Microsoft 365, Excel 2019, Excel 2016, and Excel 2013.

To do this

Press

Open the context menu for the selected cell, column, or row.

Shift+F10

Select the entire table.

Ctrl+A

Copy selected data.

Ctrl+C

Delete the table.

Ctrl+D

Move the table.

Ctrl+M

Rename the table.

Ctrl+R

Save the file.

Ctrl+S

Redo the last action.

Ctrl+Y

Undo the last action.

Ctrl+Z

Select the current column.

Ctrl+Spacebar

Select the current row.

Shift+Spacebar

Select all cells from the current location to the last cell of the column.

Shift+Page down

Select all cells from the current location to the first cell of the column.

Shift+Page up

Select all cells from the current location to the last cell of the row.

Shift+End

Select all cells from the current location to the first cell of the row.

Shift+Home

Move to the previous table.

Ctrl+Page up

Move to the next table.

Ctrl+Page down

Move to the first cell in the upper-left corner of selected table.

Ctrl+Home

Move to the last cell in the lower-right corner of selected table.

Ctrl+End

Move to the first cell of the selected row.

Ctrl+Left arrow key

Move to the last cell of the selected row.

Ctrl+Right arrow key

Move to the first cell of the selected column.

Ctrl+Up arrow key

Move to the last cell of selected column.

Ctrl+Down arrow key

Close a dialog box or cancel a process, such as a paste operation.

Ctrl+Esc

Open the AutoFilter Menu dialog box.

Alt+Down arrow key

Open the Go To dialog box.

F5

Recalculate all formulas in the Power Pivot window. For more information, see Recalculate Formulas in Power Pivot.

F9

 Top of Page

Function keys

Key

Description

F1

  • F1 alone: 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.

  • Ctrl+Shift+F1: toggles full screen mode

F2

  • F2 alone: 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 the arrow keys to create a reference.

  • Shift+F2: adds or edits a cell note.

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

F3

  • F3 alone: displays the Paste Name dialog box. Available only if names have been defined in the workbook.

  • Shift+F3: displays the Insert Function dialog box.

F4

  • F4 alone: 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

  • F5 alone: displays the Go To dialog box.

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

F6

  • F6 alone: switches between the worksheet, ribbon, task pane, and Zoom controls. In a worksheet that has been split, 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 between two Excel windows.

  • Ctrl+Shift+F6: switches between all Excel windows.

F7

  • F7 alone: Opens 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

  • F8 alone: 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 non-adjacent cell or range to a selection of cells by using the arrow keys.

  • Ctrl+F8: performs the Size command when a workbook is not maximized.

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

F9

  • F9 alone: 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

  • F10 alone: turns key tips on or off. (Pressing Alt does the same thing.)

  • Shift+F10: displays the context 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

  • F11 alone: 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

  • F12 alone: 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 or Right arrow key 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 or Up arrow key 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 or Alt+Down arrow key opens a selected drop-down list.

Backspace

  • Deletes one character to the left in the formula bar.

  • 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, threaded comments, or notes.

  • 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.

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.

Shift

  • Hold the Shift key while you drag a selected row, column, or selected cells to move the selected cells and drop to insert them in a new location.

Spacebar

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

  • 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 key

  • 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 a dialog box, or (if no dialog box is open) switches between two Excel windows. 

  • Ctrl+Shift+Tab switches to the previous tab in a dialog box, or (if no dialog box is open) switches between all Excel windows.

Top of Page

See also

Excel help & learning

Basic tasks using a screen reader with Excel

Use a screen reader to explore and navigate Excel

Screen reader support for Excel

This article describes the keyboard shortcuts, function keys, and some other common shortcut keys in Excel for Mac.

Notes: 

  • The settings in some versions of the Mac operating system (OS) and some utility applications might conflict with keyboard shortcuts and function key operations in Microsoft 365 for Mac. 

  • If you don’t find a keyboard shortcut here that meets your needs, you can create a custom keyboard shortcut. For instructions, go to Create a custom keyboard shortcut for Office for Mac.

  • Many of the shortcuts that use the Ctrl key on a Windows keyboard also work with the Control key in Excel for Mac. However, not all do.

  • To quickly find a shortcut in this article, you can use the Search. Press The Command button.+F, and then type your search words.

  • Click-to-add is available but requires a setup. Select Excel> Preferences > Edit Enable Click to Add Mode. To start a formula, type an equal sign ( = ), and then select cells to add them together. The plus sign (+) will be added automatically.

In this topic

  • Frequently used shortcuts

  • Shortcut conflicts

    • Change system preferences for keyboard shortcuts with the mouse

  • Work in windows and dialog boxes

  • Move and scroll in a sheet or workbook

  • Enter data on a sheet

  • Work in cells or the Formula bar

  • Format and edit data

  • Select cells, columns, or rows

  • Work with a selection

  • Use charts

  • Sort, filter, and use PivotTable reports

  • Outline data

  • Use function key shortcuts

    • Change function key preferences with the mouse

  • Drawing

Frequently used shortcuts

This table itemizes the most frequently used shortcuts in Excel for Mac.

To do this

Press

Paste selection.

The Command button.+V
or
Control+V

Copy selection.

The Command button.+C
or
Control+C

Clear selection.

Delete

Save workbook.

The Command button.+S
or
Control+S

Undo action.

The Command button.+Z
or
Control+Z

Redo action.

The Command button.+Y
or
Control+Y
or
The Command button.+Shift+Z

Cut selection.

The Command button.+X
or
Control+X
or
Shift+The Mac Delete button with a cross symbol on it.

Apply bold formatting.

The Command button.+B
or
Control+B

Print workbook.

The Command button.+P
or
Control+P

Open Visual Basic.

Option+F11

Fill cells down.

The Command button.+D
or
Control+D

Fill cells right.

The Command button.+R
or
Control+R

Insert cells.

Control+Shift+Equal sign ( = )

Delete cells.

The Command button.+Hyphen (-)
or
Control+Hyphen (-)

Calculate all open workbooks.

The Command button.+Equal sign ( = )
or
F9

Close window.

The Command button.+W
or
Control+W

Quit Excel.

The Command button.+Q

Display the Go To dialog box.

Control+G
or
F5

Display the Format Cells dialog box.

The Command button.+1
or
Control+1

Display the Replace dialog box.

Control+H
or
The Command button.+Shift+H

Use Paste Special.

The Command button.+Control+V
or
Control+Option+V
or
The Command button.+Option+V

Apply underline formatting.

The Command button.+U

Apply italic formatting.

The Command button.+I
or
Control+I

Open a new blank workbook.

The Command button.+N
or
Control+N

Create a new workbook from template.

The Command button.+Shift+P

Display the Save As dialog box.

The Command button.+Shift+S
or
F12

Display the Help window.

F1
or
The Command button.+Forward slash (/)

Select all.

The Command button.+A
or
The Command button.+Shift+Spacebar

Add or remove a filter.

The Command button.+Shift+F
or
Control+Shift+L

Minimize or maximize the ribbon tabs.

The Command button.+Option+R

Display the Open dialog box.

The Command button.+O
or
Control+O

Check spelling.

F7

Open the thesaurus.

Shift+F7

Display the Formula Builder.

Shift+F3

Open the Define Name dialog box.

The Command button.+F3

Insert or reply to a threaded comment.

The Command button.+Return

Open the Create names dialog box.

The Command button.+Shift+F3

Insert a new sheet. *

Shift+F11

Print preview.

The Command button.+P
or
Control+P

Top of Page

Shortcut conflicts

Some Windows keyboard shortcuts conflict with the corresponding default macOS keyboard shortcuts. This topic flags such shortcuts with an asterisk (*). To use these shortcuts, you might have to change your Mac keyboard settings to change the Show Desktop shortcut for the key.

Change system preferences for keyboard shortcuts with the mouse

  1. On the Apple menu, select System Settings.

  2. Select Keyboard.

  3. Select Keyboard Shortcuts.

  4. Find the shortcut that you want to use in Excel and clear the checkbox for it.

Top of Page 

Work in windows and dialog boxes

To do this

Press

Expand or minimize the ribbon.

The Command button.+Option+R

Switch to full screen view.

The Command button.+Control+F

Switch to the next application.

The Command button.+Tab

Switch to the previous application.

Shift+The Command button.+Tab

Close the active workbook window.

The Command button.+W

Take a screenshot and save it on your desktop.

Shift+The Command button.+3

Minimize the active window.

Control+F9

Maximize or restore the active window.

Control+F10
or
The Command button.+F10

Hide Excel.

The Command button.+H

Move to the next box, option, control, or command.

Tab key

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 button (the button with the bold outline).

Return

Cancel the command and close the dialog box or menu.

Esc

Top of Page

Move and scroll in a sheet or workbook

To do this

Press

Move one cell up, down, left, or right.

Arrow keys

Move to the edge of the current data region.

The Command button.+Arrow key

Move to the beginning of the row.

Home
On a MacBook, Fn+Left arrow key

Move to the beginning of the sheet.

Control+Home
On a MacBook, Control+Fn+Left arrow key

Move to the last cell in use on the sheet.

Control+End
On a MacBook, Control+Fn+Right arrow key

Move down one screen.

Page down
On a MacBook, Fn+Down arrow key

Move up one screen.

Page up
On a MacBook, Fn+Up arrow key

Move one screen to the right.

Option+Page down
On a MacBook, Fn+Option+Down arrow key

Move one screen to the left.

Option+Page up
On a MacBook, Fn+Option+Up arrow key

Move to the next sheet in the workbook.

Control+Page down
or
Option+Right arrow key

Move to the previous sheet in the workbook.

Control+Page down
or
Option+Left arrow key

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).

The Command button.+F

Move between unlocked cells on a protected sheet.

Tab key

Scroll horizontally.

Shift, then scroll the mouse wheel up for left, down for right

Tip: To use the arrow keys to move between cells in Excel for Mac 2011, you must turn Scroll Lock off. To toggle Scroll Lock off or on, press Shift+F14. Depending on the type of your keyboard, you might need to use the Control, Option, or the Command key instead of the Shift key. If you are using a MacBook, you might need to plug in a USB keyboard to use the F14 key combination.

Top of Page 

Enter data on a sheet

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.

Option+Return or Control+Option+Return

Fill the selected cell range with the text that you type.

The Command button.+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 key

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.

The Mac Delete button with a cross symbol on it.

On a MacBook, Fn+Delete

Delete text to the end of the line.

Note: Some smaller keyboards do not have this key.

Control+The Mac Delete button with a cross symbol on it.
On a MacBook, Control+Fn+Delete

Move one character up, down, left, or right.

Arrow keys

Move to the beginning of the line.

Home
On a MacBook, Fn+Left arrow key

Insert a note.

Shift+F2

Open and edit a cell note.

Shift+F2

Insert a threaded comment.

The Command button.+Shift+F2

Open and reply to a threaded comment.

The Command button.+Shift+F2

Fill down.

Control+D
or
The Command button.+D

 Fill to the right.

Control+R
or
The Command button.+R 

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

Control+E

Define a name.

Control+L

Top of Page

Work in cells or the Formula bar

To do this

Press

Turn on or off tooltips for checking formulas directly in the formula bar.

Control+Option+P

Edit the selected cell.

F2

Expand or collapse the formula bar.

Control+Shift+U

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.

Shift+The Command button.+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.

The Command button.+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 the context menu.

Shift+F10

Start a formula.

Equal sign ( = )

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

The Command button.+T
or
F4

Insert the AutoSum formula.

Shift+The Command button.+T

Enter the date.

Control+Semicolon (;)

Enter the time.

The Command button.+Semicolon (;)

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

Control+Shift+Inch mark/Straight double quote («)

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.

Option+Down arrow key

Define a name.

Control+L

Open the Smart Lookup pane.

Control+Option+The Command button.+L

Top of Page

Format and edit data

To do this

Press

Edit the selected cell.

F2

Create a table.

The Command button.+T
or
Control+T

Insert a line break in a cell.

The Command button.+Option+Return
or
Control+Option+Return

Insert special characters like symbols, including emoji.

Control+The Command button.+Spacebar

Increase font size.

Shift+The Command button.+Right angle bracket (>)

Decrease font size.

Shift+The Command button.+Left angle bracket (<)

Align center.

The Command button.+E

Align left.

The Command button.+L

Display the Modify Cell Style dialog box.

Shift+The Command button.+L

Display the Format Cells dialog box.

The Command button.+1

Apply the general number format.

Control+Shift+Tilde (~)

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

Control+Shift+Dollar sign ($)

Apply the percentage format with no decimal places.

Control+Shift+Percent sign (%)

Apply the exponential number format with two decimal places.

Control+Shift+Caret (^)

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

Control+Shift+Number sign (#)

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

Control+Shift+At symbol (@)

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

Control+Shift+Exclamation point (!)

Apply the outline border around the selected cells.

The Command button.+Option+Zero (0)

Add an outline border to the right of the selection.

The Command button.+Option+Right arrow key

Add an outline border to the left of the selection.

The Command button.+Option+Left arrow key

Add an outline border to the top of the selection.

The Command button.+Option+Up arrow key

Add an outline border to the bottom of the selection.

The Command button.+Option+Down arrow key

Remove outline borders.

The Command button.+Option+Hyphen

Apply or remove bold formatting.

The Command button.+B

Apply or remove italic formatting.

The Command button.+I

Apply or remove underline formatting.

The Command button.+U

Apply or remove strikethrough formatting.

Shift+The Command button.+X

Hide a column.

The Command button.+Right parenthesis ())
or
Control+Right parenthesis ())

Unhide a column.

Shift+The Command button.+Right parenthesis ())
or
Control+Shift+Right parenthesis ())

Hide a row.

The Command button.+Left parenthesis (()
or
Control+Left parenthesis (()

Unhide a row.

Shift+The Command button.+Left parenthesis (()
or
Control+Shift+Left parenthesis (()

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.

The Command button.+V

Complete a cell entry

Return

Give selected cells the current cell’s entry.

The Command button.+Return
or
Control+Return

Enter a formula as an array formula.

Shift+The Command button.+Return
or
Control+Shift+Return

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

Control+A

Top of Page

Select cells, columns, or rows

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.

Shift+The Command button.+Arrow key

Extend the selection to the beginning of the row.

Shift+Home
On a MacBook, Shift+Fn+Left arrow key

Extend the selection to the beginning of the sheet.

Control+Shift+Home
On a MacBook, Control+Shift+Fn+Left arrow key

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

Control+Shift+End
On a MacBook, Control+Shift+Fn+Right arrow key

Select the entire column. *

Control+Spacebar

Select the entire row.

Shift+Spacebar

Select the current region or entire sheet. Press more than once to expand the selection.

The Command button.+A

Select only visible cells.

Shift+The Command button.+Asterisk (*)

Select only the active cell when multiple cells are selected.

Shift+Delete
(not the forward delete key   The Mac Delete button with a cross symbol on it. found on full keyboards)

Extend the selection down one screen.

Shift+Page down
On a MacBook, Shift+Fn+Down arrow key

Extend the selection up one screen

Shift+Page up
On a MacBook, Shift+Fn+Up arrow key

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+Forward slash (/)

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+Backward slash ()

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

Control+Shift+Left bracket ([)

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

Control+Shift+Left brace ({)

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

Control+Right bracket (])

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

Control+Shift+Right brace (})

Top of Page

Work with a selection

To do this

Press

Copy a selection.

The Command button.+C
or
Control+V

Paste a selection.

The Command button.+V
or
Control+V

Cut a selection.

The Command button.+X
or
Control+X

Clear a selection.

Delete

Delete the selection.

Control+Hyphen

Undo the last action.

The Command button.+Z

Hide a column.

The Command button.+Right parenthesis ())
or
Control+Right parenthesis ())

Unhide a column.

The Command button.+Shift+Right parenthesis ())
or
Control+Shift+Right parenthesis ())

Hide a row.

The Command button.+Left parenthesis (()
or
Control+Left parenthesis (()

Unhide a row.

The Command button.+Shift+Left parenthesis (()
or
Control+Shift+Left parenthesis (()

Move selected rows, columns, or cells.

Hold the Shift key while you drag a selected row, column, or selected cells to move the selected cells and drop to insert them in a new location.

If you don’t hold the Shift key while you drag and drop, the selected cells will be cut from the original location and pasted to the new location (not inserted).

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 key

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.

The Command button.+Shift+K

Ungroup selected cells.

The Command button.+Shift+J

* These shortcuts might move in another direction other than down or up. If you’d like to change the direction of these shortcuts using the mouse, select Excel > Preferences Edit, and then, in After pressing Return, move selection, select the direction you want to move to.

Top of Page

Use charts

To do this

Press

Insert a new chart sheet. *

F11

Cycle through chart object selection.

Arrow keys

Top of Page

Sort, filter, and use PivotTable reports

To do this

Press

Open the Sort dialog box.

The Command button.+Shift+R

Add or remove a filter.

The Command button.+Shift+F
or
Control+Shift+L

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

Option+Down arrow key

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+Left parenthesis (()

Hide selected columns.

Control+Zero (0)

Unhide selected columns.

Control+Shift+Right parenthesis ())

Top of Page

Use function key shortcuts

Excel for Mac uses the function keys for common commands, including Copy and Paste. For quick access to these shortcuts, you can change your Apple system preferences, so you don’t have to press the Fn key every time you use a function key shortcut. 

Note: Changing system function key preferences affects how the function keys work for your Mac, not just Excel for Mac. After changing this setting, you can still perform the special features printed on a function key. Just press the Fn key. For example, to use the F12 key to change your volume, you would press Fn+F12.

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 Apple system preferences. For instructions, go to Change function key preferences with the mouse.

The following table provides the function key shortcuts for Excel for Mac.

To do this

Press

Display the Help window.

F1

Edit the selected cell.

F2

Insert a note or open and edit a cell note.

Shift+F2

Insert a threaded comment or open and reply to a threaded comment.

The Command button.+Shift+F2

Open the Save dialog box.

Option+F2

Open the Formula Builder.

Shift+F3

Open the Define Name dialog box.

The Command button.+F3

Close a window or a dialog box.

The Command button.+F4

Display the Go To dialog box.

F5

Display the Find dialog box.

Shift+F5

Move to the Search Sheet dialog box.

Control+F5

Switch focus between the worksheet, ribbon, task pane, and status bar.

F6 or Shift+F6

Check spelling.

F7

Open the thesaurus.

Shift+F7
or
Control+Option+The Command button.+R

Extend the selection.

F8

Add to the selection.

Shift+F8

Display the Macro dialog box.

Option+F8

Calculate all open workbooks.

F9

Calculate the active sheet.

Shift+F9

Minimize the active window.

Control+F9

Display the context menu, or «right click» menu.

Shift+F10

Display a pop-up menu (on object button menu), such as by clicking the button after you paste into a sheet.

Option+Shift+F10

Maximize or restore the active window.

Control+F10
or
The Command button.+F10

Insert a new chart sheet.*

F11

Insert a new sheet.*

Shift+F11

Insert an Excel 4.0 macro sheet.

The Command button.+F11

Open Visual Basic.

Option+F11

Display the Save As dialog box.

F12

Display the Open dialog box.

The Command button.+F12

Open the Power Query Editor

Option+F12

Top of Page

Change function key preferences with the mouse

  1. On the Apple menu, select System Preferences Keyboard.

  2. On the Keyboard tab, select the checkbox for Use all F1, F2, etc. keys as standard function keys.

Drawing

To do this

Press

Toggle Drawing mode on and off.

The Command button.+Control+Z

Top of Page

See also

Excel help & learning

Use a screen reader to explore and navigate Excel

Basic tasks using a screen reader with Excel

Screen reader support for Excel

This article describes the keyboard shortcuts in Excel for iOS.

Notes: 

  • If you’re familiar with keyboard shortcuts on your macOS computer, the same key combinations work with Excel for iOS using an external keyboard, too.

  • To quickly find a shortcut, you can use the Search. Press The Command button.+F and then type your search words.

In this topic

  • Navigate the worksheet

  • Format and edit data

  • Work in cells or the formula bar

Navigate the worksheet

To do this

Press

Move one cell to the right.

Tab key

Move one cell up, down, left, or right.

Arrow keys

Move to the next sheet in the workbook.

Option+Right arrow key

Move to the previous sheet in the workbook.

Option+Left arrow key

Top of Page

Format and edit data

To do this

Press

Apply outline border.

The Command button.+Option+0

Remove outline border.

The Command button.+Option+Hyphen (-)

Hide column(s).

The Command button.+0

Hide row(s).

Control+9

Unhide column(s).

Shift+The Command button.+0 or Shift+Control+Right parenthesis ())

Unhide row(s).

Shift+Control+9 or Shift+Control+Left parenthesis (()

Top of Page

Work in cells or the formula bar

To do this

Press

Move to the cell on the right.

Tab key

Move within cell text.

Arrow keys

Copy a selection.

The Command button.+C

Paste a selection.

The Command button.+V

Cut a selection.

The Command button.+X

Undo an action.

The Command button.+Z

Redo an action.

The Command button.+Y or  The Command button.+Shift+Z

Apply bold formatting to the selected text.

The Command button.+B

Apply italic formatting to the selected text.

The Command button.+I

Underline the selected text.

The Command button.+U

Select all.

The Command button.+A

Select a range of cells.

Shift+Left or Right arrow key

Insert a line break within a cell.

The Command button.+Option+Return or Control+Option+Return

Move the cursor to the beginning of the current line within a cell.

The Command button.+Left arrow key

Move the cursor to the end of the current line within a cell.

The Command button.+Right arrow key

Move the cursor to the beginning of the current cell.

The Command button.+Up arrow key

Move the cursor to the end of the current cell.

The Command button.+Down arrow key

Move the cursor up by one paragraph within a cell that contains a line break.

Option+Up arrow key

Move the cursor down by one paragraph within a cell that contains a line break.

Option+Down arrow key

Move the cursor right by one word.

Option+Right arrow key

Move the cursor left by one word.

Option+Left arrow key

Insert an AutoSum formula.

Shift+The Command button.+T

Top of Page

See also

Excel help & learning

Screen reader support for Excel

Basic tasks using a screen reader with Excel

Use a screen reader to explore and navigate Excel

This article describes the keyboard shortcuts in Excel for Android.

Notes: 

  • If you’re familiar with keyboard shortcuts on your Windows computer, the same key combinations work with Excel for Android using an external keyboard, too.

  • To quickly find a shortcut, you can use the Search. Press Control+F and then type your search words.

In this topic

  • Navigate the worksheet

  • Work with cells

Navigate the worksheet

To do this

Press

Move one cell to the right.

Tab key

Move one cell up, down, left, or right.

Up, Down, Left, or Right arrow key

Top of Page 

Work with cells

To do this

Press

Save a worksheet.

Control+S

Copy a selection.

Control+C

Paste a selection.

Control+V

Cut a selection.

Control+X

Undo an action.

Control+Z

Redo an action.

Control+Y

Apply bold formatting.

Control+B

Apply italic formatting.

Control+I

Apply underline formatting.

Control+U

Select all.

Control+A

Find.

Control+F

Insert a line break within a cell.

Alt+Enter

Top of Page  

See also

Excel help & learning

Screen reader support for Excel

Basic tasks using a screen reader with Excel

Use a screen reader to explore and navigate Excel

This article describes the keyboard shortcuts in Excel for the web.

Notes: 

  • If you use Narrator with the Windows 10 Fall Creators Update, you have to turn off scan mode in order to edit documents, spreadsheets, or presentations with Microsoft 365 for the web. For more information, refer to Turn off virtual or browse mode in screen readers in Windows 10 Fall Creators Update.

  • To quickly find a shortcut, you can use the Search. Press Ctrl+F and then type your search words.

  • When you use Excel for the web, we recommend that you use Microsoft Edge as your web browser. Because Excel for the web runs in your web browser, the keyboard shortcuts are different from those in the desktop program. For example, you’ll use Ctrl+F6 instead of F6 for jumping in and out of the commands. Also, common shortcuts like F1 (Help) and Ctrl+O (Open) apply to the web browser — not Excel for the web.

In this article

  • Quick tips for using keyboard shortcuts with Excel for the web

  • Frequently used shortcuts

  • Access keys: Shortcuts for using the ribbon

  • Keyboard shortcuts for editing cells

  • Keyboard shortcuts for entering data

  • Keyboard shortcuts for editing data within a cell

  • Keyboard shortcuts for formatting cells

  • Keyboard shortcuts for moving and scrolling within worksheets

  • Keyboard shortcuts for working with objects

  • Keyboard shortcuts for working with cells, rows, columns, and objects

  • Keyboard shortcuts for moving within a selected range

  • Keyboard shortcuts for calculating data

  • Accessibility Shortcuts Menu (Alt+Shift+A)

  • Control keyboard shortcuts in Excel for the web by overriding browser keyboard shortcuts

Quick tips for using keyboard shortcuts with Excel for the web

  • To find any command quickly, press Alt+Windows logo key, Q to jump to the Search or Tell Me text field. In Search or Tell Me, type a word or the name of a command you want (available only in Editing mode). Search or Tell Me searches for related options and provides a list. Use the Up and Down arrow keys to select a command, and then press Enter.

    Depending on the version of Microsoft 365 you are using, the Search text field at the top of the app window might be called Tell Me instead. Both offer a largely similar experience, but some options and search results can vary.

  • To jump to a particular cell in a workbook, use the Go To option: press Ctrl+G, type the cell reference (such as B14), and then press Enter.

  • If you use a screen reader, go to Accessibility Shortcuts Menu (Alt+Shift+A).

Frequently used shortcuts

These are the most frequently used shortcuts for Excel for the web.

Tip: To quickly create a new worksheet in Excel for the web, open your browser, type Excel.new in the address bar, and then press Enter.

To do this

Press

Go to a specific cell.

Ctrl+G

Move down.

Page down or Down arrow key

Move up.

Page up or Up arrow key

Print a workbook.

Ctrl+P

Copy selection.

Ctrl+C

Paste selection.

Ctrl+V

Cut selection.

Ctrl+X

Undo action.

Ctrl+Z

Open workbook.

Ctrl+O

Close workbook.

Ctrl+W

Open the Save As dialog box.

Alt+F2

Use Find.

Ctrl+F or Shift+F3

Apply bold formatting.

Ctrl+B

Open the context menu.

  • Windows keyboards: Shift+F10 or Windows Menu key

  • Other keyboards: Shift+F10

Jump to Search or Tell me.

Alt+Q

Repeat Find downward.

Shift+F4

Repeat Find upward.

Ctrl+Shift+F4

Insert a chart.

Alt+F1

Display the access keys (ribbon commands) on the classic ribbon when using Narrator.

Alt+Period (.)

Top of Page

Access keys: Shortcuts for using the ribbon

Excel for the web offers access keys, keyboard shortcuts to navigate the ribbon. If you’ve used access keys to save time on Excel for desktop computers, you’ll find access keys very similar in Excel for the web.

In Excel for the web, access keys all start with Alt+Windows logo key, then add a letter for the ribbon tab. For example, to go to the Review tab, press Alt+Windows logo key, R.

Note: To learn how to override the browser’s Alt-based ribbon shortcuts, go to Control keyboard shortcuts in Excel for the web by overriding browser keyboard shortcuts.

If you’re using Excel for the web on a Mac computer, press Control+Option to start.

Ribbon tab key tips on Excel for the Web.

  • To get to the ribbon, press Alt+Windows logo key, or press Ctrl+F6 until you reach the Home tab.

  • To move between tabs on the ribbon, press the Tab key.

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

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

Go to the Search or Tell Me field on the ribbon and type a search term.

Alt+Windows logo key, Q

Open the File menu.

Alt+Windows logo key, F

Open the Home tab and format text and numbers or use other tools such as Sort & Filter.

Alt+Windows logo key, H

Open the Insert tab and insert a function, table, chart, hyperlink, or threaded comment.

Alt+Windows logo key, N

Open the Data tab and refresh connections or use data tools.

Alt+Windows logo key, A

Open the Review tab and use the Accessibility Checker or work with threaded comments and notes.

Alt+Windows logo key, R

Open the View tab to choose a view, freeze rows or columns in your worksheet, or show gridlines and headers.

Alt+Windows logo key, W

Top of Page

Work in the ribbon tabs and menus

The shortcuts in this table can save time when you work with the ribbon tabs and ribbon menus.

To do this

Press

Select the active tab of the ribbon and activate the access keys.

Alt+Windows logo key. To move to a different tab, use an access key or the Tab key.

Move the focus to commands on the ribbon.

Enter, then the Tab key or Shift+Tab

Activate a selected button.

Spacebar or Enter

Open the list for a selected command.

Spacebar or Enter

Open the menu for a selected button.

Alt+Down arrow key

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

Esc

Top of Page

Keyboard shortcuts for editing cells

Tip: If a spreadsheet opens in the Viewing mode, editing commands won’t work. To switch to Editing mode, press Alt+Windows logo key, Z, M, E.

To do this

Press

Insert a row above the current row.

Alt+Windows logo key, H, I, R

Insert a column to the left of the current column.

Alt+Windows logo key, H, I, C

Cut selection.

Ctrl+X

Copy selection.

Ctrl+C

Paste selection.

Ctrl+V

Undo an action.

Ctrl+Z

Redo an action.

Ctrl+Y

Start a new line in the same cell.

Alt+Enter

Insert a hyperlink.

Ctrl+K

Insert a table.

Ctrl+L

Insert a function.

Shift+F3

Increase font size.

Ctrl+Shift+Right angle bracket (>)

Decrease font size.

Ctrl+Shift+Left angle bracket (<)

Apply a filter.

Alt+Windows logo key, A, T

Re-apply a filter.

Ctrl+Alt+L

Toggle AutoFilter on and off.

Ctrl+Shift+L

Top of Page

Keyboard shortcuts for entering data

To do this

Press

Complete cell entry and select the cell below.

Enter

Complete cell entry and select the cell above.

Shift+Enter

Complete cell entry and select the next cell in the row.

Tab key

Complete cell entry and select the previous cell in the row.

Shift+Tab

Cancel cell entry.

Esc

Top of Page

Keyboard shortcuts for editing data within a cell

To do this

Press

Edit the selected cell.

F2

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

F4

Clear the selected cell.

Delete

Clear the selected cell and start editing.

Backspace

Go to beginning of cell line.

Home

Go to end of cell line.

End

Select right by one character.

Shift+Right arrow key

Select to the beginning of cell data.

Shift+Home

Select to the end of cell data.

Shift+End

Select left by one character.

Shift+Left arrow key

Extend selection 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+Right arrow key or Ctrl+Shift+Left arrow key

Insert the current date.

Ctrl+Semicolon (;)

Insert the current time.

Ctrl+Shift+Semicolon (;)

Copy a formula from the cell above.

Ctrl+Apostrophe (‘)

Copy the value from the cell above.

Ctrl+Shift+Apostrophe (‘)

Insert a formula argument.

Ctrl+Shift+A

Top of Page

Keyboard shortcuts for formatting cells

To do this

Press

Apply bold formatting.

Ctrl+B

Apply italic formatting.

Ctrl+I

Apply underline formatting.

Ctrl+U

Paste formatting.

Shift+Ctrl+V

Apply the outline border to the selected cells.

Ctrl+Shift+Ampersand (&)

Apply the number format.

Ctrl+Shift+1

Apply the time format.

Ctrl+Shift+2

Apply the date format.

Ctrl+Shift+3

Apply the currency format.

Ctrl+Shift+4

Apply the percentage format.

Ctrl+Shift+5

Apply the scientific format.

Ctrl+Shift+6

Apply outside border.

Ctrl+Shift+7

Open the Number Format dialog box.

Ctrl+1

Top of Page

Keyboard shortcuts for moving and scrolling within worksheets

To do this

Press

Move up one cell.

Up arrow key or Shift+Enter

Move down one cell.

Down arrow key or Enter

Move right one cell.

Right arrow key or Tab key

Go to the beginning of the row.

Home

Go to cell A1.

Ctrl+Home

Go to the last cell of the used range.

Ctrl+End

Move down one screen (28 rows).

Page down

Move up one screen (28 rows).

Page up

Move to the edge of the current data region.

Ctrl+Right arrow key or Ctrl+Left arrow key

Move between ribbon and workbook content.

Ctrl+F6

Move to a different ribbon tab.

Tab key

Press Enter to go to the ribbon for the tab.

Insert a new sheet.

Shift+F11

Switch to the next sheet.

Alt+Ctrl+Page down

Switch to the next sheet (when in Microsoft Teams or a browser other than Chrome).

Ctrl+Page down

Switch to the previous sheet.

Alt+Ctrl+Page up

Switch to previous sheet (when in Microsoft Teams or a browser other than Chrome).

Ctrl+Page up

Top of Page

Keyboard shortcuts for working with objects

To do this

Press

Open menu or drill down.

Alt+Down arrow key

Close menu or drill up.

Alt+Up arrow key

Follow hyperlink.

Ctrl+Enter

Open a note for editing.

Shift+F2

Open and reply to a threaded comment.

Ctrl+Shift+F2

Rotate an object left.

Alt+Left arrow key

Rotate an object right.

Alt+Right arrow key

Top of Page

Keyboard shortcuts for working with cells, rows, columns, and objects

To do this

Press

Select a range of cells.

Shift+Arrow keys

Select an entire column.

Ctrl+Spacebar

Select an entire row.

Shift+Spacebar

Extend selection 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+Right arrow key or Ctrl+Shift+Left arrow key

Add a non-adjacent cell or range to a selection.

Shift+F8

Insert cells, rows, or columns.

Ctrl+Plus sign (+)

Delete cells, rows, or columns.

Ctrl+Minus sign (-)

Hide rows.

Ctrl+9

Unhide rows.

Ctrl+Shift+9

Hide columns

Ctrl+0

Unhide columns

Ctrl+Shift+0

Top of Page

Keyboard shortcuts for moving within a selected range

To do this

Press

Move from top to bottom (or forward through the selection).

Enter

Move from bottom to top (or back through the selection).

Shift+Enter

Move forward through a row (or down through a single-column selection).

Tab key

Move back through a row (or up through a single-column selection).

Shift+Tab

Move to an active cell.

Shift+Backspace

Move to an active cell and keep the selection.

Ctrl+Backspace

Rotate the active cell through the corners of the selection.

Ctrl+Period (.)

Move to the next selected range.

Ctrl+Alt+Right arrow key

Move to the previous selected range.

Ctrl+Alt+Left arrow key

Extend selection to the last used cell in the sheet.

Ctrl+Shift+End

Extend selection to the first cell in the sheet.

Ctrl+Shift+Home

Top of Page

Keyboard shortcuts for calculating data

To do this

Press

Calculate workbook (refresh).

F9

Perform full calculation.

Ctrl+Shift+Alt+F9

Refresh external data.

Alt+F5

Refresh all external data.

Ctrl+Alt+F5

Apply Auto Sum.

Alt+Equal sign ( = )

Apply Flash Fill.

Ctrl+E

Top of Page

Accessibility Shortcuts Menu (Alt+Shift+A)

Access the common features quickly by using the following shortcuts:

To do this

Press

Cycle between landmark regions.

Ctrl+F6 or Ctrl+Shift+F6

Move within a landmark region.

Tab key or Shift+Tab

Go to the Search or Tell Me field to run any command.

Alt+Q

Display or hide Key Tips or access the ribbon.

Alt+Windows logo key

Edit the selected cell.

F2

Go to a specific cell.

Ctrl+G

Move to another worksheet in the workbook.

Ctrl+Alt+Page up or Ctrl+Alt+Page down

Open the context menu.

Shift+F10 or Windows Menu key

Read row header.

Ctrl+Alt+Shift+T

Read row until an active cell.

Ctrl+Alt+Shift+Home

Read row from an active cell.

Ctrl+Alt+Shift+End

Read column header.

Ctrl+Alt+Shift+H

Read column until an active cell.

Ctrl+Alt+Shift+Page up

Read column from an active cell.

Ctrl+Alt+Shift+Page down

Open a list of moving options within a dialog box.

Ctrl+Alt+Spacebar

Top of Page

Control keyboard shortcuts in Excel for the web by overriding browser keyboard shortcuts

Excel for the web works in a browser. Browsers have keyboard shortcuts, some of which conflict with shortcuts that work in Excel on the desktop. You can control these shortcuts, so they work the same in both versions of Excel by changing the Keyboard Shortcuts settings. Overriding browser shortcuts also enables you to open the Excel for the web Help by pressing F1.

Override browser shortcuts in Excel for the web dialog box.
  1. In Excel for the web, select Help > Keyboard Shortcuts

  2. Search for any keyboard shortcut.

  3. Choose the category of shortcuts to display in the list.

  4. Select Override browser shortcuts.

  5. Select Show Overrides to show shortcut overrides in the dialog box.

  6. Select Close.

Top of Page

See also

Excel help & learning

Use a screen reader to explore and navigate Excel

Basic tasks using a screen reader with Excel

Screen reader support for Excel

Technical support for customers with disabilities

Microsoft wants to provide the best possible experience for all our customers. If you have a disability or questions related to accessibility, please contact the Microsoft Disability Answer Desk for technical assistance. The Disability Answer Desk support team is trained in using many popular assistive technologies and can offer assistance in English, Spanish, French, and American Sign Language. Please go to the Microsoft Disability Answer Desk site to find out the contact details for your region.

If you are a government, commercial, or enterprise user, please contact the enterprise Disability Answer Desk.

When the data is large, or the summary table includes a drill-down summary, we choose to group the columns and rows so that, if required, we can expand or collapse things to dig deep. However, in certain cases, we cannot group rows or columns. Rather, we need to hide those rows and columns, so this task is often regular for regular excel users, so maintaining an efficient way of doing this is very important. This article will show you how to hide rows and columns in Excel, using the shortcut keys to work efficiently.

Table of contents
  • Hide Shortcut in Excel
    • Hiding Rows and Columns in Excel
    • Hide Rows & Columns Using Shortcut Keys in Excel
    • Hide Multiple Rows and Columns in Excel
    • Things to Remember
    • Recommended Articles

Hiding Rows and Columns in Excel

Excel has rows and columnsA cell is the intersection of rows and columns. Rows and columns make the software that is called excel. The area of excel worksheet is divided into rows and columns and at any point in time, if we want to refer a particular location of this area, we need to refer a cell.read more so that we can hide these two things apart from hiding worksheets. In the end, we will also show you how to hide worksheets.

In a worksheet containing data, we need first to decide what the row is and the column we need to hide accordingly; we can hide those rows and columns. We have several methods to hide rows and columns. First, let us show you a manual way of hiding rows and columns in Excel.

For example, look at the below data table.

Shortcut for Hide Example 1

Assume we need to hide a column in excelThe methods to hide columns in excel are — hide columns using right-click option, hide columns using shortcut cut key, hide columns using column width, hide columns using VBA code.read more “E,”  then first we need to select the column to hide the column.

Shortcut for Hide Example 1-1

Now, go to the “Home” tab and click on the “Format” option.

Home tab- Format Option

Now, we can see many different “Format” options. For example, under “Visibility,” choose “Hide & Unhide,” and then select “Hide Columns.”

Shortcut for Hide (Hide columns)

Now, it will hide the selected column.

Shortcut for Hide (Hidden E column)

Similarly, we must first choose the row we wish to hide for rows, then follow the same steps and select “Hide Rows” instead of “Hide Columns.”

Shortcut for Hide (Hide rows)

This option looks lengthy. Going through all the above steps is frustrating, but we have next-level options. First, we need to hide after selecting the column. Click on that column header and choose the “Hide” option.

Shortcut for Hide (Hide through right click)

Consequently, it will hide the selected Excel column.

Shortcut for Hide (Hidden E column)

Now, assume we need to hide row number 5, select that row and right-click.

Shortcut for Hide (Hide row through right click)

Now, it will hide the selected row.

Shortcut for Hide (No Row)

This option looks much better.

We will show you an even quicker Excel option by using shortcut keys.

Hide Rows & Columns Using Shortcut Keys in Excel

A shortcut is very important to save time, and hiding rows and columns is no different either. Of course, we need to select the row or column in earlier cases before choosing the hide option, but we need not do all of these using excel shortcutsAn Excel shortcut is a technique of performing a manual task in a quicker way.read more, we need not do all these.

The shortcut keys to hide rows and columns in Excel are as below.

To Hide Excel Column: “Ctrl + 0”

Shortcut for hide Column

To Hide Excel Row: “Ctrl + 9”

shortcut for hide Row

We need to keep in mind that we should press 0 and 9 from keyboard numbers, not from the keyboard’s number pad.

Onscreen keyboard

Now we know about Excel shortcut keys.

Assume we need to hide column “D,” so select any of the cells in this column first.

Select cell D

We have selected cell D3. Now hold the Ctrl key and press 0. As soon as we press the shortcut key, column “D” is hidden.

Shortcut for Hide (column D)

Now assume we need to hide row number 5, so select any of the cells in this row.

Select row no 5

We have selected a C5 cell, so row number 5 is active now by holding the Ctrl key press number 9 from keyboard numbers.

hide row

Here we can see the overview of rows and columns.

Shortcut for Hide (Column and row hidden)

We have seen how to use shortcut keys effectively now, assuming we need to hide multiple rows and columns which are not in continuous rows or columns.

Hide Multiple Rows and Columns in Excel

For example, if we need to hide columns “E” and “F,” we can select these continuous columns and hide them. Similarly, if we want to hide rows 5 and 6, we can choose these endless rows and hide them if we are going to hide column “E,” column “B,” column “G,” and rows like row number “4”, row number “6”, row number 2 we need to use a different strategy.

Let us select one cell in each column that we need to hide.

hide row

Note: Hold the “Ctrl” key and select each cell in the respective columns to select multiple cells.

We have selected B3, E3, and G3 cells in the above image. After selecting the cells, press the shortcut key Ctrl + 0.

Hide multiple column

As we can see above, all the selected cell columns are hidden.

Similarly, select row numbers.

Shortcut for Hide (Hide multiple row)

We have chosen A2, A4, and A6 cells. Now press Ctrl + 9 to hide selected cell rows.

Shortcut for Hide (hide rows shortcut)

There you go, the shortcut key has hidden rows of selected Excel cells.

Things to Remember

  • We should press numerical values 0 and 9 from keyboard numbers, not from a separate number pad of the keyboard.
  • In the case of multiple rows and columns hiding, we must select respective rows and columns cells and then use the shortcut key to hide.

Recommended Articles

This article has been a guide to Excel hide shortcuts. Here, we discuss how to hide rows and columns in Excel using the shortcut keys to work easily, practical examples, and a downloadable Excel template. You may learn more about Excel from the following articles: –

  • Insert Shortcut in Excel
  • Degrees Function in Excel
  • Hide Columns in VBA
  • Formula to Hide in Excel

Bottom line: Learn some of my favorite keyboard shortcuts when working with rows and columns in Excel.

Skill level: Easy

Keyboard Shortcuts for Rows and Columns in Excel

Whether you are creating a simple list of names or building a complex financial model, you probably make a lot of changes to the rows and columns in the spreadsheet.  Tasks like adding/deleting rows, adjusting column widths, and creating outline groups are very common when working with the grid.

This post contains some of my favorite shortcuts that will save you time every day.

I’ve also listed the equivalent shortcuts for the Mac version of Excel where available.

#1 –  Select Entire Row or Column

Shift+Space is the keyboard shortcut to select an entire row.

Ctrl+Space is the keyboard shortcut to select an entire column.

Mac Shortcuts: Same as above

Select Entire Row or Column in Excel Keyboard Shortcuts

The keyboard shortcuts by themselves don’t do much.  However, they are the starting point for performing a lot of other actions where you first need to select the entire row or column.  This includes tasks like deleting rows, grouping columns, etc.

These shortcuts also work for selecting the entire row or column inside an Excel Table.

Keyboard Shortcut to Select Rows or Columns in Excel Table

When you press the Shift+Space shortcut the first time it will select the entire row within the Table.  Press Shift+Space a second time and it will select the entire row in the worksheet.

The same works for columns.  Ctrl+Space will select the column of data in the Table.  Pressing the keyboard shortcut a second time will include the column header of the Table in the selection.  Pressing Ctrl+Space a third time will select the entire column in the worksheet.

You can select multiple rows or columns by holding Shift and pressing the Arrow Keys multiple times.

Select Multiple Columns with Shift Plus Arrow Keys

#2 – Insert or Delete Rows or Columns

There are a few ways to quickly delete rows and columns in Excel.

If you have the rows or columns selected, then the following keyboard shortcuts will quickly add or delete all selected rows or columns.

Ctrl++ (plus character) is the keyboard shortcut to insert rows or columns.  If you are using a laptop keyboard you can press Ctrl+Shift+= (equal sign).

Mac Shortcut: Cmd++ or Cmd+Shift+

Insert Entire Row in Excel

Ctrl+- (minus character) is the keyboard shortcut to delete rows or columns.

Mac Shortcut: Cmd+-

Delete Selected Column in Excel

So for the above shortcuts to work you will first need to select the entire row or column, which can be done with the Shift+Space or Ctrl+Space shortcuts explained in #1.

If you do not have the entire row or column selected then you will be presented with the Insert or Delete Menus after pressing Ctrl++ or Ctrl+-.

Insert or Delete Menu Appears When Entire Row or Column is Not Selected

You can then press the up or down arrow keys to make your selection from the menu and hit Enter.  For me it is easier to first select the entire row or column, then press Ctrl++ or Ctrl+-.

So, the entire keyboard shortcut to delete a column would be Ctrl+Space, Ctrl+-.  You could also use the keyboard shortcut Alt+H+D+C to delete columns and Alt+H+D+R to delete rows.  There are lots of ways to do a simple task… 🙂

#3 – AutoFit Column Width

There are also a lot of different ways to AutoFit column widths.  AutoFit means that the width of the column will be adjusted to fit the contents of the cell.

You can use the mouse and double-click when you hover the cursor between columns when you see the resize column cursor.

Double-Click Resize Column Cursor to Autofit Column

The problem with this is that you might just want to resize the column for the date in cell A4, instead of the big long title in cell A1.  To accomplish this you can use the AutoFit Column Width button.  It is located on the Home tab of the Ribbon in the Format menu.

AutoFit Column Width Button in Excel

The AutoFit Column Width button bases the width of the column on the cells you have selected.  In the image above I have cell A4 selected.  So the column width will be adjusted to fit the contents of A4, as shown in the results below.

AutoFit Column Width Button Resizes Column Based on Selected Cell Contents

Alt,H,O,I is the keyboard shortcut for the AutoFit Column Width button.  This is one I use a lot to get my reports looking shiny. 🙂

Alt,H,O,A is the keyboard shortcut to AutoFit Row Height.  It doesn’t work exactly the same as column width, and will only adjust the row height to the tallest cell in the entire row.

Mac Shortcuts: None that I know of.  The Mac version does not use the Alt key sequence which I believe is a limitation of the Mac OS.

#3.5 – Manually Adjust Row or Column Width

The column width or row height windows can be opened with keyboard shortcuts as well.

Alt,O,R,E is the keyboard shortcut to open the Row Height window.

Alt,O,C,W is the keyboard shortcut to open the Column Width window.

Excel Keyboard Shortcuts for Row Height and Column Width

The row height or column width will be applied to the rows or columns of all the cells that are currently selected.

These are old shortcuts from Excel 2003, but they still work in the modern versions of Excel.

Mac Shortcuts: None that I know of.  The Mac version does not use the Alt key sequence which I believe is a limitation of the Mac OS.

#4 – Hide or Unhide Rows or Columns

There are several dedicated keyboard shortcuts to hide and unhide rows and columns.

  • Ctrl+9 to Hide Rows
  • Ctrl+0 (zero) to Hide Columns
  • Ctrl+Shift+( to Unhide Rows
  • Ctrl+Shift+) to Unhide Columns – If this doesn’t work for you try Alt,O,C,U (old Excel 2003 shortcut that still works).  You can also modify a Windows setting to prevent the conflict with this shortcut.  See the comment from Pablo Baez on Oct 5, 2015 below for further instructions.  Thanks Pablo! 🙂

Mac Shortcuts: Same as above

The buttons are also located on the Format menu on the Home tab of the Ribbon.  You can hover over any of the items in the menu and the keyboard shortcut will display in the screentip (see screenshot below).

Keyboard Shortcuts to Hide and Unhide Rows and Columns in Excel

The trick with getting these shortcuts to work is to have the proper cells selected first.

To hide rows or columns you just need to select cells in the rows or columns you want to hide, then press the Ctrl+9 or Ctrl+Shift+( shortcut.

To unhide rows or columns you first need to select the cells that surround the rows or columns you want to unhide.  In the screenshot below I want to unhide rows 3 & 4.  I first select cell B2:B5, cells that surround or cover the hidden rows, then press Ctrl+Shift+( to unhide the rows.

Select Cells That Surround Hidden Rows or Columns Before Unhiding

The same technique works to unhide columns.

#5 – Group or Ungroup Rows or Columns

Row and Column groupings are a great way to quickly hide and unhide columns and rows.

Shift+Alt+Right Arrow is the shortcut to group rows or columns.

Mac Shortcut: Cmd+Shift+K

Shift+Alt+Left Arrow is the shortcut to ungroup.

Mac Shortcut: Cmd+Shift+J

Again, the trick here is to select the entire rows or columns you want to group/ungroup first.  Otherwise you will be presented with the Group or Ungroup menu.

Keyboard Shortcut to Ungroup Rows or Columns in Excel

Alt,A,U,C is the keyboard shortcut to remove all the row and columns groups on the sheet.  This is the same as pressing the Clear Outline button on the Ungroup menu of the Data tab on the Ribbon.

*Bonus funny: At some point when using the group/ungroup shortcuts, you will accidentally press Ctrl+Alt+Right Arrow.  This is a Windows shortcut that orientates the entire screen to the right.  I call it “neck ache view”.  To get it back to normal press Ctrl+Alt+Up Arrow.

If your co-worker or boss accidentally leaves their computer unlocked and you want to play a joke on them, press Ctrl+Alt+Down Arrow.  This will turn their screen upside down.  Don’t forget to record a video of their WTF reaction… 🙂

What Are Your Favorites?

There are a ton of keyboard shortcuts for working with rows and columns.  The above are some of my favorites that I use everyday.  What are some of your favorites?  Please leave a comment below.  Thanks! 🙂

Hide Column

This Excel Shortcut hides a column or columns from a worksheet.

Hide Column

PC Shorcut:Ctrl+0

Mac Shorcut:^+0

Hide Row

This Excel Shortcut hides a row or rows from a worksheet.

Hide Row

PC Shorcut:Ctrl+9

Mac Shorcut:^+9

Unhide Row

This Excel Shortcut unhides a row or rows from a worksheet.

Unhide Row

PC Shorcut:Ctrl+Shift+9

Mac Shorcut:^++9

Remember This Shortcut:
Same as the hide row shortcut (Ctrl + 9), except add shift to unhide (Ctrl + Shift + 9) instead.

Unhide Column

This Excel Shortcut unhides a column or columns from a worksheet.

Unhide Column

PC Shorcut:Ctrl+Shift+0

Mac Shorcut:^++0

Remember This Shortcut:
Same as the hide column shortcut (Ctrl + 0), except add shift to unhide (Ctrl + Shift + 0) instead.

Transcript 

In this video, we’ll cover shortcuts for hiding and unhiding rows and columns.

To hide columns, use Control + 0.

You can also work with multiple columns at the same time.

To unhide columns again, make a selection that spans the hidden columns, and use Control Shift 0.

To hide rows, use Control + 9.

Again, you’ll see a visual indication in row numbers to indicate that rows are hidden.

To unhide rows again, make a selection that spans hidden rows, and use Control Shift 9.

When you’re hiding and unhiding rows and columns, you can make multiple selections before you use shortcuts.

So for example, I can hide ever other column in this table.

Or, every other row.

You can quickly unhide all rows and columns by using control + A to select the entire worksheet, and then using Control + Shift + 0, or Control + Shift + 9, or both.

Also, remember that you can use Select Special to make more complicated selections before you hide.

For example, to hide all rows that contain the divide by zero error in this table, I can use select special to select the errors, then Control + 9 to hide the rows.

Finally, you can hide extra rows and columns to focus attention on just the work area.

To do this, go to the the last cell in the work area using control + end in Windows and Fn Control right arrow on a Mac.

Then move one a couple cells down, select the row, then select all rows below, then hide.

Now go the the last cell again, move a couple columns to the right. Then select the entire column, then all columns to the right, and then hide.

To unhide all of these hidden rows and columns at once, select the entire worksheet, and then unhide rows and columns.
 

Понравилась статья? Поделить с друзьями:
  • Hex to text in excel
  • Hide grid in word
  • Hex in excel for color
  • Hetman word recovery это
  • Hetman word recovery скачать бесплатно c ключом на русском