"Closing columns" in Excel isn't a built-in term, but users typically mean either hiding columns (temporarily removing them from view) or deleting them (permanently removing them and shifting others). This guide covers both methods clearly and safely. Hiding preserves your data and formatting for easy restoration; deleting permanently removes data and cannot be undone unless you use Undo immediately.

What You'll Need

  • Microsoft Excel installed (any recent version: Excel 2016, 2019, 2021, Microsoft 365, or Excel for the web)
  • An open Excel workbook with columns you want to close
  • Basic familiarity with Excel interface (columns labeled A, B, C, etc., at the top)

Step-by-Step

  1. Open your Excel workbook containing the columns you want to close.
  2. Decide whether to hide or delete:
    • To hide columns (reversible, keeps data intact): Click and drag across column headers (A, B, C...) to select one or multiple adjacent columns you want to hide. Alternatively, hold Ctrl (Windows) or Command (Mac) and click individual column headers to select non-adjacent columns. Right-click any selected column header, then choose Hide from the context menu. The columns will disappear from view but remain in the workbook.
    • To delete columns (permanent removal unless undone): Click and drag to select the column(s) you want to remove. Right-click any selected column header, then choose Delete from the context menu. Excel will shift all columns to the right of the deleted column(s) one position to the left. Confirm the deletion—this action removes the data permanently unless you press Ctrl+Z (Windows) or Command+Z (Mac) immediately.
  3. Verify the result: If you hid columns, they won’t appear in the column header row, and you’ll see a gap in the header labels (e.g., A, B, E, F if C and D are hidden). If you deleted columns, the remaining columns shift left, and no gap appears.
  4. To unhide hidden columns: Click the column headers on either side of the hidden block (e.g., click A and E to select columns A and E if B–D are hidden). Right-click anywhere in the selection, then choose Unhide. All hidden columns between the selected ones will reappear.

Common Mistakes

  • Accidentally deleting instead of hiding: Choosing Delete removes data forever unless you undo quickly. Always ask yourself: "Do I need this data later?" If yes, hide instead.
  • Selecting the wrong columns: Dragging too far or too short can include unintended columns. Double-check the highlighted column letters before right-clicking. Use Shift+Click to extend or adjust selections precisely.
  • Forgetting to unhide before sharing: Hidden columns are visible to anyone who opens the file and knows how to unhide them. If data must stay private, delete or move it—not just hide it.
  • Deleting columns with formulas referencing them: Deleting a column breaks formulas that reference cells in that column, often resulting in #REF! errors. Use Find & Select > Go To Special > Objects or manually review formulas before deleting.

Tips

  • Use column grouping for quick collapse: If you frequently hide/unhide sets of columns, use Data > Group to create collapsible sections. Select your columns, go to the Data tab, click Group, and Excel adds a minus (−) button to collapse (hide) them instantly. Click the plus (+) to expand (unhide).
  • Keyboard shortcut for hiding: Select the column(s), press Alt, then H, I, C (on Windows). For Mac, use Command+Shift+0 (zero), but note this may conflict with other shortcuts depending on keyboard settings.
  • Unhide all at once: Click the triangle at the top-left corner (above row 1, left of column A) to select the entire sheet. Right-click any column header and choose Unhide to restore all hidden columns in the sheet.
  • Protect your sheet first: If you want to prevent accidental deletion, go to Review > Protect Sheet and set a password. This allows hiding/unhiding only if the sheet is unprotected.

Troubleshooting

  • "Hide" or "Delete" is grayed out in the right-click menu: This usually happens if the worksheet is protected. Go to Review > Unprotect Sheet (you may need the password). If the sheet isn’t protected, ensure you’ve selected at least one entire column—click the header, not a cell inside the column.
  • Columns reappear after unhiding: Double-check that you selected the correct surrounding columns before unhiding. If columns C and D are hidden, selecting A and B won’t unhide them—select A and E instead.
  • Deleted columns not recoverable with Undo: If you saved the workbook after deleting, Undo won’t restore the columns. Close the file without saving and reopen a previous version if available. Always save a backup before bulk deletions.
  • Hidden columns still visible in Print Preview: Hidden columns don’t print by default, but if they do, go to Page Layout > Print Titles, check the Sheet tab, and ensure no hidden columns are included in print areas. Also verify File > Options > Advanced > Display options for this worksheet doesn’t have "Show a zero in cells that have zero value" enabled, which can mislead you about visibility.
  • Using Excel for the web (browser version): Hiding works the same: select columns, right-click, choose Hide. Deletion works similarly. However, the Data > Group feature may be limited or unavailable in the web version—use the desktop app for advanced grouping.

Frequently Asked Questions

Can I hide columns without right-clicking?

Yes. Select the column(s), go to the Home tab, click the Format dropdown under Cells, choose Hide & Unhide, then select Hide Columns. To unhide, select adjacent columns around the hidden block and choose Unhide Columns from the same menu.

What’s the difference between hiding and deleting columns?

Hiding makes columns invisible but keeps all data and formatting intact—you can unhide them anytime. Deleting removes the column and its data permanently (unless undone immediately), shifting other columns to fill the gap. Use hiding for temporary layout adjustments; use deletion to permanently clean up unused columns.

Will hiding columns affect formulas or charts?

Yes, formulas and charts still reference hidden columns. If column C is hidden but used in a SUM formula, Excel calculates it normally. Charts including hidden data points will still plot them. To exclude hidden data, use functions like SUBTOTAL or AGGREGATE instead of SUM.

How do I prevent others from unhiding my columns?

Protect the worksheet: go to Review > Protect Sheet, check "Format columns," and set a strong password. Without the password, users cannot unhide columns or make structural changes. Note: protection doesn’t hide data from anyone who knows the password or opens the file in a different app.

Can I delete multiple non-adjacent columns?

Yes. Hold Ctrl (Windows) or Command (Mac) while clicking each column header to select them, then right-click and choose Delete. Excel will delete all selected columns and shift the remaining ones left. Be careful—deletions happen in one pass, so double-check selections.

Why do my columns reappear when I move the workbook?

Hidden columns don’t disappear when moving files—they’re saved with the workbook. If columns seem to "reappear," you likely opened a different version of the file (e.g., a backup), or the file was restored from a previous state. Always check the file path and modification date.