Hide or show rows or columns

Hide or show rows or columns

You can hide a row or column by using the Hide command, or by changing the row height or column width to 0 (zero). You can display either again by using the Unhide command.

You can unhide specific rows and columns, or you can unhide all hidden rows and columns at the same time. If you hide the first row or column in a worksheet, you follow a different process, and you'll find that in the last section of the article.

Note: The screenshots in this article were taken in Excel 2013. If you have a different version your view might be slightly different, but unless otherwise noted, the functionality is the same.

Your browser does not support video. Install Microsoft Silverlight, Adobe Flash Player, or Internet Explorer 9.

Discover more Excel training at LinkedIn Learning

What do you want to do?

Hide one or more rows or columns

Display one or more hidden rows or columns

Display all hidden rows and columns at the same time

Unhide the first row or column of the worksheet

Hide one or more rows or columns

  1. Select the rows or columns that you want to hide.

    How to select cells, ranges, rows, or columns

  2. On the Home tab, in the Cells group, click Format.

    Cells group on the Home tab

  3. Do one of the following:

    • Under Visibility, point to Hide & Unhide, and then click Hide Rows or Hide Columns.

    • Under Cell Size, click Row Height or Column Width, and then type 0 in the Row Height or Column Width box.

Tip: You can also right-click a row or column (or a selection of multiple rows or columns), and then click Hide.

Top of Page

Display one or more hidden rows or columns

  1. Do one of the following:

    • To display hidden rows, select the row above and below the rows that you want to unhide.

    • To display hidden columns, select the columns adjacent to either side of the columns that you want to unhide.

    • To display the first hidden row or column on a worksheet, select it by typing A1 in the Name Box next to the formula bar.

      Tip: You can also select it by using the Go To dialog box. On the Home tab, under Editing, click Find & Select, and then click Go To. In the Reference box, type A1, and then click OK.

      How to select cells, ranges, rows, or columns

  2. On the Home tab, in the Cells group, click Format.

    Cells group on the Home tab

  3. Do one of the following:

    • Under Visibility, point to Hide & Unhide, and then click Unhide Rows or Unhide Columns.

    • Under Cell Size, click Row Height or Column Width, and then type the value that you want in the Row Height or Column Width box.

Tip: You can also right-click the selection of visible rows and columns that surround the hidden rows and columns, and then click Unhide.

Top of Page

Display all hidden rows and columns at the same time

  1. To select all cells on a worksheet, do one of the following:

    • Click the Select All button.

      Select All button

    • Press Ctrl+A.

      Note: If the worksheet contains data and the active cell is above or to the right of the data, pressing Ctrl+A selects the current region. Pressing Ctrl+A a second time selects the entire worksheet.

  2. On the Home tab, in the Cells group, click Format.

    Cells group on the Home tab

  3. Do one of the following:

    • Under Visibility, point to Hide & Unhide, and then click Unhide Rows or Unhide Columns.

    • Under Cell Size, click Row Height or Column Width, and then type the value that you want in the Row Height or Column Width box. The default height for rows is 15, the default width for columns is 8.43.

Top of Page

Unhide the first row or column of the worksheet

Follow these steps if you've hidden the first row or column in a worksheet.

  1. To select the first hidden row or column on the worksheet, do one of the following:

    • In the Name Box next to the formula bar, type A1.

    • On the Home tab, in the Editing group, click Find & Select, and then click Go To. In the Reference box, type A1, and then click OK.

  2. On the Home tab, in the Cells group, click Format.

    Cells group on the Home tab

  3. Do one of the following:

    • Under Visibility, point to Hide & Unhide, and then click Unhide Rows or Unhide Columns.

    • Under Cell Size, click Row Height or Column Width, and then type the value that you want in the Row Height or Column Width box.

Top of Page

Need more help?

You can always ask an expert in the Excel Tech Community, get support in the Answers community, or suggest a new feature or improvement on Excel User Voice.

See also

Hide or show worksheets or workbooks

Insert or delete a worksheet 

Discover more courses like this at LinkedIn Learning

Connect with an expert
Contact us
Expand your skills
Explore training

Was this information helpful?

Thank you for your feedback!

Thank you for your feedback! It sounds like it might be helpful to connect you to one of our Office support agents.

×