ExcelReady
CourseFunction guidesBlog
Start freeStart learning for free
ExcelReady

Be Excel-ready before the interview. Hands-on practice in your browser, with instant feedback.

Learn

  • Course
  • Function guides
  • Blog

Product

  • Certificate

Company

  • Editorial policy
  • Contact
  • Terms
  • Privacy

© 2026 ExcelReady. All rights reserved.

  1. Blog
  2. Productivity
  3. Hide and Unhide Rows and Columns in Excel

Hide and Unhide Rows and Columns in Excel

By ExcelReady Team·Updated October 30, 2026·5 min read

The short answer

To unhide rows in Excel, select the rows above and below the hidden ones, right-click a row number and choose Unhide. To unhide everything, select the whole sheet first. To hide rows, select them and press Ctrl+9 or right-click and choose Hide. Hidden rows still count in SUM; use SUBTOTAL(109,...) to total only the visible ones.

Key takeaways

  • Hide: select rows or columns, right-click the header and choose Hide (Ctrl+9 for rows, Ctrl+0 for columns).
  • Unhide: select the rows or columns on both sides of the gap, right-click and choose Unhide.
  • Select the whole sheet first to unhide every row and column at once.
  • Hidden rows are still included in SUM; SUBTOTAL(109, range) adds only the visible rows.
  • Hiding is not security: anyone can unhide the data unless the workbook structure is protected.
On this page+
  1. How to tell that rows or columns are hidden
  2. How to hide rows and columns
  3. How to unhide rows in Excel
  4. How to unhide all rows and columns at once
  5. How to unhide row 1 or column A
  6. When Unhide doesn't work
  7. Do hidden rows count in SUM?
  8. Hide or group?
  9. Practise it

To unhide rows in Excel, select the rows on both sides of the hidden ones, right-click and choose Unhide. Hiding works the same way in reverse, and both have keyboard shortcuts. This guide covers hiding and unhiding rows and columns, the awkward cases like row 1 and column A, and how hidden rows affect your totals.

How to tell that rows or columns are hidden#

Hidden rows and columns don't show any warning, but the headers give them away. Look for a jump in the row numbers (row 4 followed by row 7) or the column letters (C followed by F). Between them, the border line is slightly thicker.

Filtered rows look similar, but there's a difference: when a filter is on, the row numbers turn blue and the header row shows filter buttons. Filtered rows come back with Data > Clear, not with Unhide. The Filter a table lesson covers filters in detail.

How to hide rows and columns#

  1. Select the rows or columns. Click a row number or column letter; hold Shift and click another to select a block, or hold Ctrl (Mac: ⌘) to pick separate ones.
  2. Right-click any selected header and choose Hide.

Keyboard shortcuts on Windows:

ActionWindowsMac
Hide rowsCtrl+9Control+9
Hide columnsCtrl+0Control+0
Unhide rows (in the selection)Ctrl+Shift+9Control+Shift+9
Unhide columns (in the selection)Ctrl+Shift+0 (often blocked, see below)Control+Shift+0

The shortcuts work on whole rows or columns, but you don't need to select the whole row first: Ctrl+9 hides the rows of whatever cells are selected. To select whole rows from the keyboard, press Shift+Space; for columns, Ctrl+Space. The Select ranges with Shift lesson practises both.

The ribbon route is Home > Format > Hide & Unhide, which lists Hide Rows, Hide Columns, Unhide Rows and Unhide Columns.

How to unhide rows in Excel#

  1. Select the rows above and below the hidden rows. For hidden rows 5 and 6, select rows 4 to 7.
  2. Right-click any of the selected row numbers.
  3. Choose Unhide.

Columns work the same way: to show hidden columns D and E, select columns C to F, right-click a column letter and choose Unhide.

You can also point just below the thick border in the headers until the pointer becomes a split double arrow, then drag down to show the hidden rows again.

Why Ctrl+Shift+0 doesn't unhide columns#

On many Windows computers, Ctrl+Shift+0 does nothing because Windows reserves Ctrl+Shift for switching keyboard languages. Instead of changing system settings, use the right-click Unhide command or Home > Format > Hide & Unhide > Unhide Columns.

How to unhide all rows and columns at once#

  1. Click the Select All button, the small triangle where the row numbers and column letters meet. Or press Ctrl+A (Mac: ⌘A) once or twice until the whole sheet is selected.
  2. Right-click any row number and choose Unhide.
  3. Right-click any column letter and choose Unhide.

This is a good first step when you receive a file from someone else and want to see everything in it.

How to unhide row 1 or column A#

When the first row or column is hidden, there's nothing above or to the left to select. Use the Name Box:

  1. Click the Name Box (left of the formula bar), type A1 and press Enter. The hidden cell is now selected, even though you can't see it.
  2. Go to Home > Format > Hide & Unhide > Unhide Rows (for row 1) or Unhide Columns (for column A).

When Unhide doesn't work#

If the rows stay hidden, check these causes:

  • They are filtered, not hidden. Blue row numbers mean a filter. Use Data > Clear, or press Ctrl+Shift+L to turn filters off.
  • The row height is tiny. A row set to a height of, say, 0.5 looks hidden but isn't. Select the rows around it and set Home > Format > Row Height to 15.
  • The sheet is protected. Unhide is greyed out on a protected sheet that doesn't allow formatting. Go to Review > Unprotect Sheet. Our guide to protecting a sheet and locking cells explains the settings.
  • The rows are grouped and collapsed. If you see a + button in the margin, click it to expand the group.

