If Excel won't let you hide columns, the most common cause is that the worksheet is protected, or the columns are part of a grouped range that's locked. You can usually fix it by unprotecting the sheet, checking for merged cells, or clearing the column's format. Here's the exact step-by-step process to get hiding working again.
What You'll Need
- Access to the Excel file (on Windows, Mac, or Excel for the web).
- The worksheet password, if the sheet is protected.
- Permission to edit the file (if it's shared, you may need owner or editor rights).
Step-by-Step
- Check if the sheet is protected. Go to the Review tab on the ribbon. If the Protect Sheet button is highlighted (or the Unprotect Sheet option appears), the sheet is protected. Click Unprotect Sheet and enter the password if prompted. If you don't have the password, you'll need to ask the file owner to unprotect it.
- Look for merged cells in the column you want to hide. Merged cells can prevent hiding. Select the entire column (click the column letter), then go to Home > Merge & Center and click Unmerge Cells. If there are multiple merged ranges, select the whole worksheet (Ctrl+A) and unmerge all of them, then try hiding again.
- Check for grouped columns. If the column is part of a group (you'll see a bracket and a minus sign above the column letters), click the minus sign to collapse the group, or select the columns and go to Data > Ungroup to remove the grouping entirely. Then try hiding.
- Clear the column's format. Sometimes a custom format or a hidden state from a previous session gets stuck. Select the column, go to Home > Format (under Cells) > Format Cells (or press Ctrl+1), and on the Protection tab, make sure the Locked checkbox is unchecked. Then go to Home > Format > Hide & Unhide > Hide Columns.
- Use the right-click method. Select the column(s) you want to hide, right-click on the column letter, and choose Hide. If the option is greyed out, the sheet is protected or the workbook is shared (see Troubleshooting below).
Common Mistakes
- Hiding the wrong column: If you have multiple columns selected, you might hide the wrong one. Double-check the column letters before hiding.
- Forgetting to unprotect the sheet: The #1 reason hiding fails. Always check the Review tab first.
- Merged cells across the column: If you have a merged cell that spans the column you're hiding, Excel will refuse. Unmerge all merged cells in that column.
- Using the filter instead of hide: If you're trying to hide a column that's part of a filtered range, it won't work. Clear the filter first (Data > Clear) and then hide.
Tips
- Use keyboard shortcuts: To hide a column, select it and press Ctrl+0 (Windows) or Cmd+0 (Mac). To unhide, select columns on both sides and press Ctrl+Shift+0 (Windows) or Cmd+Shift+0 (Mac).
- Group columns for easy collapse: Instead of hiding, use Data > Group to create a collapsible section. This is more user-friendly and avoids the hidden-column issue.
- Check the workbook's structure: If you can't hide any columns at all, the workbook might be protected (not just the sheet). Go to Review > Protect Workbook and unprotect it if needed.
- Use the Name Box to select a hidden column: If a column is already hidden and you want to unhide it, type the column letter (e.g., "C") in the Name Box (left of the formula bar) and press Enter. Then go to Home > Format > Hide & Unhide > Unhide Columns.
Troubleshooting
If the Hide option is greyed out: This almost always means the sheet is protected. Go to Review > Unprotect Sheet. If you don't have the password, contact the file owner. In a shared workbook (legacy), hiding columns is disabled; you'll need to copy the data to a new workbook or ask the owner to unshare it.
If you can hide but not unhide: Make sure you select columns on both sides of the hidden column. For example, if column B is hidden, select columns A and C, then right-click and choose Unhide. If that doesn't work, use the Name Box method described above.
If hiding works but the column reappears after saving: Check if the workbook is set to "Save As" with the "Make a backup" option, which can reapply old formatting. Also, ensure you're not in a shared workbook (Review > Share Workbook) – that feature disables hiding. Go to Review > Share Workbook and uncheck the box for sharing.
If you see a message "This action won't work on multiple selections": You're trying to hide non-adjacent columns. Select each column one at a time while holding Ctrl, then hide. Or, select a contiguous range, hide it, then repeat for other columns.
If the column is hidden but you can't see the hidden indicator: Sometimes the column width is set to 0, which effectively hides it. Select the column, go to Home > Format > Column Width, and set it to a positive number like 8.43.
Frequently Asked Questions
Why can't I hide a column in Excel?
The most common reasons are a protected sheet, merged cells, or the column being part of a group. Check the Review tab for protection, unmerge any merged cells in that column, and ungroup if needed.
How do I unhide a column if the right-click option is greyed out?
First, unprotect the sheet (Review > Unprotect Sheet). Then select columns on both sides of the hidden column, right-click, and choose Unhide. If that fails, use the Name Box to select the hidden column and then go to Format > Hide & Unhide > Unhide Columns.
Can I hide columns in Excel for the web?
Yes, but the option is under the Home tab > Format > Hide & Unhide > Hide Columns. Right-clicking also works. However, you can't protect a sheet in the web version, so if the file is protected, you'll need to open it in the desktop app.
What does "This action won't work on multiple selections" mean?
It means you selected non-adjacent columns (e.g., columns A and C) and tried to hide them together. Excel only allows hiding a single contiguous range at a time. Hide each column separately or select a contiguous range.
How do I hide columns without affecting the rest of the sheet?
Use grouping instead of hiding. Select the columns, go to Data > Group, and you'll get a collapsible bracket. This is easier for users to manage and doesn't have the same restrictions as hiding.
Why did my hidden columns become visible again after saving?
This can happen if the workbook is shared (legacy sharing) or if a macro re-applies formatting. Check Review > Share Workbook to see if sharing is on. Also, if you're using a template with VBA code, it might reset the view. Save the file as a new .xlsx file to remove any macros.