How to Unhide Rows in Excel

Learn multiple Excel methods to unhide rows with step-by-step examples, business scenarios, and professional tips.

excelrowsdata-managementspreadsheettutorial
12 min read • Last updated: 7/2/2025

How to Unhide Rows in Excel

Why This Task Matters in Excel

Whether you build weekly sales trackers or 50-sheet financial models, the ability to hide and unhide rows underpins almost every professional spreadsheet workflow. Hidden rows allow you to collapse supporting calculations, remove sensitive information from printed reports, and keep dashboards focused. Yet those exact strengths can become liabilities when you cannot quickly restore hidden information.

Imagine a financial analyst presenting a cash-flow statement to leadership. She temporarily hides rows that carry intermediate depreciation calculations to keep the deck concise. After the meeting, she needs those calculations back to run an updated scenario. If she struggles to unhide them, deadlines slip, version control suffers, and confidence in the model erodes.

The challenge escalates in shared workbooks. A counterpart in a different department can accidentally hide rows while scrolling or applying a filter. Without structured knowledge of Excel’s unhiding tools, collaborators waste time hunting for data they assume has been deleted. Worse, they may recreate existing logic, introducing duplications and errors.

Industries such as accounting, supply-chain planning, healthcare analytics, and academic research all rely on row hiding. Audited workpapers often hide sign-offs, reconciliations, and working figures. Logistics planners hide obsolete SKUs. Medical researchers hide anonymized identifiers before publishing. Not knowing how to unhide quickly can mean losing an audit trail, delaying a procurement decision, or compromising compliance.

Microsoft Excel supplies several ways to reveal hidden rows—context menus, ribbon commands, keyboard shortcuts, Go To Special, filter toggles, grouping controls, and VBA automation. The best method depends on context: one sheet or many, single row or multiple, visible filters or outline groups. Mastering these choices improves productivity, data integrity, and your professional reputation.

Best Excel Approach

For most day-to-day work the fastest, most reliable technique is the ribbon command Home ▶ Format ▶ Hide & Unhide ▶ Unhide Rows. This approach is visible to beginners, audits easily, and works in every modern Excel version on Windows, Mac, and web.

Why is this method best?

  1. It centralises all hide/unhide commands in one place, reducing confusion.
  2. It automatically respects the currently selected range. If you highlight the entire sheet (Ctrl + A) it unhides every row, but you can also target small ranges.
  3. It does not require memorising shortcuts, making it ideal for cross-team handoffs.

Prerequisites:

  • You must have permission to edit the sheet (not protected).
  • The workbook must not have hidden rows controlled by filters or grouping that are simultaneously collapsed; you may need to clear those first.

Logic behind the solution: Excel stores a RowHeight property. When a user hides a row, Excel flags Hidden = True and sets the height to 0. The Unhide command simply sets Hidden = False and restores the previous height (default 15 points unless customised).

Syntax for a VBA equivalent, useful when you need to unhide in bulk across multiple sheets, is shown below:

Sub UnhideSelectedRows()
    Selection.EntireRow.Hidden = False
End Sub

Alternative macro to unhide every row on every sheet:

Sub UnhideAllRowsInWorkbook()
    Dim ws As Worksheet
    For Each ws In ThisWorkbook.Worksheets
        ws.Rows.Hidden = False
    Next ws
End Sub

Parameters and Inputs

  1. Selection Scope
  • Single contiguous selection such as [5:10]
  • Non-adjacent selections via Ctrl + Click (works only for ribbon and VBA methods)
  • Entire sheet with Ctrl + A
  1. Data Types
  • Rows contain any value—numbers, text, formulas, formatted cells. The type does not affect unhiding.
  1. Optional Parameters
  • Within VBA, you may pass a worksheet variable or workbook collection.
  • For Go To Special, you can opt to select visible cells only before unhiding.
  1. Preparation
  • Remove active filters if they are hiding rows, otherwise the unhide command may appear ineffective.
  • Verify sheet protection status. Protected sheets can block row changes. Remove or adjust protection if needed.
  1. Validation Rules
  • Row numbers must be within Excel’s limit (1 to 1,048,576 in modern versions).
  • If you attempt to unhide rows that were deleted (not hidden), nothing reappears. Check workbook versions to restore lost data.
  1. Edge Cases
  • Row height set to 0.1 rather than true hidden. Excel treats it as visible, so Unhide will not correct it. Reset height manually or via Format ▶ Row Height.
  • Grouped outlines collapsed inside a hidden block. You may need to first clear grouping (Data ▶ Ungroup) or expand outline levels.

