How do I delete infinite blank rows?
How do I delete multiple empty rows simultaneously?
How do you delete ENTIRELY blank rows?
How do I remove blank rows that have been inserted between the rows with data?
Is there a shortcut to delete blank rows in Excel?
How do I delete blank rows without deleting data?
Why does Go To Special delete rows with data?
I have over a million blank rows below line 180. I've tried clicking line 181, ctrl+shift+down, clicking delete, but they still appear as blank rows. The main problem with this is my scroll bar is very tiny and it takes a while to insert a column because an extra million cells are affected. Thanks
Do this :
- Select the range of cells
- Press F5 and click Special… . Or go to the Home tab > Formats group and click Find & Select > Go to Special
- In the Go To Special dialog box, select
Blanksand click OK - Right-click any of the selected blanks and select Delete…
- Depending on the layout of your data, you would probably choose Shift cells up
- Click OK.
Take a backup of the spreadsheet before starting and verify well the result afterward.
For more details and screenshots see the article How to remove blank cells in Excel.
If you want to do this formulaically you can use the filter function. If the Range with data and blanks is C4:C30004
=FILTER(C4:C30004,NOT(ISBLANK(C4:C30004)))
Will return an array of only cells with data.
This only works column by column due to filter function limitations (I have not figured out a workaround). But you can do this for each column and copy formula to each column. I copied the formula for the ranges and it works no problem with 30k rows.
Example Snips of Answer:

Try selecting a column that should be filled in for valid data, then use Ctrl-G / Special / Blanks / OK and then delete rows. How are you adding data?
It was likely that the 'blanks' had spaces or were formatted to not show values.
For future use, consider a column of formulas that returns TRUE/FALSE, along the lines of
=LEN(A2)<3
or some other condition that matches the logic of your data. Then filter on that column to show the rows that you want to delete, and then delete them - only the visible rows would be deleted. Take off the filter, and your remaining data will appear.
I have a spreadsheet with several columns. I was using it as a list of tasks. It was especially helpful in this regard because I can filter things to make it easier to work on groups of tasks that are all related in some form based on column contents. Sometimes it was necessary to add tasks as it became apparent they'd need to be done, while I was going through this list.
Trouble is, when I'm adding cells while filters are already applied, the row number of those cells is going to be in an unusual place, often with many blank rows in between. I wanted to find an efficient way to remove blank rows but all the guidance seems to suggest using "find and select" > and "Go to special" to select blanks. But that selects blank anything, so blank rows, but also blank cells within otherwise filled rows. This means I can't just delete the rows of the resulting selection of this operation because it will delete rows that actually have data in them as well as the blanks rows I'm trying to get rid of.
As I typed this I actually did solve the problem, but in a way that I don't think would work in all circumstances so I'm still posting this in hopes of a more generalised solution. In my case, the spreadsheet is a list of timecodes for a video edit where notes have to be attended to. I have a column that converts the timecodes in to frame numbers so I can sort the list and sorting the list again after adding new items to this list while in a filtered view slots the new rows in to place in the list, eliminating blanks in the process. This only works though because my spreadsheet happens to have a column of incrementing numbers that I can sort and want sorted, in the absence of that I'd be stuck so it would still be good to know how to do this.
Working on a spreadsheet with a lot of data. However past the data there are endless blank rows. I want them permanently gone to reduce file size so only my data is in the file. How do I do it?
I tried highlighting all the rows, then right clicking and selecting delete rows. It didn’t work. For reference I’m on excel 2016.
Thanks.