File Corruption & Recovery

Fix Unable to Insert Rows or Columns in Excel Workbook

Aamir Naveed AkramAamir Naveed Akram Nov 2, 2026 870 views

Question details

The user is unable to add new rows or columns to an existing Excel workbook containing formulas, macros, and external links.

How to Fix "Unable to Insert Rows or Columns" in Excel
Product
Excel
Device & OS
not provided
Scenario
Attempting to expand a complex dataset by inserting new rows or columns into a functioning worksheet.
Observed behavior
Excel blocks the insertion of new rows or columns in the original file, though the feature works normally if the data is copied to a new blank workbook.
Before you start

Before attempting to repair the file or clear data boundaries, create a backup copy of your original workbook to ensure no formulas, macros, or formatting are accidentally lost.

Solution 1Recommended

Clear Formatting and Data from Unused Cells

Invisible data or stray formatting pushed to the far edge of the worksheet often prevents Excel from shifting cells to insert new rows or columns.

Excel has a strict limit on the number of rows and columns in a worksheet. If a stray space, border, or background color is applied to the very last column (e.g., XFD) or row, Excel will not allow you to insert new cells because it would push that 'data' off the sheet.

1
Select unused columns

Click the header of the first empty column to the right of your active data. Press Ctrl + Shift + Right Arrow to select all columns to the end of the sheet.

2
Clear all column data

Go to the Home tab, find the Editing group, click 'Clear', and select 'Clear All'.

3
Select unused rows

Click the header of the first empty row below your active data. Press Ctrl + Shift + Down Arrow to select all rows to the bottom of the worksheet.

4
Clear all row data

Again, go to the Home tab, click 'Clear', and select 'Clear All'.

5
Save and retry

Save your workbook, then try inserting a new row or column.

Clear Formatting and Data from Unused Cells
Quick Tip: Pressing 'Delete' on your keyboard only clears the text or values, not the formatting. Always use the 'Clear All' button from the Home ribbon to fully reset the cells.
WPS Spreadsheet

Easily Edit and Recover Your Spreadsheets with WPS Office

WPS Spreadsheet provides robust file compatibility and can efficiently bypass errors related to cell limits. By opening your file in WPS, you can directly clear boundaries, insert rows or columns smoothly, and save it back in its original format.

  1. 1. Open with WPS Spreadsheet: Download and launch WPS Office, then open your problematic workbook.
  2. 2. Insert Rows or Columns: Right-click the row or column header where you want to add space and select 'Insert'. WPS handles boundary data efficiently.
  3. 3. Clear Unused Cells: If needed, select the empty columns or rows, navigate to the Home tab, click the Eraser icon (Clear), and choose 'Clear All'.
  4. 4. Save Workbook: Save your file. WPS Spreadsheet maintains complete compatibility with your original Microsoft Excel file format.
Seamlessly opens and edits complex files to bypass 'cannot insert' errors.100% compatible with Microsoft Excel formats, including .xlsx, .xlsm, and .xls.Lightweight application that uses fewer system resources for smoother editing.Built-in VBA and macro support for advanced spreadsheet users.
microsoft office alternative - wps office

Frequently Asked Questions

Why does Excel say it cannot shift objects off sheet?

This happens when invisible formatting, blank spaces, or objects have accidentally been applied all the way to the absolute last row or column of the worksheet. Excel prevents you from inserting new cells to avoid deleting or shifting this hidden 'data' off the grid.

Will using 'Clear All' delete my formulas?

No, as long as you only select the completely empty rows below your active data and the empty columns to the right of your active data, your actual formulas and values will remain completely safe.

How do I fix broken formula references after copying to a new workbook?

Use the Find and Replace feature (Ctrl + H). Search for the name of the old workbook enclosed in brackets—for example, [OldBook.xlsx]—and leave the replace field completely blank. Clicking 'Replace All' will update the references to point to your current workbook.