How to delete rows in excel
Tutor 5 (154 Reviews)
Excel Tutor
Still stuck with a Excel question
Ask this expertAnswer
To delete rows in Excel, select the row(s) you want to remove, right-click on the row number, and choose "Delete" from the context menu. The selected rows disappear immediately, and the rows below shift up to fill the space.
Methods of Deleting Rows
Using Right-Click Menu
- Click on the row number on the left side of the worksheet to select the entire row
- Right-click on the selected row number
- Select "Delete" from the menu
Using Keyboard Shortcuts
Windows: Press Ctrl + - (minus key) after selecting the row
Mac: Press Control + - (minus key) after selecting the row
Using Ribbon Commands
- Select the row by clicking its row number
- Navigate to the Home tab
- Click the "Delete" dropdown in the Cells group
- Select "Delete Sheet Rows"
How to Delete Multiple Rows at Once
To delete multiple rows simultaneously, select all the rows you want to remove before applying the delete command.
Selecting Consecutive Rows
- Click on the first row number
- Hold down the Shift key
- Click on the last row number in the range
- Right-click and select "Delete"
Selecting Non-Consecutive Rows
- Click on the first row number
- Hold down the Ctrl key (Windows) or Command key (Mac)
- Click on each additional row number you want to delete
- Right-click and select "Delete"
How to Delete Blank Rows
Blank rows can clutter your worksheet and affect data analysis.
Using Go To Special
- Select the entire data range or press Ctrl + A to select all
- Press F5 or Ctrl + G to open the Go To dialog box
- Click "Special" at the bottom of the dialog box
- Select "Blanks" and click OK
- Right-click on any selected blank cell
- Choose "Delete" and select "Entire row"
- Click OK
Using Filter Method
- Select your data range including headers
- Click "Filter" in the Data tab
- Click the dropdown arrow in any column
- Uncheck "Select All" and check only "Blanks"
- Select the visible blank rows by clicking the row numbers
- Right-click and select "Delete Row"
- Remove the filter to view your cleaned data
How to Delete Rows Based on Criteria
Deleting rows that meet specific conditions helps maintain data quality.
Using AutoFilter
- Select your data range
- Click "Filter" in the Data tab under Sort & Filter group
- Click the dropdown arrow in the column containing your criteria
- Select the values you want to delete
- Select the filtered rows by clicking the row numbers
- Right-click and choose "Delete Row"
- Clear the filter
Using Find & Replace
- Press Ctrl + F to open Find dialog
- Enter the value you want to find
- Click "Find All"
- Press Ctrl + A to select all found instances
- Close the Find dialog
- Right-click on any selected row number
- Choose "Delete"
Common Issues When Deleting Rows
Hidden Rows Get Deleted
When you delete visible rows in a filtered range, hidden rows remain intact. Excel only deletes the rows you can see and have selected.
Formulas Break After Deletion
Formulas referencing deleted rows return #REF! errors. Update formulas to reference the correct new row numbers, or use structured references with Excel tables to maintain formula integrity.
Undo Limitations
Excel stores deletion actions in the undo stack. Press Ctrl + Z (Windows) or Command + Z (Mac) to restore deleted rows immediately after deletion. The undo function becomes unavailable after you save and close the workbook.
Difference Between Delete and Clear
Deleting rows removes them entirely from the worksheet, causing rows below to shift upward and changing row numbers. Clearing rows removes only the content but keeps the rows in place with their original row numbers. Use Clear when you want to remove data but maintain worksheet structure, and use Delete when you need to remove rows completely.
. Was this Helpful?Get Online Tutoring or Questions answered by Experts.
You can post a question for a tutor or set up a tutoring session
Answers · 1
How to copy conditional formatting in excel
Answers · 1
How to multiply percentages in excel
Answers · 1
How to multiply all cells by a number in excel
Answers · 1
How to multiply by pi in excel
Answers · 1