Excel Practice Test

โ–ถ

Understanding Hidden Cells in Excel

When someone tells you to "unhide cells" in Excel, they're almost always talking about hidden rows or hidden columns โ€” not individual cells. Excel doesn't actually have a feature to hide single cells in isolation. What it does have is the ability to hide entire rows, entire columns, and entire worksheets. When a row is hidden, every cell in that row disappears from view. When a column is hidden, every cell in that column vanishes. The data is still there; it hasn't been deleted. It simply isn't displaying on screen.

You can tell something is hidden by looking at the row numbers or column letters in Excel's header bar. If you see row numbers jumping from 3 to 7, rows 4, 5, and 6 are hidden. If you see columns jumping from C to G, columns D, E, and F are hidden. The header bar is your first diagnostic tool when something seems to be missing or out of order in a spreadsheet.

Hidden rows and columns are a common spreadsheet management technique. Analysts hide intermediate calculation rows to keep a model clean. Finance teams hide confidential columns when sharing a workbook externally. Dashboards hide raw data tabs to present only the clean output. All of this is legitimate and useful โ€” but it means that understanding how to unhide is an essential Excel skill, whether you're the person who hid the data or you've inherited a spreadsheet from someone else.

There's also a distinction between rows that are hidden and rows that are simply very small. If a row height is set to 1 or 2 pixels, it looks hidden but isn't โ€” the Unhide command won't work on it because Excel doesn't consider it hidden. In that case, you need to resize the row height manually. Keep this in mind as a troubleshooting step if the standard unhide method doesn't seem to be doing anything.

Hidden rows and columns don't affect Excel's calculations โ€” formulas that reference cells in hidden rows still calculate correctly. A SUM formula across a range that includes hidden rows still adds those hidden values. This is an important distinction: hiding is a display-only change, not a data change.

It's also why hidden rows and columns are used so often in financial models and dashboards โ€” you can keep the full calculation intact while presenting only the summary output to the end user. Understanding this display-only nature of hiding also explains why unhiding is always safe; you're just changing what's visible, not adding or removing data. This is a meaningful distinction from deleting โ€” deleted rows are gone permanently (unless you undo immediately), while hidden rows are always recoverable with the Unhide command no matter how long they've been hidden.

  • Unhide specific rows: Select rows above and below the hidden area โ†’ right-click โ†’ Unhide
  • Unhide specific columns: Select columns on both sides of the hidden area โ†’ right-click โ†’ Unhide
  • Unhide all rows: Ctrl+A to select all โ†’ Home tab โ†’ Format โ†’ Row Height โ†’ or right-click โ†’ Unhide
  • Unhide all columns: Ctrl+A to select all โ†’ right-click column header โ†’ Unhide
  • Unhide first row (row 1): Name Box โ†’ type A1 โ†’ press Enter โ†’ Format โ†’ Row โ†’ Unhide
  • Unhide column A: Name Box โ†’ type A1 โ†’ press Enter โ†’ Format โ†’ Column โ†’ Unhide
  • Unhide a sheet tab: Right-click any visible sheet tab โ†’ Unhide โ†’ select the sheet โ†’ OK
  • Keyboard shortcut โ€” rows: Ctrl+Shift+9 (select rows first)
  • Keyboard shortcut โ€” columns: Ctrl+Shift+0 (may not work on all systems)

How to Unhide Rows in Excel โ€” Step by Step

check

Look at the row number column on the left side of your spreadsheet. If you see a gap in the row numbers โ€” for example, the numbers jump from 5 to 9 โ€” rows 6, 7, and 8 are hidden. You'll also notice a slightly thicker line between the last visible row and the next visible row, which is Excel's visual indicator that rows are hidden between those two visible rows.

rows

Click the row number of the last visible row before the gap (row 5 in this example), then hold Shift and click the row number of the first visible row after the gap (row 9). This selects both visible rows and everything between them โ€” including the hidden rows. You must select at least one visible row on each side of the hidden rows for the Unhide command to work correctly.

settings

