The fastest way to remove blank rows from your spreadsheet
The quickest method is to use Excel's Go To Special feature to select all blank cells at once, then delete the rows they occupy. This works in both Windows and Mac versions of Excel, though the exact menu path differs slightly between them.
If your spreadsheet has only a few blank rows scattered throughout, you can delete them manually by right-clicking each row number and selecting Delete. But if you have dozens of blanks — which happens often when you copy data from other sources or delete content without removing the row itself — the Go To Special method saves you hours of clicking.
Key Takeaways
- Use Go To Special to select all blank rows at once, then delete them in a single action rather than one at a time.
- The Go To Special command is found under the Edit menu on Mac and under Find & Select on the Home tab in Windows Excel.
- You must select the range of cells you want to search before opening Go To Special, or it will only search the current cell.
- Blank rows created by deleting content are different from rows that never had data — Go To Special finds cells with no content, not empty rows.
How to use Go To Special in Windows Excel
First, select the range of cells or columns where you want to remove blanks. Click on the column header of the first column with data, then hold Shift and click the last column header. This selects all rows in those columns at once.
Next, go to the Home tab at the top of the screen. On the right side of the ribbon, find the Find & Select button (it looks like a magnifying glass). Click the dropdown arrow next to it and select "Go To Special" from the menu.
In the Go To Special dialog box that opens, select the option for "Blanks" and click OK. Excel will now highlight every cell in your selection that contains nothing. Right-click on any highlighted cell and choose Delete. In the dialog that appears, select "Entire row" and click OK. All the blank rows will disappear.
How to use Go To Special on Mac Excel
Select your data range the same way: click the first column header, hold Shift, and click the last column header you want to include.
Click the Edit menu at the top of the screen. Look for "Find" or "Find & Replace" — click it and then look for a button or option that says "Special" or "Go To Special." In newer Mac versions, this may appear as a separate option in the Edit menu itself.
Select "Blanks" from the dialog and click OK. Right-click any highlighted cell, choose Delete, select "Entire row," and click OK to remove all blank rows at once.
Deleting blank rows manually when there are only a few
If you have just two or three blank rows, it is faster to delete them by hand. Click on the row number on the left side of the spreadsheet — the number itself, not a cell in that row. The entire row will highlight in blue.
Right-click the highlighted row number and select Delete from the menu. The row disappears and all rows below it shift up. Repeat for each blank row you want to remove.
Why blank rows appear in your spreadsheet
Blank rows usually come from one of two sources: you deleted the content of a row but not the row itself, or you pasted data from another file that included empty rows as formatting.
When you press Delete on a cell or row, Excel clears the content but leaves the row structure in place. This is different from right-clicking and choosing Delete, which removes the row entirely. If you have done this many times across a large spreadsheet, you end up with many blank rows mixed in with your data.
The Go To Special method finds these content-empty rows and removes them, which shrinks your file size and makes the spreadsheet easier to work with.
What to do if Go To Special does not find your blank rows
Sometimes a row appears blank but actually contains invisible characters — spaces, line breaks, or formatting marks that do not display on screen. Go To Special will not select these rows because they technically contain data.
To find and remove these hidden characters, use Find & Replace instead. Press Ctrl+H (Windows) or Command+H (Mac) to open Find & Replace. Leave the Find field empty, leave the Replace field empty, and click Replace All. This removes any invisible content from selected cells. Then use Go To Special on the same range to catch any truly blank rows.
Sorting your data to group blank rows together
Another approach is to sort your spreadsheet so that all blank rows move to the bottom, where you can delete them as a block. Click any cell in your data range, then go to the Data tab and select Sort.
In the sort dialog, choose any column that contains data in most rows. Sort A to Z (or smallest to largest for numbers). Blank cells will move to the bottom of the sort. You can then select all the blank rows at the bottom, right-click, and delete them all at once.
Be careful with this method if your data has a specific order you need to preserve — sorting will rearrange your rows. Use it only if the order does not matter or if you can re-sort by a date or ID column afterward.
Frequently Asked Questions
Will deleting blank rows affect my formulas or data?
If your formulas reference specific row numbers (like =SUM(A1:A10)), deleting rows will change which cells those formulas point to. If your formulas use named ranges or reference entire columns, they will adjust automatically. Before deleting blank rows from a spreadsheet with many formulas, save a backup copy first.
Can I undo a delete if I remove the wrong rows?
Yes. Press Ctrl+Z (Windows) or Command+Z (Mac) immediately after deleting. Excel will restore the rows. You can undo multiple times to go back several steps if needed, but once you close the file without saving, the undo history is lost.
What is the difference between deleting a row and clearing its content?
Clearing content removes the text or numbers but leaves the row structure in place. Deleting a row removes the entire row and shifts all rows below it up. Go To Special finds rows where the content has been cleared, not rows that were never used.
Does Go To Special work on filtered data?
Go To Special will only select visible cells if you have applied a filter. If you want to find blanks in your entire dataset, remove the filter first by clicking Data > Filter and toggling it off, then use Go To Special on the full range.
Can I delete blank rows from multiple sheets at once?
No. You must work on one sheet at a time. Select the sheet tab at the bottom, use Go To Special to remove blanks, then move to the next sheet and repeat. There is no built-in way to apply the same deletion across multiple sheets in a single action.