Excel usually refuses to delete rows for one of four reasons: the worksheet or workbook is protected, the range is part of a table or pivot cache, the file is shared or read-only, or the row contains merged cells or an array formula that locks the structure. The fastest fix is to check the Review tab for protection first, then unmerge cells and convert the table to a normal range if needed. Below is the full sequence, from the simplest check to the deeper causes, plus what to do when none of it works.
What You'll Need
- Excel for Windows or Mac (steps apply to both; menu labels can differ slightly by version and region).
- The workbook open on the sheet where deletion fails.
- The password for the sheet or workbook, if one was set.
- Permission to edit the file if it lives on OneDrive, SharePoint or a network drive.
Step-by-Step
- Check whether the sheet is protected. Go to the Review tab and look at the Protect Sheet button. If it reads Unprotect Sheet, protection is on and row deletion is blocked. Click Unprotect Sheet and enter the password if prompted. If you do not know the password, ask whoever created the file; there is no built-in way to bypass it.
- Check workbook protection. On the same Review tab, look at Protect Workbook. If it says Unprotect Workbook, click it and enter the password. This stops structural changes such as deleting rows or sheets.
- Confirm the file is not read-only or shared. Look at the title bar: if it says Read-Only or the file is marked as shared, Excel will not let you delete rows. For a read-only file, use File > Save As to save a copy you own, then work in the copy. For a shared workbook, ask the other users to close it, or use Review > Share Workbook (older files) to stop sharing.
- Unmerge any merged cells in the row. Select the row, then go to Home > Merge & Center and click it to turn merging off. Merged cells block row deletion because the merged block spans the row boundary. After unmerging, try deleting the row again.
- Convert the table to a normal range if needed. If the row sits inside an Excel Table (the header has filter arrows and banded colours), click any cell in the table, go to Table Design (called Design in some versions), and click Convert to Range. Confirm the prompt, then delete the row. Tables usually allow row deletion, but a table with a calculated column or a total row can behave oddly, and converting removes that layer.
- Look for array formulas or spilled ranges. If a cell shows a formula in curly braces or a spilled range with a blue outline, Excel may refuse to change the row structure. Select the affected cells, press Delete to clear the formulas, delete the row, then re-enter the formulas. If the formula is a dynamic array, delete the whole spilled range first.
- Check for a pivot table. You cannot delete a row that is part of a pivot table's output by selecting it in the sheet. Instead, change the pivot table's source data or filters, or move the pivot table to its own sheet before deleting rows elsewhere.
- Try deleting the row from the row header. Click the row number on the left edge so the whole row is selected, then right-click and choose Delete. Selecting cells inside the row and pressing Delete only clears contents; it does not remove the row. This is the most common misunderstanding.
- Clear filters and hidden rows. Go to Data > Clear (in the Sort & Filter group) to remove filters. Hidden rows can make it look like deletion failed when the row was actually removed but the view did not refresh.
- Save, close and reopen the workbook. A stale lock or a temporary glitch can block edits. Close Excel fully, reopen the file, and try again. If the file is on OneDrive or SharePoint, check that it is not checked out by another user.
Common Mistakes
- Pressing Delete on the keyboard instead of using right-click > Delete. Delete clears cell contents; it does not remove the row.
- Selecting a few cells rather than the whole row. Click the row number first.
- Forgetting that a protected sheet also blocks inserting rows, resizing columns and renaming sheets, not just deletion.
- Assuming a shared workbook can be edited freely. Shared workbooks restrict structural changes.
- Deleting rows inside a pivot table's source range without refreshing the pivot table afterwards.
Tips
- Before unprotecting a sheet, note the password location or ask the file owner; unprotected sheets can be re-protected later.
- Use Ctrl+Shift+Minus (Windows) or Cmd+Minus (Mac) to delete selected rows quickly once the row is selected.
- If you only need to hide a row, right-click the row number and choose Hide instead of deleting it.
- Keep a backup copy before converting tables or clearing array formulas, since those changes affect the whole sheet.
- If the workbook is co-authored in Microsoft 365, check the presence icons at the top right to see whether someone else has the file open.
Troubleshooting
If the steps above did not fix it, work through these in order. First, restart Excel and reopen the file; a stuck process can leave the sheet in a read-only state. Second, check File > Info for any message about permissions or protected view, and click Enable Editing if the file opened in Protected View. Third, if the file is on a network drive, copy it to your desktop, edit the copy, and copy it back. Fourth, if the sheet contains a large array formula or a data model connection, try deleting the row on a blank copy of the sheet to isolate the cause. Fifth, if the workbook is password-protected and you do not have the password, contact the owner; do not attempt to bypass protection. Finally, if only one row refuses to delete, check whether it contains a merged cell that spans into the row below, or a comment or note anchored to the row; remove those and retry.
Frequently Asked Questions
Why does Excel grey out the Delete option for rows?
Greyed-out Delete usually means the sheet or workbook is protected, or the file is read-only. Check the Review tab for Unprotect Sheet and Unprotect Workbook, and check the title bar for Read-Only.
Can I delete rows in a shared workbook?
Shared workbooks restrict structural changes such as deleting rows. Stop sharing the workbook (Review > Share Workbook in older files) or ask other users to close it, then delete the rows.
Why does nothing happen when I press Delete?
Pressing Delete clears cell contents but does not remove the row. Select the row by clicking its number, then right-click and choose Delete, or press Ctrl+Shift+Minus on Windows or Cmd+Minus on Mac.
How do I delete a row inside a table?
Click a cell in the row, right-click the row number, and choose Delete. If that fails, convert the table to a range via Table Design > Convert to Range, then delete the row.
Why can't I delete rows in a pivot table?
Pivot table output rows are generated from the source data, so you cannot delete them directly. Change the source data or filters, or move the pivot table to another sheet.
Does unmerging cells always fix it?
Unmerging fixes the most common merged-cell block, but if the row also sits in a protected sheet or a table, you must address those causes too. Work through the steps in order.