Right-click anywhere in the selected row header area โ€” on the blue highlighted row numbers on the left side of the spreadsheet. A context menu will appear. Choose 'Unhide' from the menu. The hidden rows will immediately reappear between the rows you selected. If you don't see the Unhide option, you may not have the rows correctly selected โ€” make sure you right-clicked on the row number header, not inside the cells.

user

With the rows selected, go to the Home tab on the Ribbon, click Format in the Cells group, hover over Hide & Unhide, then click Unhide Rows. This achieves the same result as the right-click method and is useful on tablets or touchscreens where right-clicking is less intuitive. The Format menu is also accessible via keyboard: Alt, H, O, U, R in sequence.

How to Unhide Columns in Excel

Unhiding columns works by the same logic as unhiding rows, but you work with the column letter headers at the top of the spreadsheet instead of row numbers on the left. The process is nearly identical: select the columns on both sides of the hidden area, then right-click and choose Unhide.

For example, if columns D and E are hidden, you'd click the column C header, hold Shift, then click the column F header to select both visible columns and the hidden ones between them. Right-clicking any part of the selected column headers and choosing Unhide will reveal columns D and E.

Alternatively, after selecting the surrounding columns, go to Home โ†’ Format โ†’ Hide & Unhide โ†’ Unhide Columns. Both methods work identically. If you prefer keyboard navigation, Alt, H, O, U, L (in sequence) triggers the same Unhide Columns command from the Home tab.

One useful technique when you need to unhide all columns in a workbook at once: press Ctrl+A to select the entire spreadsheet, then right-click any column header and choose Unhide. This reveals every hidden column regardless of where they are in the sheet. Use this approach when you've inherited a spreadsheet and aren't sure how many columns are hidden or where they are โ€” selecting everything first means you can't miss any of them.

The same logic applies to unhiding all rows at once: Ctrl+A to select all, right-click any row number header, choose Unhide. This is the fastest way to check whether a spreadsheet has any hidden rows without inspecting every row number sequence manually. After running this on an unfamiliar spreadsheet, scan the row numbers to see if everything is now sequential.

Troubleshooting: When Unhide Doesn't Work

