You cannot unhide rows in Excel because the row height is set to zero rather than the row being hidden, because rows are hidden by a filter, because sheet protection locks formatting, or because the hidden rows sit outside the visible scroll area or freeze pane. Each cause blocks the standard Unhide command in a different way. Here is the diagnostic order and the exact fix for each, from the simplest toggle to the underlying XML repair.

Most guides stop at "select the rows and click Unhide." That advice fails precisely when the normal path is broken. Unhiding interacts with three separate Excel subsystems: row formatting (height), the filter and outline engines, and protection. A row that looks hidden can be in any of those states, and the Unhide menu only touches one of them. Understanding which subsystem is holding the row back is the whole job.

The height-zero mechanism that mimics hiding

Excel stores hidden rows in two places at once, and this is the root of most confusion. The row's Hidden attribute is a Boolean flag in the worksheet XML (hidden="1"). Separately, the row height can be set to zero. When you right-click and Hide, Excel sets both. When you drag a row border upward to nothing, Excel sets height to zero but may leave the Hidden flag off. The Unhide command only clears the Hidden flag, so a zero-height row can remain invisible after you "unhide" it.

Row height is measured in points, where 1 point equals 1/72 inch. Excel's default row height is 15 points (20 pixels at 100% zoom). A row set to 0 points is mathematically present but renders as nothing. Pressing Ctrl+Z after a drag-collapse restores the prior height, which is why undo fixes some invisible rows that Unhide does not. This is the single most common reason the Unhide option appears to do nothing.

The fix is direct: select the rows spanning the gap, then set a numeric height. Home > Format > Row Height, type 15, and press Enter. The Format menu lists Row Height even when the Unhide command is grayed out, so it bypasses the flag entirely. If you cannot select the missing rows by dragging, use the Name Box.

Filtered rows and outline groups override manual unhide

Rows hidden by an AutoFilter are not "hidden" in the formatting sense. They are excluded from the visible set by the filter engine. The Unhide command will clear a manual Hidden flag but cannot override a filter, so the rows stay gone until the filter changes. The tell is the filter dropdown arrow in the column header and a blue row-number tint on the visible records.

Outline groups behave similarly. If rows sit inside a collapsed group, the hide state belongs to the group, not the rows. Clicking Unhide does nothing because no individual row is flagged. You must expand the group using the plus (+) button in the outline margin or the Data > Outline > Show Detail command.

A professional caveat that trips up experienced users: the Subtotal feature and Group feature both create these collapse states automatically. A subtotaled sheet with collapsed detail rows will look "broken" to anyone who inherited the file and tries to unhide individual rows.

Protection, shared workbooks, and missing controls

When the Unhide command is grayed out entirely, protection is usually the cause. Sheet protection does not automatically block row unhiding. The lock depends on which options were checked when protection was applied. In the Protect Sheet dialog, two checkboxes matter here: "Format rows" and "Format columns." If Format rows is unchecked, the user cannot change row height or unhide rows even with the sheet otherwise editable.

The unlock path runs through Review > Unprotect Sheet and requires the password set at protection time. If the workbook uses IRM (Information Rights Management) or was opened read-only from a network share, the Unhide option may be disabled regardless of password. Legacy shared workbooks, a deprecated collaboration feature, also block structural changes including row unhiding while the file is shared.

A counterintuitive detail: protecting a sheet with the default settings actually permits unhiding rows, because Format rows is checked by default. So protection is often blamed wrongly. Confirm the checkbox state before chasing a password.

When rows are hidden above row 1 or frozen out of view

Excel cannot hide row 1 through the normal Hide command; the option is disabled on the first row. But rows above the current view can be scrolled past and appear missing. Two structural cases cause phantom hidden rows:

Freeze panes: a frozen top region can hold rows that scroll out of sight behind the frozen band, making the visible area start mid-sheet. Zero-height rows near the top: scrolling up reveals a blank band where rows should be, with the scrollbar thumb not reaching the true top.

Pressing Ctrl+Home jumps to cell A1 and exposes whether rows above the viewport exist. If the selection lands in a row below 1, rows are hidden above it. Selecting rows 1 through the last visible row and setting a height of 15 restores them.

A timeline of how a "stuck" row typically develops helps trace the cause:

