You can usually fix this by selecting the hidden columns first, using the Delete key, or unlocking the sheet if it is protected. The issue is almost always that the data is hidden, the sheet is password protected, or Excel is stuck on a specific calculation.

What You'll Need

  • A computer running Microsoft Excel (Desktop or Web version).
  • Access to the spreadsheet file.
  • Basic knowledge of keyboard shortcuts (Ctrl + Shift + Arrow keys).

Step-by-Step

  1. Check for Hidden Columns. Sometimes a column is not locked, but it is simply hidden from view. Right-click on any visible column letter header (like A or B) and select Unhide. If the column reappears, you can now select it and press Delete.
  2. Select the Entire Column. Click the column header letter at the very top of the column you want to delete. If the column is hidden, right-click the adjacent visible column and choose Unhide to reveal it. Once visible, click the header again to select it.
  3. Use the Keyboard Shortcut. With the column selected, press the Delete key on your keyboard. This is the fastest method and works in almost all versions of Excel.
  4. Try the Right-Click Menu. If the keyboard shortcut fails, right-click the column header again and select Delete from the context menu. Excel will remove the selected columns.
  5. Check for Locked Cells (Sheet Protection). If the Delete key does nothing or gives an error, your worksheet might be protected. Go to the Home tab on the ribbon and click the Format button in the Cells group. Select Protect Sheet. If a dialog appears asking for a password, the sheet is protected. You cannot delete columns unless you unprotect the sheet. If you do not know the password, this method will not work without using third-party recovery tools, which are not recommended for financial data.
  6. Unprotect the Sheet. If you know the password, enter it to unprotect the sheet. Alternatively, if you created the file yourself, check if the file is saved as a Read-Only or Template. Saving it as a regular Excel Workbook (xlsx) usually removes protection. Once unprotected, try deleting the columns again.
  7. Check for Merged Cells. If the column you are trying to delete contains merged cells, Excel may block the deletion. Select the entire range of cells involved in the merge and click Format > Merge & Center again to unmerge them. Once unmerged, you can delete the column.
  8. Ensure No Formulas Are Referencing the Column. If other formulas in the sheet reference the column you are trying to delete, Excel will warn you that the data will shift. For example, if Column B has data in rows 1-100, and you try to delete Column B, any formula in Column C that references Column B (e.g., =B2) will result in a #REF! error. You must update these formulas or copy the data to a new location before deleting the original column.
  9. Check for External Links. Sometimes a spreadsheet is set up to pull data from an external file. If the external file is missing or the link is broken, Excel may become unresponsive or prevent changes. Go to the Data tab and click Edit Links. If any links are listed, you can choose to Break Link if you no longer need the external data source.

Common Mistakes

One of the most common mistakes is trying to delete a hidden column without unhiding it first. If you cannot see the column, the selection highlight will not appear when you click the header, and pressing Delete will do nothing. Always right-click and unhide before attempting to delete.

Another frequent error is attempting to delete a column that contains data which is required for the integrity of the spreadsheet. For instance, if you have a table with a header row and data in the rows below, deleting the header column without updating the formulas will break the entire document. Always ensure that the data is backed up or that the formulas are updated before removing columns.

Tips

Use the Ctrl + Shift + Arrow Keys shortcut to quickly select all data in a column without clicking through every single cell. This is much faster and reduces the chance of accidentally selecting a blank cell that might be causing an issue.

If you are working with a very large dataset, try to save your work frequently. Large files can sometimes become corrupted or slow down, causing Excel to behave unpredictably. Closing and reopening the file can sometimes reset the program's state and resolve the issue.

Troubleshooting

If you have followed the steps above and Excel still will not delete the columns, try the following troubleshooting steps.

Restart Excel. Close the application completely and reopen it. This clears the program's memory and can resolve temporary glitches.

Disable Add-ins. Sometimes third-party add-ins interfere with Excel's core functions. Go to File > Options > Add-ins. At the bottom, change the Manage dropdown to COM Add-ins and click Go. Uncheck all add-ins and click OK. Restart Excel and try deleting the columns again.

Check for Corrupt Data. If the column contains a specific cell that is causing an error, Excel may block the operation. Click on the cell that is closest to the top of the column. If it contains a formula that results in an error (like #VALUE! or #N/A), fix the error. If the cell is blank but contains a formatting issue, try clearing the cell's contents and formatting.

Copy and Paste Values. If you cannot delete the column because of complex formulas or links, try copying the column, right-clicking another empty column, and selecting Paste Values. This replaces the formulas with their current values. Once the column contains only static values, you may be able to delete it without issues.

Use the Office Repair Tool. If Excel is malfunctioning persistently, you can repair the Office installation. Go to Control Panel > Programs and Features, find Microsoft Office, right-click it, and select Change. Choose Quick Repair and follow the prompts.

Frequently Asked Questions

Why does Excel say I cannot delete a column?

Excel typically blocks deletion if the sheet is protected, the column is hidden, or the column contains data that is required by formulas in other parts of the sheet. It may also block deletion if there is a circular reference or an external link that cannot be broken.

How do I delete multiple columns at once?

Hold the Ctrl key on your keyboard and click the column headers for each column you want to delete. Alternatively, click the first column header, hold the Shift key, and click the last column header to select a range of columns in between.

What does #REF! mean after deleting a column?

The #REF! error indicates that a formula is referencing a cell that no longer exists. This usually happens when you delete a column that was part of a reference (e.g., deleting Column B when a formula in Column C references Column B). You must edit the formula to point to the correct new location.

Can I delete a column from a protected sheet?

Generally, no. To delete columns on a protected sheet, you must first unprotect the sheet using the password. If the sheet is password protected and you do not know the password, you cannot modify the structure of the sheet.

Why is Excel frozen when I try to delete a column?

Excel may freeze if the file is very large, contains a complex macro, or is trying to recalculate a massive amount of data. Try saving the file, closing it, and reopening it. If it persists, check for a circular reference or a slow macro that is causing the freeze.

Is it safe to delete a column that has no visible data?

It is not safe to delete a column that has no visible data if it is hidden. Hidden columns can still contain data and formulas. Always right-click a visible column and select Unhide to reveal the contents before deleting.