When Excel refuses to insert a row, the cause is almost always one of four things: the sheet is protected, the workbook is shared, the row limit has been reached, or the insertion point is inside a table or merged cell that blocks the action. The fastest fix is to press Ctrl+Shift+U (or Cmd+Shift+U on Mac) to toggle the workbook out of shared mode, then try inserting again. If that does not work, unprotect the sheet via Review > Unprotect Sheet, and check that you are not trying to insert above row 1 or below row 1,048,576. The steps below walk through each cause in order, from the simplest check to the more involved fixes.

What You'll Need

  • Microsoft Excel for Windows or Mac (the steps below note where they differ; Excel for the web has its own limits, covered in the troubleshooting section).
  • The workbook open and saved locally, or access to the original file if it is stored on a shared drive or OneDrive.
  • Permission to edit the workbook (if it is password-protected, you will need the password).

Step-by-Step

  1. Check whether the sheet is protected. Go to the Review tab and look at the Protect Sheet button. If it reads Unprotect Sheet, the sheet is protected and row insertion is blocked. Click Unprotect Sheet and enter the password if prompted. If you do not have the password, ask the file owner; there is no built-in bypass. Note that menu labels can differ slightly by version and region.
  2. Turn off shared workbook mode. On the Review tab, click Share Workbook (in some versions it is under Share Workbook (Legacy)). In the dialog box, go to the Editing tab and uncheck Allow changes by more than one user at the same time. Click OK and confirm. Shared workbooks disable many features, including inserting rows in some cases. If the button is greyed out, the workbook may be stored on a SharePoint or OneDrive location that uses co-authoring instead; see the troubleshooting section.
  3. Move the cursor out of a table. If your data is formatted as an Excel Table (the ribbon shows a Table Design tab when you click inside it), inserting a row works differently. Right-click a row inside the table and choose Insert > Table Rows Above, or click in the last cell of the last row and press Tab. To insert a normal row outside the table, click a cell outside the table first, then right-click the row number and choose Insert.
  4. Unmerge merged cells. Select the row or rows that contain merged cells, go to the Home tab, click the Merge & Center dropdown, and choose Unmerge Cells. Merged cells can prevent Excel from inserting rows cleanly, especially if the merge spans the insertion point. After unmerging, try the insert again.
  5. Check the row limit. Excel worksheets have a maximum of 1,048,576 rows. If you are trying to insert below the last row, Excel will not allow it. Press Ctrl+End (Windows) or Cmd+End (Mac) to jump to the last used cell and confirm you are not at the bottom. If you are, delete unused rows above or move data to a new sheet.
  6. Try a different insertion method. Instead of right-clicking the row number, select the entire row by clicking its number, then go to the Home tab and click Insert > Insert Sheet Rows. Or use the keyboard: Alt+H, I, R on Windows; on Mac, Ctrl+I then R after selecting a row. If one method fails, another may work.
  7. Clear the clipboard and close extra workbooks. A large copied range still on the clipboard can interfere with insertion. Press Esc to clear it. Also close other open workbooks; occasionally a modal dialog in another workbook blocks actions in the current one.
  8. Repair the workbook. If none of the above works, the file may be corrupted. Go to File > Open > Browse, select the file, click the arrow next to Open, and choose Open and Repair. Choose Repair first; if that fails, try Extract Data. Save a copy before repairing, because repair can remove formatting or data.

Common Mistakes

  • Right-clicking a cell instead of the row number. The Insert option in the cell context menu inserts cells and shifts others, which can break formulas. Always right-click the row header (the grey number on the left) to insert a full row.
  • Assuming the whole workbook is protected. Protection can be applied per sheet. Check each sheet individually on the Review tab.
  • Forgetting that shared workbooks are legacy. Modern co-authoring in Microsoft 365 does not use the old Share Workbook dialog. If the file is on OneDrive or SharePoint and co-authoring is on, the legacy shared mode is not the issue; look at sheet protection or table structure instead.
  • Inserting inside a table and expecting a normal row. Excel Tables expand automatically; inserting a row above the table header is not allowed. Add rows inside the table or convert the table to a range first (Table Design > Convert to Range).
  • Ignoring the status bar message. When insertion is blocked, Excel often shows a brief message at the bottom of the window (for example, about protected sheets or shared workbooks). Read it before trying random fixes.

Tips

  • Use Ctrl+Shift+U (Windows) or Cmd+Shift+U (Mac) as a quick toggle for shared workbook mode; it is faster than digging through the Review tab.
  • Before making structural changes, save a backup copy with File > Save As. Inserting rows can shift references in formulas, and a backup lets you compare.
  • If you insert rows often, consider converting your data to an Excel Table (Insert > Table). Tables handle row insertion more predictably and auto-fill formulas.
  • On Mac, the menu path for protection is Review > Unprotect Sheet as well, but the Share Workbook option may be under Tools > Share Workbook (Legacy) depending on the Excel version.
  • When collaborating, check whether the file is checked out or locked by another user. In OneDrive or SharePoint, a lock icon or a message in the title bar indicates someone else is editing.

Troubleshooting

If you have tried the steps above and Excel still will not insert a row, work through these checks in order. First, confirm the workbook is not read-only: look at the title bar; if it says Read-Only, save a copy via File > Save a Copy and edit that. Second, check for hidden sheets or grouped sheets: right-click any sheet tab and choose Ungroup Sheets if multiple tabs are selected, because grouped sheets can cause unexpected behaviour. Third, if the file is stored on a network drive or synced folder, copy it to your local desktop and try again; sync conflicts can lock editing. Fourth, for Excel for the web, row insertion is not supported in some protected views or when the file is open in a browser that lacks edit permissions; open the file in the desktop app instead. Fifth, if the problem affects every workbook, repair your Office installation via Settings > Apps > Microsoft 365 > Modify > Quick Repair (Windows) or reinstall Office (Mac). Finally, if the workbook contains macros or add-ins, disable them temporarily via File > Options > Add-ins and restart Excel; a faulty add-in can block editing commands. Always save your work before disabling add-ins or repairing, and note that repairing can remove customisations.

Frequently Asked Questions

Why is the Insert Row option greyed out?

The most common reasons are sheet protection, shared workbook mode, or the selection being inside a table header. Check the Review tab for Unprotect Sheet and Share Workbook first.

Can I insert a row above row 1?

No. Excel does not allow inserting rows above the first row. To add a header row, insert a row below row 1 and move your data down, or use Insert > Insert Sheet Rows after selecting row 1 (which inserts above the selected row, effectively pushing row 1 down).

Does inserting a row break formulas?

Usually not if the formulas use cell references; Excel adjusts references automatically. However, formulas that use INDIRECT or hard-coded row numbers may not update. Always verify key formulas after structural changes.

Why does Excel say “This operation is not allowed” when I insert a row?

That message typically appears when the sheet is protected or the workbook is shared. Unprotect the sheet and turn off shared workbook mode as described in the steps above.

Can I insert multiple rows at once?

Yes. Select the same number of existing rows as the number of new rows you want, then right-click the row headers and choose Insert. For example, select three rows to insert three new rows above them.

What if the file is password-protected and I don’t know the password?

You cannot unprotect the sheet without the password. Contact the file owner or recreate the sheet in a new workbook. There is no legitimate way to bypass the password.