Lesson 16 of 104 5 min Updated Completed

How to Hide and Unhide Columns and Rows

Hiding columns and rows keeps your data in the workbook but takes it out of view, which is useful for helper columns or details you don’t need to see all the time.

Hide and unhide a column

  1. Select the column.

    A column selected before hiding it

  2. Right-click and click Hide.

    Right-clicking the column and choosing Hide

Result: the column disappears. The heading letters skip it, which shows something is hidden.

The column hidden, with its letter missing from the headings

To bring it back:

  1. Select the columns on both sides of the hidden one.

    Selecting the columns on both sides of the hidden column

  2. Right-click and click Unhide.

    Right-clicking and choosing Unhide

Result: the column is visible again.

The hidden column shown again

Note: Rows work exactly the same way: select row headings instead of column headings.

Hide several columns at once

  1. Select the columns by their headings. To pick columns that aren’t next to each other, hold Ctrl as you click. Here columns C, D and F are selected.

    Columns C, D and F selected while holding Ctrl

  2. Right-click and click Hide.

    Columns C, D and F hidden

  3. To unhide them all, select the whole sheet by clicking the triangle in the top-left corner, where the row and column headings meet.

    Clicking the corner button to select the whole sheet

  4. Right-click any column heading and click Unhide.

    All columns shown again after Unhide

Hide columns with Group

Grouping adds a small minus button above the columns, so you can collapse and expand them with one click.

  1. Select the columns you want to be able to hide.

    Selecting the columns to group

  2. On the Data tab, click Group.

    The Group button on the Data tab

  3. Click the minus button to hide the columns.

    Clicking the minus button to collapse the grouped columns

  4. Click the plus button to show them again.

    Clicking the plus button to expand the grouped columns

Note: To remove the grouping, select the grouped columns and click Ungroup on the Data tab.

Hide the data inside cells

You can also keep cells visible but make their contents invisible.

  1. Select the cells whose contents you want to hide.

    Selecting the cells whose data should be hidden

  2. Right-click and click Format Cells.

  3. On the Number tab, click Custom.

  4. In the Type box, type three semicolons, ;;;, and click OK. (A single ; also works for numbers, but three hide text as well.)

    Typing ;;; as a custom number format

Result: the cells look empty.

Cells E4:E6 appearing empty after the custom format

Note: The data is only invisible, not removed. Select one of the cells and you’ll still see its value in the formula bar. To show it again, set the format back to General.