Do hidden rows count in SUM?#

Yes. SUM adds every cell in its range, whether you can see it or not. That can surprise you when you hide rows and the total doesn't change.

To total only the visible rows, use SUBTOTAL with function number 109:

Excel formula
=SUBTOTAL(109,B2:B7)

109 means SUM, ignoring hidden rows. With the sample sales in B2:B7, the visible total is 89,300 with nothing hidden; hide the Online row and it drops to 67,650. (Function number 9 also sums, but it only skips rows hidden by a filter, not rows you hid by hand.)

When you copy a range with hidden rows, Excel copies the hidden rows too. To copy only what you see, select the range and choose Visible cells only in Go To Special, or press Alt+; on Windows, then copy.

Hide or group?#

For rows you hide and show often, such as monthly detail under a quarterly total, grouping is easier. Select the rows and go to Data > Group (Windows shortcut: Alt+Shift+→). A + and − button appears in the margin, so anyone can expand or collapse the detail with one click.

Remember that hiding is not protection. Anyone can unhide rows, so don't rely on it to keep data private. Hidden rows and columns also don't print, which is useful for working notes; see how to print a sheet neatly.

Quick hide and unhide is the kind of skill that makes you look fluent in a test; our list of shortcuts interviewers notice has more, and Excel skills for admin jobs covers the tasks where you'll use them.

Practise it#

Try the SUBTOTAL exercise on this page, then practise selecting whole rows and columns with Shift+Space and Ctrl+Space in a live spreadsheet. The Filter a table lesson shows how filtering hides rows and how SUBTOTAL totals only what's visible.

Try it yourself

This is a live spreadsheet. Type the formula in the green cell and press Enter.

Rows in this list may be hidden while you review it. In B8, total only the visible rows with =SUBTOTAL(109,B2:B7). With nothing hidden yet, it matches SUM.

fx
ABCD
1
Region
Sales
2
North
18400
3
South
12950
4
East
15200
5
West
9800
6
Central
11300
7
Online
21650
8
Visible total
9
10
11

Tip: 109 tells SUBTOTAL to SUM and to skip rows you have hidden. The range is the sales, B2 to B7.

Practise this in a lesson

LessonFreeSelect ranges with ShiftHold Shift with the arrow keys to select as you go, then grab whole columns, rows and tables in one keystroke.LessonFilter a tableTurn on filter buttons with Ctrl+Shift+L, filter by one or several values and by a number condition, total and count only the visible rows with SUBTOTAL, then clear the filters.

Frequently asked questions

How do I unhide all rows in Excel?

+

Click the Select All button where the row numbers and column letters meet (or press Ctrl+A), then right-click any row number and choose Unhide. Do the same with a column letter to unhide all columns.

How do I unhide row 1 or column A?

+

There is no row above row 1 to select. Type A1 in the Name Box and press Enter, then go to Home > Format > Hide & Unhide > Unhide Rows (or Unhide Columns).

What is the shortcut to unhide rows in Excel?

+

On Windows, Ctrl+Shift+9 unhides rows within the selection. Ctrl+Shift+0 is meant to unhide columns but is often blocked by a Windows keyboard setting, so use right-click > Unhide instead.

Why can't I unhide rows in Excel?

+

The rows may be filtered rather than hidden, so clear the filter with Data > Clear. They may have a tiny row height, so set Home > Format > Row Height. Or the sheet may be protected, so unprotect it first.

Does SUM include hidden rows?

+

Yes. SUM adds every cell in the range, hidden or not. To add only the visible cells, use =SUBTOTAL(109, range) or AGGREGATE.

Sources

  • Hide or show rows or columns - Microsoft Support
  • SUBTOTAL function - Microsoft Support

Written and checked by the ExcelReady Team. First published October 30, 2026. The practice exercise runs in the same formula engine as our lessons. Found a mistake? Read our editorial policy or email hello@excelready.app.

On this page

  1. How to tell that rows or columns are hidden
  2. How to hide rows and columns
  3. How to unhide rows in Excel
  4. How to unhide all rows and columns at once
  5. How to unhide row 1 or column A
  6. When Unhide doesn't work
  7. Do hidden rows count in SUM?
  8. Hide or group?
  9. Practise it

Keep reading

Productivity· 5 min read

Go To Special in Excel: Select Blanks, Formulas and More

Go To Special selects every cell of one kind at once, such as blanks, formulas, constants, errors or visible cells only. Press F5 (or Ctrl+G), click Special, choose the type and click OK. Select a range first to search only that range. It's also on Home > Find & Select > Go To Special.

Productivity· 5 min read

Fill Blank Cells With the Value Above in Excel

To fill blank cells with the value above, select the column, press F5, click Special, choose Blanks and click OK. Then type =, press the up arrow and press Ctrl+Enter (Mac: Control+Return). Every blank now copies the cell above it. Finish by copying the column and pasting it as values, so the formulas become fixed text.

Tests & careers· 5 min read

Excel Skills for Admin and Office Jobs

The core Excel skills for admin jobs are entering and editing data quickly, moving and selecting with the keyboard, totals with SUM, counts with COUNTIF, sorting and filtering lists, and clear formatting for currency, dates and headers. Add SUMIF and a simple lookup and you can handle most trackers, logs and reports an office uses.

Don't just read about Excel. Do it.

Practise real formulas in a live spreadsheet with instant feedback. The first lessons are free, with no download.

Start learning for free