Step-by-Step Examples

Example 1: Basic Scenario — Accidental Hide

Suppose you maintain a project issue log in [A1:F100]. During a meeting you right-clicked and chose Hide on row 25 to keep the sheet tidy. Later you realise issue 25 is missing.

  1. Identify the gap: you notice row 24 jumps directly to row 26 in the row headers.
  2. Select surrounding rows: click the row header for 24, hold Shift, and click 26. This highlights [24:26].
  3. Unhide: on the ribbon, Home ▶ Format ▶ Hide & Unhide ▶ Unhide Rows. Row 25 reappears with its original formatting, formulas, and data.

Why it works: by selecting rows adjacent to the hidden one, you provide Excel a range to scan for hidden objects. The Format command checks each Row object’s Hidden property and toggles it off.

Variations:

  • Keyboard method — after selecting [24:26] press Ctrl + Shift + 9 (Windows) or Cmd + Shift + 9 (Mac).
  • Context menu — right-click the highlighted row headers and choose Unhide.

Troubleshooting: if Row 25 remains invisible, verify you did not apply a filter on column A that hides rows where Status = “Closed”. Clear all filters (Home ▶ Sort & Filter ▶ Clear).

Example 2: Real-World Application — Quarterly Budget Workbook

Scenario: a finance team stores departmental budgets in a single workbook. Each department sheet has details for all expense codes. Executives receive a trimmed view with detailed overhead lines hidden. A new audit request requires all overhead details.

Data setup:

  • Sheet “Marketing” with rows 1-200: visible cost centres in rows 1-120, hidden overhead calculations in rows 121-170, summary in rows 171-200.
  • Additional sheets “Sales”, “R&D”, and “Ops” share the same structure.

Steps to unhide all hidden rows for all departments:

  1. Use VBA to save time. Press Alt + F11 to open the Visual Basic Editor.
  2. Insert a new module and paste:
Sub Unhide_All_Rows_All_Sheets()
    Dim ws As Worksheet
    For Each ws In ThisWorkbook.Worksheets
        ws.Rows.Hidden = False
    Next ws
End Sub
  1. Close the editor, return to Excel, and run the macro (Alt + F8 and select Unhide_All_Rows_All_Sheets).
  2. Verify each sheet: overhead rows now visible with accurate formulas referencing hidden driver sheets.

Business impact: what took minutes per sheet becomes a five-second macro. The finance team meets the audit deadline and retains confidence that formulas were never lost, merely hidden.

Integration: you can expand this macro to unprotect sheets first, then unhide, then reprotect, ensuring compliance with corporate security policies.

Performance: looping through four sheets with 200 rows is trivial, but a 100-sheet workbook with complex conditional formatting might momentarily freeze. Consider turning off screen updating:

Application.ScreenUpdating = False
'…your loop…
Application.ScreenUpdating = True

Example 3: Advanced Technique — Mixed Filters, Groups, and Zero Row Height

A data scientist imports raw survey data where the ETL script sets negative responses to hidden (row height 0). She also grouped regional blocks and applied filters on completion status. Multiple layers now suppress rows.

Objective: unhide everything, maintain group structure, and reset abnormal row heights.

  1. Clear filters: Data ▶ Filter to toggle filters off, or within VBA:
ActiveSheet.AutoFilterMode = False
  1. Expand all outline groups: Data ▶ Ungroup ▶ Clear Outline, or:
ActiveSheet.Outline.ShowLevels RowLevels:=8

(8 is a safe maximum outline level.)

  1. Reset hidden property: Select entire sheet (Ctrl + A twice), then Home ▶ Format ▶ Hide & Unhide ▶ Unhide Rows.
  2. Fix zero-height rows: still with the sheet selected, Home ▶ Format ▶ Row Height, type 15 (default).

Advanced automation:

Sub Reset_All_Rows_Completely()
    With ActiveSheet
        .AutoFilterMode = False
        .Outline.ShowLevels RowLevels:=8
        .Rows.Hidden = False
        .Rows.RowHeight = 15
    End With
End Sub

Professional tips:

  • Only reset row height if you know users did not intentionally customise it.
  • You can capture previous height into an array before resetting if preservation matters.
  • Consider adding error handling to skip protected sheets or prompt the user.

