How to Fix Excel Error Preventing New Rows: Shifting Cells Not Allowed
Question details
The user is unable to insert new rows into an Excel worksheet due to an error message stating that the operation is attempting to shift cells in a table.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Attempting to insert a new row or data into an existing table when another table or formatted range is located directly below it.
- Observed behavior
- Excel blocks the action and displays the prompt: "This operation is not allowed. The operation is attempting to shift cells in a table on your worksheet."
Scroll down your worksheet to check for any hidden tables, merged cells, or stray data points located below your primary working area, as these often block new rows from being inserted.
Insert an Entire Worksheet Row
Bypass the table restriction by inserting a full worksheet row instead of just adding cells to the current table.
Excel prevents you from pushing down a portion of a worksheet if it disrupts another table below. By inserting a full row across the entire sheet, all elements shift down evenly, avoiding the conflict.
Click on the row number on the far-left edge of the Excel interface, right below where you want to add new data.
Right-click the selected row number and choose 'Insert' from the context menu to add a blank row across the whole sheet.
Copy or type your required values into the newly created blank row within your target table.

Relocate or Remove the Obstructing Table
Identify the data or table located below your current table and move it to prevent shifting conflicts.
Convert the Table to a Normal Range
If you do not strictly need advanced table functionalities, converting the table back to a standard range will stop the shifting error.
Manage Data and Insert Rows Seamlessly in WPS Spreadsheet
WPS Office provides a highly compatible and user-friendly spreadsheet tool that makes handling complex tables, inserting rows, and managing large datasets straightforward without frustrating shifting errors.
- 1. Open your workbook: Launch WPS Spreadsheet and open the file where you need to add new rows.
- 2. Highlight the row index: Click on the row number on the left side of the screen where you wish to place the new data.
- 3. Insert a new row: Right-click and select 'Insert Rows' to push all content down evenly without triggering table conflicts.
- 4. Enter your data: Type your new information into the blank row seamlessly.

Frequently Asked Questions
Why does Excel say 'This operation is not allowed' when inserting a row?
This error occurs because Excel prevents you from inserting cells or rows inside a specific table if doing so would force another table or a specially formatted range below it to shift down. This is a safety measure to prevent data structure corruption.
How can I find the hidden table blocking my new rows?
Press 'Ctrl + End' on your keyboard to jump to the last used cell in your worksheet. Scroll up from that point to locate any stray data, hidden tables, or invisible formatting that sits below your main table.
Does clearing cell formatting help resolve this error?
Yes. Sometimes Excel registers empty cells that have formatting (like borders, custom fonts, or background fill colors) as active data tables. Select the seemingly empty rows below your main table, go to the Home tab, and choose 'Clear All' under the Clear menu.
Can I add new rows without affecting the table below?
Yes, by selecting the entire row number on the far-left edge of the screen and inserting a full worksheet row. This shifts the entire worksheet down evenly rather than just shifting cells within a specific column, which bypasses the error.




