Hiding cells in Excel for Mac is a quick way to declutter a sheet, keep sensitive formulas out of sight, or focus on the data that matters. This guide walks you through the exact menu steps to hide rows, columns, and individual cells, plus how to unhide them and what to watch out for.
What You’ll Need
- Excel for Mac (any recent version, including Microsoft 365 and Excel 2019 or later)
- A spreadsheet with the data you want to hide
Step-by-Step
Hide a Row
- Open your spreadsheet in Excel for Mac.
- Click the number on the far left of the row you want to hide. The whole row will highlight.
- Control-click (right-click) the selected row number.
- From the context menu, choose Hide Rows. The row disappears, and the row numbers above and below it are now adjacent (e.g., 3 and 5).
Hide a Column
- Click the letter at the top of the column you want to hide.
- Control-click (right-click) the selected column letter.
- Choose Hide Columns from the menu. The column vanishes, and the letters skip from the one before to the one after (e.g., B to D).
Hide Multiple Rows or Columns at Once
- To hide several adjacent rows, click the first row number, hold Shift, then click the last row number. All rows in between are selected.
- To hide non-adjacent rows, click the first row number, hold Command (⌘), then click each additional row number.
- Repeat the same process for columns using their letters.
- Right-click any selected row number or column letter and choose Hide Rows or Hide Columns.
Hide Individual Cells (Not Rows or Columns)
Excel does not have a direct “hide cell” command. Instead, you hide the cell’s contents by making the text invisible or by covering it. The most common method is to use custom number formatting:
- Select the cell or range of cells you want to hide.
- Go to the Format menu at the top of your screen and choose Cells (or press Command + 1).
- In the Format Cells dialog, click the Number tab.
- Under Category, choose Custom.
- In the “Type” box, delete whatever is there and type three semicolons:
;;; - Click OK. The cell’s value is still there (you can see it in the formula bar), but it no longer displays in the cell.
Another way is to change the font color to match the cell’s fill color (e.g., white text on a white background). This is simpler but less robust—if someone changes the fill, the text becomes visible.
Unhide Rows or Columns
- Select the rows or columns on both sides of the hidden area. For example, if row 4 is hidden, click row 3’s number, hold Shift, and click row 5’s number.
- Right-click the selection.
- Choose Unhide Rows or Unhide Columns.
Common Mistakes
- Hiding the wrong range: When hiding multiple rows, it is easy to accidentally include the header row. Double-check the selected row numbers before right-clicking.
- Using “Delete” instead of “Hide”: Pressing the Delete key removes the data permanently. Hiding only hides it. Always right-click and choose Hide.
- Forgetting hidden cells affect formulas: Hidden rows and columns still participate in calculations. If you hide a row with a SUM, the total still includes that row. This is often what you want, but it can surprise you.
- Hiding cells with the
;;;format and then copying: When you copy and paste a cell with custom formatting, the formatting travels with it, so the pasted cell also appears blank. That may be fine, but be aware of it.
Tips
- Use groups instead: If you frequently hide and unhide the same rows or columns, select them, then go to Data menu > Group > Group Rows (or Columns). This adds a small +/− button in the margin so you can collapse and expand without right-clicking.
- Check for hidden data before printing: Hidden rows and columns do not print by default. If you want them printed, you must unhide them first.
- Protect the sheet: Hiding is not security. Anyone can unhide rows or columns. If you need to keep formulas truly private, use Review > Protect Sheet and check the box that prevents users from formatting or unhiding rows/columns.
- Use the Name Box to jump to hidden cells: If you know a cell’s address (e.g., C5) and it is in a hidden column, type
C5in the Name Box (left of the formula bar) and press Return. Excel will select it, and you can see its value in the formula bar.
Troubleshooting
- Unhide option is grayed out: This usually means you did not select rows or columns on both sides of the hidden ones. Click the row number above and the row number below, then right-click. If you are trying to unhide row 1, click the row number 2 (or the top-left corner box) and then right-click.
- Hidden cells still show in the formula bar: That is normal. Hiding only affects display. To prevent someone from seeing the formula, you must protect the sheet and check “Hidden” in the Format Cells > Protection tab, then turn on sheet protection.
- Rows or columns will not unhide: If you see a thick double line where the hidden row should be, try dragging that line. Select the rows on both sides, place your cursor on the boundary between them, and drag down (or right) to reveal the hidden rows.
- Hidden cells reappear when you filter: Filtering can temporarily hide rows. If you applied a filter and rows are missing, click the filter icon in the column header and select “Clear Filter” to bring them back.
Frequently Asked Questions
Can I hide a single cell without hiding the whole row or column?
No. Excel only hides entire rows or columns. To hide a single cell’s contents, use custom formatting (;;;) or font color matching.
Does hiding a row affect my formulas?
Yes. Hidden rows and columns are still included in calculations like SUM, AVERAGE, and COUNT. Only filtered rows are excluded from some functions like SUBTOTAL.
How do I unhide all rows at once?
Click the square at the top-left corner of the sheet (where row numbers and column letters meet) to select the entire sheet. Then right-click any row number and choose Unhide Rows. Do the same for columns.
Why do my hidden columns still appear when I export to PDF?
By default, hidden columns and rows are not printed or exported. If they appear, check that they are actually hidden (the column letters should skip) and that you haven’t set the print area to include them.
Is hiding cells the same as protecting them?
No. Hiding only makes data invisible. Anyone can unhide it. Protecting the sheet (Review > Protect Sheet) is what prevents others from unhiding or editing.
Can I hide rows based on a condition (like a filter)?
Yes. Use Data > Filter. This hides rows that don’t match your criteria. Unlike manual hiding, filtered rows are excluded from SUBTOTAL calculations and can be easily cleared.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- Fix Windows 10 Wi-Fi Not Connecting: Step-by-Step
- Scaling Headless Chrome: A Practical Guide
- Fix Windows Upgrade Error 0x80090011
- Fix Microsoft Store Apps Not Updating
- v0 Alternatives: Which Fits Your Web App Build?9.26 yd³
- Fix Hard Disk Error 0x80071ac3