Software & OS

How to See Hidden Rows in Excel (Unhide One, All or Row 1)

To see hidden rows in Excel, select the rows on either side of the gap, right-click the selection and choose Unhide. If the rows were hidden by a filter instead, clear the filter on the Data tab.

Which method works depends on where the hidden rows are and how they were hidden. The sections below go from the quickest fix to the awkward cases.

How to tell that rows are hidden

Excel does not mark hidden rows with an icon. Check the row numbers down the left edge of the grid. If you see 4 and then 7, rows 5 and 6 are hidden. Microsoft's help page says it directly: "The double line between two rows is an indicator that you've hidden a row."

A filter also hides rows, and it looks different. When a filter is applied, the arrow on the column heading changes to a filter button, and the row numbers skip the rows that did not match. Right-clicking and choosing Unhide will not bring filtered rows back, so identify which case you have before you start. The filter case is covered further down.

Unhide rows with a right-click

This is the method Microsoft documents first, and it works for any block of hidden rows that has a visible row above and below it.

  1. Click the row number above the hidden rows, then drag down to the row number below them. Both visible neighbours must be inside the selection. For example, to reveal rows 5 and 6, select rows 4 to 7.
  2. Right-click anywhere on the selected row numbers.
  3. Choose Unhide.

There is a shortcut for a single gap: double-click the double line between the two row headings. Microsoft lists this as an alternative to the right-click menu.

To unhide several separate gaps in one go, hold Ctrl while you select the row ranges, then right-click and choose Unhide. Microsoft's page mentions holding Ctrl for selecting nonadjacent rows or columns.

Unhide rows from the Format menu

If you prefer ribbon commands, select the rows around the gap as above, then:

Home tab > Cells group > Format > Visibility > Hide & Unhide > Unhide Rows

This is the same menu path Microsoft gives in its article on unhiding the first row or column. It does the same job as the right-click menu, so it makes no difference which you use.

How to unhide all rows in Excel

When you do not know where the hidden rows are, select the whole worksheet first. Click the small triangle where the row numbers meet the column letters, or press Ctrl+A. Microsoft's shortcut list describes Ctrl+A on Windows as "Select the entire worksheet". Then right-click any row number and choose Unhide, or use the Format menu path above.

Be careful with this one. It reveals every hidden row in the sheet, including rows someone hid deliberately, such as helper calculations or private figures. If you only want to reveal one area, use the targeted selection from the first method.

Select the hidden range with the Name Box

On a long sheet, dragging across thousands of rows is slow. The Name Box, to the left of the formula bar, accepts row ranges. Type a range, press Enter, and Excel selects those rows. A Microsoft Q&A answer describes this approach with these examples:

Where the hidden rows areType in the Name BoxThen
Before the first visible row (row 10 is the first visible)1:10Right-click row 10, choose Unhide
Between rows 12 and 23, both visible12:23Right-click a selected row number, choose Unhide
After the last visible row (row 38 is the last visible)38:1048576Right-click row 38, choose Unhide
Two gaps at once12:23,25:36Right-click a selected row number, choose Unhide

The number 1048576 is the last row of a current Excel worksheet. If your system uses a comma as the decimal separator, the Q&A answer says to separate ranges with a semicolon instead of a comma.

How to unhide row 1

Row 1 is the one that the normal method cannot handle. There is no row above it, so you cannot select "the rows on either side". Microsoft documents two ways around this.

Name Box method:

  1. In the Name Box next to the formula bar, type A1 and press Enter. Excel selects cell A1, even though its row is hidden.
  2. On the Home tab, in the Cells group, click Format.
  3. Under Visibility, select Hide & Unhide, then Unhide Rows.

Right-click method: right-click the row 2 heading and choose Unhide Rows. The same page covers column A: choose Unhide Columns after right-clicking the column B heading, or use Unhide Columns in the same Format menu after selecting A1.

Rows hidden by a filter

If the row numbers skip and a column heading shows a filter button, a filter is hiding the rows. Microsoft states that "Filtered data displays only the rows that meet criteria that you specify and hides rows that you do not want displayed." The rows are not deleted, and Unhide is not the right tool for them.

To show everything again, select any cell inside the range or table and click the Filter button on the Data tab. Microsoft says this "will remove the filters from all the columns in your table or range and show all your data." Doing so also removes the filter arrows. To clear just one column, open its filter button and choose Clear Filter from followed by the column name.

One side effect worth knowing: Microsoft notes that when you search filtered data with the Find dialog box, only the displayed data is searched. If a search seems to miss values you know exist, clear the filters first.

Keyboard shortcuts for unhiding rows

The shortcut situation varies by platform, so check which one you use. Microsoft's shortcut list shows:

PlatformHide rowsUnhide rows
Excel for WindowsCtrl+9Not listed
Excel for MacCtrl+9Ctrl+Shift+(
Excel for the webCtrl+9Ctrl+Shift+9

On Windows, use the right-click menu or the Format menu. Select the rows around the hidden ones first, because the shortcuts and menu commands act only on the current selection.

If the rows still do not appear

  • You selected only one side. The selection has to include the visible row above and the visible row below the gap. Selecting just the row above does nothing.
  • A filter is active. Look for a filter button on a column heading and clear it as described above.
  • The hidden rows are at the very top. Use the Name Box with A1 or a range such as 1:10, since no row sits above them to select.
  • You are on the wrong sheet. Hiding applies to one worksheet at a time. Check the sheet tabs at the bottom of the window.

To hide rows again later, select them and press Ctrl+9, or right-click and choose Hide.

Frequently asked questions

How do I know if a row is hidden in Excel?
Look at the row numbers down the left edge. If a number is missing, for example 4 is followed by 7, rows 5 and 6 are hidden. Microsoft also describes a double line between two row headings as the indicator that a row has been hidden.
How do I unhide all rows in Excel at once?
Click the Select All triangle at the top-left corner of the grid, or press Ctrl+A, then right-click any row number and choose Unhide. Microsoft warns that this also reveals every hidden row, including ones that were hidden on purpose.
Why can't I unhide row 1 in Excel?
Row 1 has no row above it, so you cannot select the rows on either side of it. Type A1 in the Name Box and press Enter, then use Home, Format, Hide & Unhide, Unhide Rows. You can also right-click the row 2 heading and choose Unhide Rows.
Is there a keyboard shortcut to unhide rows in Excel?
According to Microsoft's shortcut list, Ctrl+Shift+9 unhides rows in Excel for the web, and Ctrl+Shift+( unhides selected rows on macOS. The list does not give an unhide-rows shortcut for Excel on Windows, so use the right-click or Format menu there.

Sources