How to Hide or Unhide Columns or Rows in Excel (with Shortcuts) (2024)

Hide and Unhide Rows and Columns in Microsoft Excel (with Shortcuts)

by Avantix Learning Team | Updated January 29, 2022

Applies to: Microsoft® Excel®2013, 2016, 2019 and 365 (Windows)

You can hide or unhide columns or rows in Excel using the context menu, using a keyboard shortcut or by using the Format command on the Home tab in the Ribbon. You can quickly unhide all columns or rows as well.

Some users may want to hide all of the unused columns to the right and unused rows below the data to clean up the workspace and display only relevant information to team members or clients.

You will not be able to hide or unhide rows or columns if the worksheet has been protected with a password (and you don't have the password to unprotect it), if content has been disabled or if the file is read only.

Recommended article: How to Lock and Protect Excel Worksheets and Workbooks

Selecting columns or rows in Excel

It's important to be able to quickly select columns or rows in Excel if you want to hide them.

To select one or more columns in Excel:

  • To select one column, click its heading or select a cell in the column and press Ctrl + spacebar.
  • To select multiple contiguous columns, drag across the column headings using a mouse or select the first column and then Shift-click the last column.
  • To select non-contiguous columns, click the heading of the first column and then Ctrl-click the headings or the other columns you want to select.

To select one or more rows in Excel:

  • To select one row, click its heading or select a cell in the row and press Shift + Spacebar.
  • To select multiple contiguous rows, drag across the row headings using a mouse or select the first row and then Shift-click the last row.
  • To select non-contiguous rows, click the heading of the first row and then Ctrl-click the headings of the other rows you want to select.

To select all rows and columns in Excel:

  • Press Ctrl + A (press A twice if necessary).
  • Click in the intersection box to the left of the A and above the 1 on the worksheet.

Hiding columns

To hide a column or columns by right-clicking:

  1. Select the column or columns you want to hide.
  2. Right-click and select Hide from the drop-down menu.

To hide a column or columns using a keyboard shortcut:

  1. Select the column or columns you want to hide.
  2. Press Ctrl + 0 (zero).

To hide a column or columns using the Ribbon:

  1. Select the column or columns you want to hide.
  2. Click the Home tab in the Ribbon.
  3. In the Cells group, click Format. A drop-down menu appears.
  4. Click Visibility, select Hide & Unhide and then Hide Columns.

To hide all columns to the right of the last line of data:

  1. Select the column to the right of the last column of data.
  2. Press Ctrl + Shift + right arrow.
  3. Press Ctrl + 0 (zero). You can also use the Ribbon method or the right-click method to hide columns.

Unhiding columns

To unhide a column or columns by right-clicking:

  1. Select the column headings to the left and right of the hidden column(s). To unhide all columns, click the box to the left of the A and above the 1 on the worksheet or press Ctrl + A (twice if necessary).
  2. Right-click and select Unhide from the drop-down menu.

To unhide a column or columns using a keyboard shortcut:

  1. Select the column headings to the left and right of the hidden column(s) by dragging. To unhide all columns, click the box to the left of the A and above the 1 on the worksheet or press Ctrl + A (twice if necessary).
  2. Press Ctrl + Shift + 0 (zero). If this doesn't work, use one of the other methods.

To unhide a column or columns using the Ribbon:

  1. Select the column headings to the left and right of the hidden column(s). To select all columns, click the box to the left of the A and above the 1 on the worksheet or press Ctrl + A (twice if necessary).
  2. Click the Home tab in the Ribbon.
  3. In the Cells group, click Format. A drop-down menu appears.
  4. Click Visibility, select Hide & Unhide and then Unhide Columns.

To unhide a column or columns by double-clicking:

  1. Select the column headings to the left and right of the hidden columns(s).
  2. Hover the mouse over the hidden column headings.
  3. When the mouse pointer turns into a split two-headed arrow, double-click.

Hiding rows

To hide a row or rows by right-clicking:

  1. Select the row or rows you want to hide.
  2. Right-click and select Hide from the drop-down menu.

To hide a row or rows using a keyboard shortcut:

  1. Select the row or rows you want to hide.
  2. Press Ctrl + 9.

To hide a row or rows using the Ribbon:

  1. Select the row or rows you want to hide.
  2. Click the Home tab in the Ribbon.
  3. In the Cells group, click Format. A drop-down menu appears.
  4. Click Visibility, select Hide & Unhide and then Hide Rows.

To hide all rows below the last line of data:

  1. Select the row below the last line of data.
  2. Press Ctrl + Shift + down arrow.
  3. Press Ctrl + 9. You can also use the Ribbon method or the right-click method to hide the rows.

Unhiding rows

To unhide a row or rows by right-clicking:

  1. Select the row headings above and below the hidden row(s). To unhide all rows, click the box to the left of the A and above the 1 on the worksheet.
  2. Right-click and select Unhide from the drop-down menu.

To unhide rows using a keyboard shortcut:

  1. Select the row headings above and below the hidden row(s). To unhide all rows, click the box to the left of the A and above the 1 on the worksheet or press Ctrl + A (twice if necessary).
  2. Press Ctrl + Shift + 9.

To unhide a row or rows using the Ribbon:

  1. Select the row headings above and below the hidden row(s). To select all rows, click the box to the left of the A and above the 1 on the worksheet.
  2. Click the Home tab in the Ribbon or press Ctrl + A (twice if necessary).
  3. In the Cells group, click Format. A drop-down menu appears.
  4. Click Visibility, select Hide & Unhide and then Unhide Rows.

To unhide a row or rows by double-clicking:

  1. Select the row headings above and below the hidden row(s). To unhide all rows, click the box to the left of the A and above the 1 on the worksheet.
  2. Hover the mouse over the hidden row headings.
  3. When the mouse pointer turns into a split two-headed arrow, double-click.

The method you use to hide or unhide columns or rows is based on personal preference.

Subscribe to get more articles like this one

Did you find this article helpful? If you would like to receivenew articles, join our email list.

More resources

How to Convert Text to Numbers in Excel (5 Ways)

How to Use Flash Fill in Excel (4 Ways with Shortcuts)

10 Ways to Save Time Selecting in Excel using the Name Box

How to Delete Blank Rows in Excel (5 Easy Ways with Shortcuts)

How to Highlight Errors, Blanks and Duplicates in Excel Worksheets (Using Formulas)

Related courses

Microsoft Excel: Intermediate / Advanced

Microsoft Excel: Data Analysis with Functions, Dashboards and What-If Analysis Tools

Microsoft Excel: Introduction to Visual Basic for Applications (VBA)

VIEW MORE COURSES >

Our instructor-led courses are delivered in virtual classroom format or at our downtown Toronto location at 18 King Street East, Suite 1400, Toronto, Ontario, Canada (some in-person classroom courses may also be delivered at an alternate downtown Toronto location). Contact us at info@avantixlearning.ca if you'd like to arrange custom instructor-led virtual classroom or onsite training on a date that's convenient for you.

Copyright 2024 Avantix® Learning

Microsoft, the Microsoft logo,Microsoft Office and related Microsoft applicationsand logosare registered trademarks of Microsoft Corporation in Canada, US and other countries. All other trademarks are the property of the registered owners.

Avantix Learning |18 King Street East, Suite 1400, Toronto, Ontario, Canada M5C 1C4 | Contact us at info@avantixlearning.ca

How to Hide or Unhide Columns or Rows in Excel (with Shortcuts) (2024)

FAQs

How to Hide or Unhide Columns or Rows in Excel (with Shortcuts)? ›

Method 1: Hide Excel rows and columns

What is the shortcut to hide and unhide rows and columns in Excel? ›

Detailed Solution. The correct answer is CTRL + 9. Press Ctrl + 9 to hide selected rows, Ctrl + Shift + 9 to unhide any hidden rows, Ctrl + 0 (zero) to hide selected columns, and Ctrl + Shift + 0 to unhide any hidden columns.

How to quickly hide and unhide columns in Excel? ›

Hide or show rows or columns
  1. Select one or more columns, and then press Ctrl to select additional columns that aren't adjacent.
  2. Right-click the selected columns, and then select Hide.

What is the shortcut key for show and hide? ›

Windows logo key + D → Display and hide the desktop. Additional InformationSome shortcuts keys are given below: Windows Key + H → Launch voice typing. (updated in Windows 11.)

What are the keyboard shortcuts to hide columns in Excel? ›

The shortcut for hiding columns in Excel is Ctrl + 0. For the sake of clarity, the last key is zero, not the uppercase letter "O". To hide a single column, select any cell within it, then use the shortcut. To hide multiple columns, select one or more cells in each column, and then press the key combination.

How do I unhide all columns quickly? ›

Unhide All Columns and Rows in Excel

To unhide all columns, select the entire spreadsheet by clicking on the top left corner of the spreadsheet (look for the dark-grey triangle). From there, right-click anywhere in the green column header labels, and select Unhide.

What is the shortcut to hide unhide columns? ›

Ctrl+0: Hide Columns in Excel (Ctrl+Shift+0 to Unhide Columns) ... This keyboard sequence is used for changing your language by Windows, preventing it from working in Excel.

How do I unhide all rows and columns in Excel? ›

Unhide all rows and columns
  1. Select all the cells in the spreadsheet by clicking the 'Select All' button. Or you can use the Ctrl + A shortcut.
  2. Right-click any of the selected rows and click Unhide. This unhides all the hidden rows.
  3. Right-click any of the selected columns and click Unhide.
Feb 27, 2024

What is the shortcut for hide show rows in Excel? ›

Now, to actually do it, you're going to use the CTRL + 0 to hide your columns, CTRL + 9 to hide your rows. Now, notice it kind of works in pairs. To hide it, you're using CTRL. To unhide it, you're going to add the SHIFT key.

Is there an Excel formula to hide rows? ›

Hide Blank Rows in Excel Using Shortcuts

Hiding the blank rows can make it easier to see and work with the ones that do contain data. To do it, select the first blank row after your data. For us, that would be row 10. Then use the shortcut Ctrl + Shift + Down to select all the empty rows, and Ctrl + 9 to hide them.

How do I unhide multiple columns in Excel? ›

Once you have select all the hidden columns, follow the below steps:
  1. Click the Home tab.
  2. In the Cells group, click on Format.
  3. Hover the cursor on the 'Hide & Unhide' option.
  4. Click on 'Unhide Columns'
Aug 8, 2019

What is Ctrl + 0 in Excel? ›

Ctrl+0 Hides the selected columns. Ctrl+F1 Displays or hides the Ribbon. Ctrl+F2 Displays the print preview area.

What is the shortcut for hide function in Excel? ›

After selecting the cells, press the shortcut key Ctrl + 0. As we can see above, all the selected cell columns are hidden.

Top Articles
Latest Posts
Article information

Author: Maia Crooks Jr

Last Updated:

Views: 5975

Rating: 4.2 / 5 (43 voted)

Reviews: 82% of readers found this page helpful

Author information

Name: Maia Crooks Jr

Birthday: 1997-09-21

Address: 93119 Joseph Street, Peggyfurt, NC 11582

Phone: +2983088926881

Job: Principal Design Liaison

Hobby: Web surfing, Skiing, role-playing games, Sketching, Polo, Sewing, Genealogy

Introduction: My name is Maia Crooks Jr, I am a homely, joyous, shiny, successful, hilarious, thoughtful, joyous person who loves writing and wants to share my knowledge and understanding with you.