ElyxAI
rows columns

How to Hide Rows

Shortcut:Ctrl+9
Excel 2016Excel 2019Excel 365Excel Online

Learn how to hide rows in Excel to organize data, reduce clutter, and focus on relevant information. Hiding rows temporarily removes them from view while preserving all data and formulas, making spreadsheets cleaner and easier to navigate without deleting any content.

Why This Matters

Hiding rows improves spreadsheet readability and presentation by removing unnecessary details while maintaining data integrity for calculations. This skill is essential for creating professional reports and managing large datasets efficiently.

Prerequisites

  • Basic understanding of Excel rows and columns
  • Ability to select rows in a spreadsheet

Step-by-Step Instructions

1

Select the rows to hide

Click on the row number on the left margin and drag to select multiple rows, or Ctrl+click individual row numbers to select non-consecutive rows.

2

Open the context menu

Right-click on any selected row number to open the context menu.

3

Click Hide option

Select 'Hide' from the dropdown menu that appears.

4

Verify rows are hidden

Notice the row numbers now skip (e.g., 5, 6, 9, 10) and hidden rows are no longer visible on screen.

5

Optional: Unhide when needed

Select rows surrounding the hidden rows, right-click, and choose 'Unhide' to reveal them again.

Alternative Methods

Using the Format menu

Select rows, go to Home > Format > Hide & Unhide > Hide Rows for a menu-based approach instead of right-clicking.

Keyboard shortcut method

Select rows and use the keyboard shortcut Ctrl+9 to quickly hide selected rows without accessing menus.

Tips & Tricks

  • Select entire rows by clicking on the row header number to ensure consistent hiding across the sheet.
  • Use Ctrl+click to select non-consecutive rows before hiding for more flexible data organization.
  • Hidden rows are marked by a thicker line between visible row numbers—this indicates where hidden rows are located.

Pro Tips

  • Hide rows containing sensitive data before sharing spreadsheets to protect confidential information while preserving calculations.
  • Use outline levels (Data > Group > Auto Outline) to create collapsible row groups for more advanced hiding management.
  • Combine hidden rows with filters to create dynamic views that adapt to user needs without losing underlying data.

Troubleshooting

Cannot find hidden rows in my spreadsheet

Look for gaps in row numbering or thicker lines between row headers. Select the rows before and after the gap, right-click, and select 'Unhide' to reveal them.

Unhide option is greyed out

You must select at least one row adjacent to the hidden rows. Make sure you've selected the correct range by clicking on row numbers, not individual cells.

Hidden rows still appear in print preview

Hidden rows should not print; if they do, verify they are truly hidden by checking for row number gaps. If rows still print, they may not be fully hidden—repeat the hiding process.

Related Excel Formulas

Frequently Asked Questions

Does hiding rows delete the data?
No, hiding rows only removes them from view temporarily. All data, formulas, and calculations remain intact and functional in the hidden rows.
Can I hide non-consecutive rows at once?
Yes, use Ctrl+click to select multiple non-consecutive rows individually, then right-click and choose 'Hide' to hide them all at once.
Will hidden rows affect my calculations?
No, hidden rows are still included in formulas like SUM, AVERAGE, and other functions. Only visually hidden rows are excluded from some functions that ignore hidden data if configured.
How do I unhide all rows at once?
Select all cells using Ctrl+A, right-click, and choose 'Unhide' to reveal all hidden rows throughout the entire sheet.

This was one task. ElyxAI handles hundreds.

Try free for 7 days