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 receive new 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

You may also like

How to Replace Zeros (0) with Blanks in Excel

How to Replace Zeros (0) with Blanks in Excel

There are several strategies to replace zero values (0) with blanks in Excel. If you want to replace zero values in cells with blanks, you can use the Replace command or write a formula to return blanks. However, if you simply want to display blanks instead of zeros, you have two formatting options – create a custom number format or a conditional format.

What is Power Query in Excel?

What is Power Query in Excel?

Power Query in Excel is a powerful data transformation tool that allows you to import data from many different sources and then extract, clean, and transform the data. You will then be able to load the data into Excel or Power BI and perform further data analysis. With Power Query (also known as Get & Transform), you can set up a query once and then refresh it when new data is added. Power Query can import and clean millions of rows of data.

How to Freeze Rows in Excel (One or Multiple Rows)

How to Freeze Rows in Excel (One or Multiple Rows)

You can freeze one or more rows in an Excel worksheet using the Freeze Panes command. If you freeze rows containing headings, the headings will appear when you scroll down. You can freeze columns as well so when you scroll to the right columns will be frozen.

Microsoft, the Microsoft logo, Microsoft Office and related Microsoft applications and logos are 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

Summary
How to Hide or Unhide Columns or Rows in Excel (with Shortcuts)
Article Name
How to Hide or Unhide Columns or Rows in Excel (with Shortcuts)
Description
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.
Author
Publisher Name
Avantix Learning

Pin It on Pinterest

Share This