Stage What the user did Excel state Unhide result
1 Dragged a row border up Height = 0, Hidden flag off No effect
2 Applied AutoFilter Filter excludes row No effect until filter clears
3 Grouped and collapsed rows Outline group collapsed No effect until group expands
4 Protected sheet, Format rows off Structure locked Command grayed out
5 Saved and reopened under IRM Rights restricted Command disabled
6 Corruption in row XML Hidden flag or height malformed Command fails or file errors

Misconceptions about "corrupt" rows

The most common wrong diagnosis is that the file is corrupted. Real corruption exists, but it is rare and produces specific error signatures: "Excel found unreadable content," a repair prompt on open, or a row that reappears after every save. A merely stubborn hidden row is not corruption, and running repair wastes time and can strip formatting.

A second misconception is that Unhide from the right-click menu and Unhide from the Home > Format menu are identical. They call the same command, but only the Format menu exposes Row Height as an adjacent tool. When Unhide fails, jumping straight to Row Height resolves the height-zero case in one step.

A third: users assume hidden rows are deleted. Hidden rows retain all data, formulas, and references. Deleting a row shifts every reference below it and can break formulas silently, so never delete to "unhide." The comparison below separates the look-alike states:

Symptom Likely state Command that fixes it Data risk
Gap in row numbers, no filter arrow Hidden flag set Right-click > Unhide None
Gap with no row numbers at all Height = 0 Format > Row Height > 15 None
Blue row numbers, filter arrows present Filtered out Clear filter (Data > Clear) None
Plus/minus buttons in margin Collapsed outline group Click + or Show Detail None
Unhide grayed out Sheet protection Review > Unprotect Sheet None
Rows return after save XML corruption Save as .xlsx, inspect XML Possible format loss

If none of these restore the rows and the file prompts repair on open, the row XML is likely damaged. Open the .xlsx as a zip archive, inspect xl/worksheets/sheet1.xml, and check the row elements for malformed hidden or ht attributes. This is a last resort, not a first step.

Practical diagnostic and repair sequence

Work top to bottom; each step rules out one subsystem before the next.

Check for a filter: look for dropdown arrows in headers and blue row numbers. If present, clear the filter first. Check for outline groups: look for plus/minus buttons in the left margin. Expand all groups via Data > Outline > Show Detail. Select and set height: in the Name Box, type the range spanning the gap (for example, A1:A40), then Home > Format > Row Height > 15. Test protection: if Unhide is grayed, go to Review > Unprotect Sheet and confirm Format rows is enabled under Protect Sheet options. Verify the top: press Ctrl+Home. If it does not land on A1, rows above are hidden; select rows 1 to the first visible row and set height to 15. Escalate to XML only if the file prompts repair or rows return after saving.

Set a threshold for when to stop troubleshooting: if three of the six steps fail to restore the row and the file shows a repair prompt, treat it as corruption and recover from a backup or export to .xlsx before editing further. For ordinary files, steps 1 through 3 resolve the large majority of cases. The remaining cases are structural (protection, rights, corruption), and each has a defined owner: the person who set the password, the IT rights administrator, or the backup.

The fixed row height of 15 points is the default only when the workbook's font and zoom are standard. At 125% zoom or with a larger base font, the restored height may still look cramped; set 18 to 20 points if text clips. This numeric reconciliation matters because users following old advice set 12.75 points and see clipped rows, then assume the unhide failed again.

Once rows are visible, confirm they were never deleted by checking that row numbers are contiguous. A gap in the numbering with no hidden flag means the row was deleted, which no unhide command can reverse. Undo (Ctrl+Z) is the only recovery, and only before the next save.

For files that hide rows via VBA or add-ins, the macro may re-hide rows on open. Check for a Workbook_Open event in the VBA editor (Alt+F11) before concluding the file is corrupt. Disabling macros at open (File > Options > Trust Center) and reopening isolates this case quickly.

Limits of what unhiding can restore

Unhiding cannot recover deleted rows, repair a damaged file, or override rights management. It also cannot reveal rows that were never saved because the workbook closed during an edit; those are lost regardless of the command. If a row's data is intact but the height or flag is wrong, every method above restores it. If the data itself is gone, no Excel command returns it, and the correct response is backup recovery, not further troubleshooting.

Keep one principle in mind: hidden rows are formatting, deleted rows are data loss, and filtered rows are a view state. Diagnosing which of the three you face determines the fix. Assuming the wrong one is why the Unhide command seems to fail. A two-minute pass through the sequence above resolves the formatting and view cases, and clearly flags the two cases (rights and corruption) that require someone else's credentials or a backup.