In Excel: select the row numbers, right-click and choose Hide; to bring them back, select the rows around the gap (or Ctrl+A for the whole sheet) and choose Unhide, or use Home ▸ Format ▸ Hide & Unhide.
Click a row number and drag (or Ctrl-click) to select the whole rows you want to hide.
Right-click the selection and choose Hide, or use Home ▸ Format ▸ Hide & Unhide ▸ Hide Rows.
To unhide a few, select the rows immediately above and below the gap, right-click and choose Unhide.
To unhide every row at once, press Ctrl+A, then Home ▸ Format ▸ Hide & Unhide ▸ Unhide Rows.
What this does
Hiding a row collapses it out of view without deleting anything — the data, formulas and any totals that reference it all keep working, the row is simply not shown. You select whole rows by their numbers, right-click and pick Hide, and a doubled border marks where rows are missing. Unhiding reverses it: select the rows on either side of the gap and choose Unhide. To reveal every hidden row at once, select the entire sheet with Ctrl+A first. Most people learn this as a sequence of clicks and forget it by next week; learning it as a pattern instead is what lets you apply it to the next, slightly different version of the problem without starting from scratch. That is the difference this page is trying to make. For “cannot unhide rows in excel”, the reliable version is a short checking loop, not just the first command that appears to work. Run it on a deliberately small range first, watch how the affected rows change, and only then apply the same setup to the full sheet. When this is a ribbon command, the selection matters more than the button: confirm the range, apply the command, then spot-check the output before saving. That is what makes a layout choice that keeps the sheet readable and sortable useful in real work: repeatable, auditable, and not dependent on memory or luck.
A worked example
A report has detail in rows 5–8 you want out of the way. Click row header 5, drag to row 8 to select all four, right-click and choose Hide — rows 5 to 8 vanish and the numbering jumps from 4 straight to 9. Later, to bring them all back, press Ctrl+A to select the whole sheet, then Home ▸ Format ▸ Hide & Unhide ▸ Unhide Rows, and rows 5–8 reappear exactly as they were. Hide rows to tuck away detail, helper calculations or seasonal entries without losing them — a cleaner print-out, a tidier review, a report that shows only the summary. Because nothing is deleted, you can unhide and get every row back exactly as it was whenever you need it. If there is any chance you will reuse this, drop it into a small template tab right now: a labelled input area on the left and the formula beside it, checked once against the tool above. Next time the same question comes up, the answer is a single paste away instead of a rebuild from memory.
In Google Sheets
Everything above works in Google Sheets too. Excel and Sheets share the formula syntax used here; only the surrounding menus are arranged differently. That portability is deliberate — learn it once and it follows you between the two tools and across Windows and Mac. Nothing on this page is behind a login: the tool runs entirely in your browser, the formula is shown in full with one-click copy, and the steps work the same on Windows and Mac. That is the whole promise here — the exact answer, a way to prove it on your own numbers, and just enough context to make it stick. If you take one thing from this page on “cannot unhide rows in excel”, make it the habit rather than the keystrokes: set the problem up with labelled inputs, reference those cells, and let Excel do the recomputing. Bookmark the page for the syntax, but do the example once in a blank sheet and check it against the tool above — five minutes of hands-on practice fixes the method in memory far better than re-reading, and it surfaces the small snags while they are still harmless. After that the technique is genuinely yours: faster than searching for it again, and reliable enough to drop into work that other people depend on.
Common mistakes
- Selecting cells instead of whole row headers, so Hide is greyed out or hides the wrong thing.
- Forgetting hidden rows still count in
SUMand other ranges — hiding does not exclude them from formulas. - Trying to unhide row 1 by selecting around it (there is no row above) — instead select from row 1 down, or use the Name Box and Unhide Rows.
- Confusing hiding with filtering; a filter hides rows by condition and is cleared differently from a manual Hide.
Frequently asked questions
How do I unhide all rows at once?
Select the entire sheet with Ctrl+A (or click the corner box above row 1), then Home ▸ Format ▸ Hide & Unhide ▸ Unhide Rows reveals every hidden row in one step.
Do hidden rows still affect my totals?
Yes — SUM and most functions still include hidden rows. Use SUBTOTAL or AGGREGATE if you need a total that ignores hidden rows.
How do I unhide the very first row?
There is no row above row 1 to select, so type A1 in the Name Box to land there, then Home ▸ Format ▸ Hide & Unhide ▸ Unhide Rows.