๐Ÿ”ด Row height set to 0 (looks hidden, isn't)

If Unhide does nothing, the row may not be hidden โ€” it may have a row height of 0 or 1 pixel, which makes it invisible without being technically hidden. Select the surrounding rows, go to Home โ†’ Format โ†’ Row Height, and set a value like 15. This will make the row visible. This situation is common when rows are accidentally resized by dragging the row border instead of being properly hidden.

๐ŸŸ  Column A or Row 1 is hidden (special case)

You can't select the row or column before a hidden Row 1 or Column A because there's nothing there to click. Instead, type A1 in the Name Box (top-left box showing the current cell address), press Enter to navigate to cell A1, then go to Home โ†’ Format โ†’ Hide & Unhide โ†’ Unhide Rows (or Unhide Columns). This navigates to the hidden row or column directly so Excel knows what to unhide.

๐ŸŸก Sheet is protected โ€” Unhide option greyed out

If the Unhide option is greyed out or missing from the context menu, the sheet may be protected. Go to the Review tab and check for a 'Protect Sheet' button โ€” if it shows 'Unprotect Sheet' instead, the sheet is protected. Click Unprotect Sheet (you may need a password) and then try unhiding again. Protected sheets restrict row and column changes including showing and hiding.

๐ŸŸข Freeze panes look like hidden rows/columns

If rows or columns appear to be missing but the row/column numbers are sequential with no gaps, you may be looking at frozen panes rather than hidden rows or columns. Frozen rows and columns stay visible while you scroll, which can cause confusion when the frozen section and the scrollable section don't visually align. Go to View โ†’ Freeze Panes โ†’ Unfreeze Panes to remove them and restore the normal view.

Unhiding Worksheets and Protecting Hidden Data

๐Ÿ“‹ How to Unhide Sheet Tabs

Worksheets (the tabs at the bottom of the Excel window) can also be hidden independently of rows and columns. A hidden sheet is completely invisible โ€” its tab doesn't appear at the bottom of the screen โ€” but all its data is intact.

To unhide a sheet: right-click on any visible sheet tab at the bottom of the Excel window. Choose 'Unhide...' from the context menu. A dialog box will appear showing a list of all hidden sheets in the workbook. Select the sheet you want to unhide and click OK. Only one sheet can be unhidden at a time through this method โ€” if multiple sheets are hidden, you'll need to repeat the process for each one.

  • Can't find sheet tabs at all? If sheet tabs are completely missing, go to File โ†’ Options โ†’ Advanced โ†’ scroll to Display options for this workbook โ†’ check 'Show sheet tabs'
  • Sheet tab is greyed out? The workbook structure may be protected. Go to Review โ†’ Protect Workbook to check. If it's protected, you'll need the password to unprotect before you can unhide sheets.
  • Very hidden sheets: Some sheets are set to 'Very Hidden' via VBA (xlSheetVeryHidden). These don't appear in the Unhide dialog box at all and can only be unhidden through the VBA editor (Alt+F11) or by changing the sheet's Visible property to xlSheetVisible.

๐Ÿ“‹ Preventing Accidental Unhiding

If you want to hide rows, columns, or sheets in a workbook that will be shared with others โ€” and you don't want them to easily unhide the hidden content โ€” protect the sheet or workbook structure before sharing.

  • Protect a sheet: Review โ†’ Protect Sheet. Set a password and leave the 'Format rows' and 'Format columns' checkboxes unchecked โ€” this prevents users from changing row/column visibility without the password.
  • Protect workbook structure: Review โ†’ Protect Workbook. This prevents users from unhiding worksheets, moving sheets, or adding new sheets. The workbook still opens and works normally; users just can't modify the structure.
  • Use 'Very Hidden' for sensitive sheets: In the VBA editor (Alt+F11), set a sheet's Visible property to xlSheetVeryHidden. This hides it from the standard Unhide dialog, providing an extra layer of obscurity for sheets that contain sensitive calculations or data.
  • Note on security: Sheet and workbook protection in Excel is not strong encryption โ€” it's designed to prevent accidental changes, not determined users. For genuinely sensitive data, encrypt the workbook file itself with a file-open password (File โ†’ Info โ†’ Protect Workbook โ†’ Encrypt with Password).

Keyboard Shortcuts for Unhiding in Excel

Excel has keyboard shortcuts for hiding and unhiding rows and columns, though the unhide shortcut for columns has a notable limitation on Windows. For rows, Ctrl+Shift+9 unhides selected rows and is reliable across Excel versions and operating systems. Select the rows surrounding the hidden area first โ€” including at least one visible row on each side โ€” then press Ctrl+Shift+9.

For columns, the intended shortcut is Ctrl+Shift+0. However, this shortcut is disabled by default in many Windows configurations because it conflicts with the Windows system shortcut for changing keyboard input language. Whether Ctrl+Shift+0 works depends on your Windows language and keyboard settings โ€” many users find it doesn't work on their machine. If it doesn't, use the right-click โ†’ Unhide method or the Ribbon approach instead.

The most reliable keyboard approach for columns on Windows is the Alt key sequence: with the columns selected, press Alt, then H, then O, then U, then L in sequence (not simultaneously). This navigates through the Ribbon to Format โ†’ Hide & Unhide โ†’ Unhide Columns. It's slower than a shortcut but always works regardless of system settings. Practising these Alt sequences for common operations is worthwhile if you do a lot of keyboard-driven Excel work โ€” it can be faster than reaching for the mouse for frequent tasks.

For unhiding all rows or all columns at once, press Ctrl+A first to select the entire spreadsheet, then use the appropriate shortcut or right-click method. This ensures that every hidden row or column in the sheet is included in the selection, so nothing gets missed.

The corresponding hide shortcuts are Ctrl+9 to hide selected rows and Ctrl+0 to hide selected columns. Knowing both the hide and unhide shortcuts together is useful โ€” if you accidentally hide rows while working with Ctrl+9, you can reverse it immediately by selecting the surrounding rows and pressing Ctrl+Shift+9 without having to navigate any menus. These shortcuts work in Excel for Windows and Mac (with Cmd replacing Ctrl on Mac), making them consistent enough to build into your workflow once you've memorised them.

Unhide Checklist โ€” What to Try When You Can't See Your Data

Check the row numbers on the left for gaps โ€” if numbers jump from 3 to 7, rows 4-6 are hidden; select rows 3 and 7 together then right-click โ†’ Unhide
Check the column letters at the top for gaps โ€” if letters jump from C to G, columns D-F are hidden; select C and G together then right-click โ†’ Unhide
Try Ctrl+A to select everything, then right-click a row number header โ†’ Unhide to reveal all hidden rows at once
If row 1 or column A seems missing, type A1 in the Name Box (top-left), press Enter, then go to Home โ†’ Format โ†’ Hide & Unhide โ†’ Unhide Rows or Unhide Columns
If the Unhide option is greyed out, the sheet may be protected โ€” check Review โ†’ Unprotect Sheet and enter the password if prompted
If rows look hidden but Unhide does nothing, check if row height is 0 โ€” select surrounding rows, go to Format โ†’ Row Height, and set it to 15
Right-click any sheet tab and choose Unhide to check for hidden worksheets โ€” repeat for each sheet listed
Go to View โ†’ Freeze Panes โ†’ Unfreeze Panes if content looks missing but row/column numbers are sequential with no gaps

Best Practices for Hiding and Unhiding in Excel

Pros

  • Document what's hidden โ€” add a comment or note in a visible cell indicating which rows or columns are hidden and why, so anyone working with the spreadsheet later knows where to look
  • Use grouping (Data โ†’ Group) instead of hiding for rows and columns you'll need to show and hide frequently โ€” grouped rows and columns have an expand/collapse button that's much more intuitive than the Unhide process
  • Hide completed or reference rows at the end of a model rather than deleting them โ€” hiding preserves the data for reference while keeping the working view clean
  • Test your spreadsheet after hiding rows or columns to confirm that formulas referencing the hidden cells still calculate correctly โ€” hiding doesn't affect formula results, but it's worth verifying

Cons

  • Avoid hiding rows or columns that contain data you'll need to reference frequently โ€” the constant hide/unhide cycle is inefficient; consider moving reference data to a separate sheet instead
  • Don't rely on hidden columns as a security measure for sensitive data in shared workbooks โ€” anyone with basic Excel knowledge can unhide them in seconds; use sheet protection and passwords for data you genuinely need to restrict
  • Avoid sending workbooks to external recipients with hidden rows or columns containing internal data or calculations โ€” the recipient can always unhide them; delete the data or send a separate clean version instead

Using Groups Instead of Hiding for Better Control

Excel's grouping feature is a more user-friendly alternative to hiding for rows and columns you need to toggle regularly. Grouping adds a small expand/collapse button (a plus or minus sign) in the margin next to the rows or columns, making it obvious to any user that content can be shown or hidden โ€” and giving them a clear, one-click way to do it without right-clicking or navigating menus.

To group rows, select the rows you want to group, go to the Data tab, and click Group (or press Alt+Shift+Right Arrow). The grouping appears in the margin. Click the minus (-) button to collapse the group and hide those rows. Click the plus (+) button to expand and show them again. Multiple groups can exist at the same hierarchical level, and groups can be nested inside other groups for multi-level outline views.

Grouping is particularly useful in financial models where you might want to hide detailed monthly data while showing quarterly totals, or in project plans where you want to collapse completed phases while keeping future phases visible. The expand/collapse control is self-documenting โ€” anyone opening the spreadsheet can see immediately that there's more detail available beneath the summary view.

To remove grouping without unhiding the rows, select the grouped rows, go to Data โ†’ Ungroup (or press Alt+Shift+Left Arrow). The rows remain visible but lose the expand/collapse control. If you want to remove all groups in a sheet at once, go to Data โ†’ Ungroup โ†’ Clear Outline.

Excel also has an Auto Outline feature (Data โ†’ Group โ†’ Auto Outline) that automatically groups rows or columns based on summary formulas it detects in the sheet. If your spreadsheet uses SUM or SUBTOTAL formulas to create totals from ranges of detail rows, Auto Outline can detect these relationships and create the grouping structure for you automatically. This is particularly useful for large financial models with consistent formula patterns โ€” it can save significant manual work compared to defining groups row by row.

Groups also work well in combination with conditional formatting โ€” you can format summary rows differently from detail rows to create a clear visual hierarchy that makes sense whether the groups are expanded or collapsed. The combination of grouping for navigation and conditional formatting for visual distinction produces reports that are much more intuitive to navigate than flat spreadsheets with hidden rows.

Excel Practice Test โ€” Test Your Skills

Key Facts About Hidden Rows and Columns in Excel

Not deleted
Hidden rows and columns retain all data and formulas โ€” hiding is purely a display change. Formulas referencing hidden cells continue calculating normally.
Ctrl+A
Fastest way to select everything โ€” press Ctrl+A before right-clicking to unhide all hidden rows or columns in the entire sheet at once
Name Box
How to navigate to hidden Row 1 or Column A โ€” type A1 in the Name Box (top-left, showing current cell address), press Enter, then use Format โ†’ Unhide
Ctrl+Shift+9
Keyboard shortcut to unhide selected rows โ€” reliable across Excel versions on both Windows and Mac; Ctrl+Shift+0 for columns may not work on Windows
xlSheetVeryHidden
VBA property that hides sheets so they don't appear in the standard Unhide dialog โ€” requires VBA editor (Alt+F11) to reveal
Row height
If Unhide does nothing, check row height โ€” rows set to 0 or 1 pixel look hidden but aren't. Select rows, use Format โ†’ Row Height to fix.

Unhiding Cells in Excel on Mac

The steps for unhiding rows and columns on Excel for Mac are essentially the same as on Windows โ€” select the rows or columns surrounding the hidden area, right-click the selection, and choose Unhide. The Ribbon path is identical: Home โ†’ Format โ†’ Hide & Unhide โ†’ Unhide Rows or Unhide Columns.

Keyboard shortcuts differ slightly on Mac. The equivalent of Ctrl+Shift+9 for unhiding rows on Mac is Cmd+Shift+9. For columns, Cmd+Shift+0 is the intended shortcut, but as on Windows, this may conflict with a system shortcut depending on your Mac settings. If Cmd+Shift+0 doesn't work, use the Ribbon method or right-click instead.

One difference between Excel for Mac and Excel for Windows is in the context menu wording โ€” on Mac, right-clicking selected row numbers shows 'Show Rows' rather than 'Unhide' in some versions. These mean exactly the same thing. If you don't see 'Unhide', look for 'Show Rows' or 'Show Columns' instead.

On Excel for Mac, the Name Box method for revealing hidden Row 1 or Column A works the same way: click the Name Box in the top-left corner of the spreadsheet (the box showing the current cell address), type A1, press Return to navigate there, then use the Format menu to unhide. This approach works regardless of which Excel version or operating system you're using, which makes it a reliable fallback when other methods don't apply.

Excel for Mac and Excel for Windows use the same underlying file format (.xlsx), so workbooks with hidden rows or columns display and behave identically across platforms. A workbook with hidden rows created on Windows will show those same rows as hidden when opened on a Mac, and the unhide process on Mac will make them visible in both environments when the file is saved. Platform differences in shortcut keys don't affect the underlying hide/unhide state stored in the file โ€” only the keyboard commands you use to trigger those actions differ between operating systems.

Why Cells Appear Missing Even When Nothing Is Hidden

Sometimes data seems to be missing from Excel even though no rows or columns are actually hidden. There are several common causes that are easy to mistake for hidden content.

Filtering is the most frequent culprit. When a filter is active on a column, rows that don't match the filter criteria are hidden from view โ€” but they're not hidden in the traditional sense. The row numbers remain visible but show gaps, which looks exactly like hidden rows.

Look for the blue row numbers and the filter dropdowns in the column headers. To show all rows, go to Data โ†’ Clear (to remove the filter entirely) or click the filter dropdown and choose Select All. If blue row numbers appear without apparent filter dropdowns, check whether AutoFilter is enabled under the Data tab.

Scroll position can make data look missing on large spreadsheets. If you're on a sheet with thousands of rows and you've scrolled past the data, the blank area at the bottom looks like missing data. Press Ctrl+End to jump to the last cell with data in the spreadsheet โ€” this shows you the actual extent of the content and confirms whether data is missing or you're just looking in the wrong place.

Merged cells can appear to hide content. When cells are merged across a range and the content is wider than the column, overflow text may be hidden. Unmerging cells (Home โ†’ Merge & Center โ†’ Unmerge Cells) or widening the column will reveal the full content. Merged cells also affect certain operations like sorting and filtering, so resolving merges that cause confusion is generally a good practice in data tables that require those features.

White text on a white background is a less obvious case where content is technically present but invisible. If a cell looks blank but contains data (you can see content in the formula bar when the cell is selected), the font colour may be set to white. Select the cell, go to Home โ†’ Font Color, and change it to Automatic or black. This situation is sometimes used to create hidden-but-present content in dashboards โ€” text that drives formulas or conditional formatting without cluttering the visual layout.

Microsoft Excel Certification Practice Questions

Excel Unhide Cells Questions and Answers

How do I unhide rows in Excel?

Select the row above and the row below the hidden rows by clicking their row numbers while holding Shift. Right-click the selected row headers and choose Unhide. The hidden rows reappear immediately. Alternatively, with the rows selected, go to Home โ†’ Format โ†’ Hide & Unhide โ†’ Unhide Rows. To unhide all hidden rows at once, press Ctrl+A to select everything first, then right-click and choose Unhide.

How do I unhide columns in Excel?

Select the column to the left and the column to the right of the hidden columns by clicking their column letters while holding Shift. Right-click the selected column headers and choose Unhide. For all hidden columns at once, press Ctrl+A first, then right-click any column header and choose Unhide. The keyboard shortcut is Ctrl+Shift+0 for columns, though this doesn't work on all Windows systems โ€” use the right-click method if the shortcut fails.

How do I unhide row 1 or column A in Excel?

You can't select a row or column before row 1 or column A to use the standard unhide method. Instead, click the Name Box (the cell reference box in the top-left corner of the spreadsheet), type A1, and press Enter. This selects cell A1 even though row 1 or column A is hidden. Then go to Home โ†’ Format โ†’ Hide & Unhide โ†’ Unhide Rows (or Unhide Columns). The hidden row 1 or column A will reappear.

Why is the Unhide option greyed out in Excel?

The most common reason the Unhide option is greyed out is sheet protection. Go to the Review tab and click Unprotect Sheet โ€” if a password is required, you'll need to enter it. Once the sheet is unprotected, the Unhide option becomes available again. Another reason is that nothing is actually hidden in the selection โ€” make sure you've selected rows or columns that span a hidden area.

How do I unhide a sheet tab in Excel?

Right-click on any visible sheet tab at the bottom of the Excel window. Choose Unhide from the context menu. A dialog box appears showing all hidden worksheets. Select the one you want to show and click OK. If you don't see the Unhide option when right-clicking, the workbook structure may be protected โ€” check Review โ†’ Protect Workbook and unprotect it first.

Can hidden rows and columns be seen by people I share the file with?

Yes โ€” anyone who opens the Excel file can unhide rows, columns, and sheets using the same methods described above. Hidden content is not private. To prevent others from unhiding, protect the sheet with a password via Review โ†’ Protect Sheet and ensure the 'Format rows' and 'Format columns' options are unchecked. For genuinely sensitive data, remove it from the file before sharing rather than relying on hiding.
โ–ถ Start Quiz