Tips and Best Practices

  1. Combine selection with shortcuts. After clicking the corner triangle to select the sheet, press Ctrl + Shift + 9 to unhide all instantly.
  2. Use Go To Special ▶ Visible Cells Only before copying filtered data to ensure you do not paste hidden rows inadvertently.
  3. Document intentionally hidden rows with a cell comment in the adjacent visible row so teammates understand why data is missing.
  4. For large models, group instead of hide to make structure obvious. Expand/collapse via the ascribed outline plus/minus buttons.
  5. Store a utility macro in Personal.xlsb named “UnhideAll” and add it to the Quick Access Toolbar. It becomes available in every workbook.
  6. Regularly review sheet protection settings. Locking the ability to hide rows prevents accidental disappearance in sensitive reports.

Common Mistakes to Avoid

  1. Assuming data is deleted when it is actually hidden. Always inspect row numbers for gaps before rebuilding formulas.
  2. Forgetting that filters can hide rows. Unhide commands do nothing if AutoFilter remains active. Clear filters first.
  3. Overlooking zero-height rows. A row with height 0 is technically visible, so Unhide will not fix it. Manually adjust row height or use VBA.
  4. Hiding rows in protected sheets. Users later cannot unhide without a password, leading to support tickets. Either unprotect temporarily or design protection to allow Formatting rows.
  5. Saving a filtered range as CSV. Only visible rows export, permanently dropping hidden data. Double-check visibility before exporting flat files.

Alternative Methods

Below is a comparison of the main ways to show hidden rows.

MethodQuicknessScopeRequires Ribbon?Works in Excel for Web?Best For
Ribbon Format ▶ Unhide RowsModerateSelected range or whole sheetYesYesBeginner users, audited environments
Keyboard Ctrl + Shift + 9FastSelected rowsNoYesPower users, single sheet tasks
Context Menu UnhideFastSelected rangeNoYesMouse-focused users, one-off cases
Go To Special ▶ Blanks then UnhideSlowComplex selectionsYesYesDetecting and showing sporadically hidden rows
VBA Rows.Hidden = FalseVery fastWorkbook-wideNoLimited (Office Scripts)Bulk tasks, multi-sheet operations
Clear FiltersInstantFiltered listRibbonYesData cleansing, reporting filters

Pros & Cons

  • VBA is unrivalled for scale but blocked by macro security in some firms.
  • Keyboard shortcut is lightning fast yet hard to teach beginners.
  • Ribbon method is universal but slower for frequent tasks.
  • Outline expand avoids changing row heights but does not address hidden property.

Choose based on environment: a finance department under strict macro policies sticks to ribbon; an analyst automates with VBA; a web user on iPad relies on touch menus.

FAQ

When should I use the ribbon Unhide command?

Use it when collaborating with less technical colleagues, presenting during screen shares, or working in environments that disable macros. It is visible, self-documenting, and consistent across platforms.

Can this work across multiple sheets?

Yes. Select all sheets first (right-click any sheet tab and choose Select All Sheets) then run the ribbon Unhide or shortcut. Alternatively, loop through sheets with VBA for granular control.

What are the limitations?

Unhide commands do not override active filters, grouping collapse, or protection. They also cannot resurrect rows that have been deleted rather than hidden. Older .xls files with custom views may require switching views first.

How do I handle errors?

If unhiding seems ineffective, check three areas:

  1. Is a filter hiding rows? Clear it.
  2. Is the sheet or workbook protected? Unprotect or adjust settings.
  3. Does the workbook contain outline groups? Expand them or remove grouping.

Add error-handling in VBA macros to skip protected sheets and alert the user.

Does this work in older Excel versions?

The ribbon method appears in Excel 2007 onward. Excel 2003 uses Format ▶ Row ▶ Unhide in the classic menu. Keyboard shortcuts and VBA code work in virtually every version, though row limits differ (65,536 vs 1,048,576).

What about performance with large datasets?

Unhiding tens of thousands of rows is instantaneous for Excel’s calculation engine; the delay arises from screen redraw and conditional formatting. Turn off screen updating in VBA, collapse conditional formatting ranges, or disable automatic calculation temporarily to speed up large operations.

Conclusion

Mastering the art of unhiding rows turns hidden frustration into visible productivity. From a single misplaced click to sophisticated filter layers, you now have a toolkit—ribbon, shortcuts, context menu, Go To Special, and VBA—to reveal any concealed data. This knowledge safeguards audit trails, accelerates collaboration, and bolsters confidence in your models. Incorporate these techniques into your regular workflow, and consider automating routine cleanup with macros. Next, explore related skills such as unhiding columns, managing outline groups, and leveraging Custom Views to switch between presentation formats without losing a single row of valuable information.

We use tracking cookies to understand how you use the product and help us improve it. Please accept cookies to help us improve.