Excel Won't Unhide Rows? Here is How to Fix It
In this article
If Excel won't unhide rows, it is usually because a filter is active, the row height is set to nearly zero, the worksheet is protected, or the rows are frozen in a specific view. To fix this immediately, try selecting the entire sheet by clicking the triangle in the top-left corner, right-clicking any row header, and selecting Unhide. If that fails, check the Data tab to see if a filter is applied and click Clear.
What You'll Need
- A computer with Microsoft Excel installed (Windows or macOS).
- The specific workbook where rows are missing or hidden.
- Administrative permissions if the workbook is password-protected.
Step-by-Step
- Select the Entire Worksheet: Click the "Select All" button, which is the small gray triangle located at the intersection of the row numbers and column letters in the top-left corner of the grid. Alternatively, press Ctrl + A (Windows) or Command + A (Mac). This ensures that every single row, including those you cannot see, is included in the command.
- Use the Right-Click Menu: Move your cursor to the row header area (the numbers on the left). Right-click on any visible row number. From the context menu that appears, select Unhide. If the rows were simply hidden using the standard hide command, they will reappear instantly.
- Adjust Row Height Manually: Sometimes rows are not technically "hidden" but have a row height set to 0.1 or 0, making them invisible. While the entire sheet is still selected, go to the Home tab on the ribbon. In the Cells group, click Format > Row Height. Type a standard value, such as 15, and click OK. This forces every row to a visible size regardless of its previous setting.
- Clear Active Filters: Check if the row headers have small blue arrows or if some row numbers are blue instead of black. This indicates a filter is active. Go to the Data tab on the ribbon. In the Sort & Filter group, click the Clear button. This removes all filter criteria and reveals all data that was being filtered out.
- Check for Frozen Panes: If rows at the very top of your sheet are missing and won't unhide, you might have Frozen Panes enabled. Go to the View tab, click Freeze Panes, and select Unfreeze Panes. This resets the viewing area and may reveal rows that were pushed out of the visible window.
- Disable Worksheet Protection: If the "Unhide" option is grayed out in the right-click menu, the sheet is likely protected. Go to the Review tab. If you see an option that says Unprotect Sheet, click it. You may be prompted for a password. Once unprotected, try the unhide steps again.
- Check for Grouped Rows: Look for a small plus (+) sign or a line with a dot in the left margin, next to the row numbers. This means the rows are grouped. Click the plus sign to expand the group, or click the number 2 in the top-left corner of the grouping margin to expand all groups across the sheet.
Common Mistakes
One of the most frequent mistakes is attempting to unhide rows by selecting only the visible rows surrounding the hidden area. For example, if row 5 is hidden, users often select rows 4 and 6 and click unhide. While this usually works, it fails if there are multiple layers of hidden rows or if the rows are filtered. Selecting the entire sheet is the only way to guarantee all hidden elements are targeted.
Another common error is confusing "Hidden" rows with "Filtered" rows. The Unhide command does not work on rows that are hidden by a filter. If you have a Filter applied to a table, the rows are technically "filtered out," not "hidden." Using the Unhide command in this scenario will result in nothing happening, leading the user to believe the software is broken.
Users also frequently overlook the Row Height setting. In some cases, a user or a macro may have set the row height to a value so small (like 0.1) that the row appears hidden, but Excel does not categorize it as "Hidden." In this case, the Unhide command does nothing because the row is technically visible, just too small to see.
Tips
To quickly identify where hidden rows are located, look at the row numbering on the left. If the sequence jumps from 10 to 15, you know rows 11 through 14 are missing. If the row numbers are blue, you are dealing with a filter. If the numbers are black but jumping, you are dealing with hidden rows.
For those working with massive datasets, using the "Go To" feature can be helpful. Press Ctrl + G, type the cell reference of a hidden row (e.g., A11), and press Enter. Excel will move the active cell selection to that hidden row. You can then go to Home > Format > Unhide Rows to bring that specific area back into view.
If you frequently hide and unhide data for reporting, consider using the Grouping feature instead of the Hide feature. By selecting rows and going to Data > Group, you create a collapsible outline with a toggle button (+/-). This is much more intuitive than right-clicking and prevents the confusion of "missing" data.
Troubleshooting
If you have tried all the steps above and the rows still won't appear, check for the following issues:
Check for Hidden Sheets: Sometimes users think rows are hidden when in fact they are looking at a different sheet or a filtered version of a table. Ensure you are on the correct tab at the bottom of the window.
Verify Table Range: If your data is formatted as an official Excel Table (Ctrl + T), the table might have a specific range. Check if the rows are hidden outside the table boundaries or if the table has been shrunk. You can check this in the Table Design tab under Resize Table.
Inspect for VBA Macros: If you are using a corporate template, there may be a VBA macro running in the background that automatically hides rows based on certain conditions (e.g., hiding rows with zero values). Try disabling macros or checking the VBA editor (Alt + F11) to see if there is a "Worksheet_Change" event triggering the hiding of rows.
Test in a New Workbook: Copy the data (if possible) and paste it into a brand new workbook. If the rows are visible in the new file, the original workbook may have corrupted view settings or a complex set of protection rules that are interfering with the display.
Check Window Zoom and Scroll: It sounds simple, but ensure your zoom level isn't set so low that rows are blending together, or that you haven't scrolled into a "dead zone" of the sheet where rows were deleted rather than hidden. If the row numbers are missing entirely, you may have accidentally hidden the row/column headers via the View tab.
Frequently Asked Questions
Why is the Unhide option grayed out?
This usually happens because the worksheet is protected. Go to the Review tab and click Unprotect Sheet. If the workbook is shared or in a read-only mode, you may also be restricted from changing the visibility of rows.
Does Unhide work on filtered data?
No. Unhide only works on rows that were manually hidden. To show rows hidden by a filter, you must go to the Data tab and click Clear in the Sort & Filter group.
Can I unhide all rows at once?
Yes. Click the Select All triangle in the top-left corner of the grid, right-click any row header, and select Unhide. This applies the command to every row in the entire worksheet.
Why do my rows still look hidden after clicking Unhide?
The row height might be set to a very small number (like 0.1). To fix this, select the entire sheet, go to Home > Format > Row Height, and enter a standard value like 15.
Is there a keyboard shortcut to unhide rows?
On Windows, you can press Ctrl + Shift + ( (the open parenthesis key) after selecting the rows surrounding the hidden area. On Mac, the shortcut is Command + Shift + (.