Hiding data in Excel lets you conceal rows, columns, or cells from view while keeping the information intact for calculations or protected access. This is useful for sensitive figures, intermediate formulas, or organizing complex spreadsheets. No special tools are needed—this can be done with built-in Excel features on Windows and Mac.

What You'll Need

  • Microsoft Excel (2010 or later, on Windows or Mac)
  • A workbook with data you want to hide
  • Basic navigation knowledge (selecting rows, columns, and cells)

Step-by-Step

  1. Open your Excel workbook and navigate to the sheet containing the data you wish to hide.
  2. To hide a row: Click the row number on the left side of the sheet to select the entire row. Right-click the selected row number and choose Hide from the context menu. Alternatively, select the row, then go to the Home tab, click Format in the Cells group, and choose Hide & Unhide > Hide Rows.
  3. To hide a column: Click the column letter at the top of the sheet to select the entire column. Right-click the selected column letter and choose Hide. Or, go to the Home tab, click Format, then Hide & Unhide > Hide Columns.
  4. To hide specific cells without hiding entire rows or columns: Select the range of cells you want to hide. Right-click and choose Format Cells. Go to the Protection tab and check the box for Hidden. Click OK. Note: This only hides the formula or content when the sheet is protected. You must protect the sheet next.
  5. To protect the sheet so hidden cells remain concealed: Go to the Review tab and click Protect Sheet. In the dialog box, ensure Protect worksheet and contents of locked cells is checked. You may optionally set a password to prevent others from unprotecting the sheet. Click OK. If you set a password, confirm it when prompted.
  6. To unhide rows or columns later: Select the rows or columns adjacent to the hidden ones. For example, if row 5 is hidden, select rows 4 and 6. Right-click and choose Unhide. For columns, select the columns to the left and right of the hidden column, right-click, and choose Unhide.
  7. To unprotect a sheet: Go to the Review tab and click Unprotect Sheet. If a password was set, enter it when prompted.

Common Mistakes

  • Forgetting to protect the sheet after marking cells as hidden. Without protection, users can still see formulas even if the Hidden box is checked.
  • Hiding rows or columns that contain formulas referenced elsewhere. The formulas still calculate correctly, but users may not realize why results change if they unhide later.
  • Using cell hiding (via Format Cells > Hidden) without protecting the sheet, which renders the setting useless.
  • Trying to hide individual cells in the middle of a row or column without hiding the entire row or column. Excel doesn’t allow partial hiding of cells—only entire rows or columns can be hidden visually.
  • Setting a password and then forgetting it. There is no built-in recovery for forgotten Excel sheet passwords.

Tips

  • Use column hiding to conceal intermediate calculation columns. For example, hide column C if it contains a formula like =A1*B1 and you only want to show the final total in column D.
  • Combine hiding with cell formatting. Change the font color of sensitive data to match the background (e.g., white text on white background) and then hide the row/column as an extra layer—but this is not secure and should not replace proper protection.
  • Use the Unhide keyboard shortcut: Select the adjacent rows or columns and press Ctrl+Shift+9 (Windows) or Cmd+Shift+9 (Mac) to unhide rows. For columns, use Ctrl+Shift+0 (Windows) or Cmd+Shift+0 (Mac).
  • When hiding rows used in charts, check that the chart data range still includes the hidden rows. Excel will still include hidden data in chart calculations unless you manually adjust the source range.
  • Use named ranges for hidden data to reference it in formulas without exposing its location. This keeps formulas cleaner and less prone to error.
  • Always test your hidden data after protecting the sheet. Try typing in a cell that should be locked to confirm it’s truly protected.

Troubleshooting

  • The Hide option is grayed out. This usually means you’ve selected multiple non-contiguous rows or columns. Deselect everything and click only on one row or column at a time.
  • I hid a row but can still see the data. You likely forgot to protect the sheet after marking cells as Hidden. Go to Review > Protect Sheet and enable protection.
  • Unhide doesn’t work. Make sure you’ve selected the correct adjacent rows or columns. If row 3 is hidden, you must select both row 2 and row 4 before right-clicking to unhide. If you select only one side, Excel won’t detect the hidden row.
  • Cells still show formulas after protection. Ensure the cells were set to Hidden before protecting the sheet. Also, check that the Locked box is checked under Format Cells > Protection (it’s checked by default).
  • My password doesn’t work to unprotect. If you didn’t set a password but Excel asks for one, the sheet may have been protected by a different user or file copy. Try opening a backup or previous version. There is no official way to recover a lost password—Excel does not store it.
  • Hidden columns appear as narrow lines. This is normal. Hover your mouse between the column headers where the hidden column is. When the cursor turns into a double-sided arrow, click and drag to reveal the column.

Frequently Asked Questions

Can I hide data so others can’t see it at all?

Yes, but only if you protect the sheet after marking cells as Hidden. Hiding rows or columns alone doesn’t prevent someone from un-hiding them. Protection is required for true concealment.

Does hiding data affect formulas or calculations?

No. Excel includes hidden rows, columns, and cells in all calculations, charts, and pivot tables. Only the visual display is affected.

Can I hide a single cell without hiding the whole row or column?

No. Excel does not allow hiding individual cells. You can only hide entire rows or columns. To conceal content in a single cell, you must change its font color to match the background or use protection with a hidden format.

Is hiding data in Excel secure?

It’s not encryption. Anyone with access to the file can unhide rows/columns or unprotect the sheet if no password is set. For true security, use Excel’s password protection to encrypt the entire file under File > Info > Protect Workbook.

What’s the difference between hiding rows and protecting cells as Hidden?

Hiding rows/columns removes them from view but can be undone by anyone. Marking a cell as Hidden and protecting the sheet prevents the formula from appearing in the formula bar, even if the cell is selected.

Can I hide data on Excel Mobile?

Yes. The same steps work on Excel for iOS and Android. Tap and hold a row or column header to select, then tap the three-dot menu and choose Hide. To protect a sheet, tap Review > Protect Sheet and set a password if needed.