Forum Discussion
LisaR1959
Mar 19, 2021Copper Contributor
Delete Empty Rows Quick?
I have a worksheet with thousands of rows and a blank row between each row with data. Is there a way to remove all those blank rows quickly? I need to sort by a column and I can't right now. I ass...
JimGarrison
Jul 08, 2024Copper Contributor
LisaR1959
Old post I know but this answer may be useful to someone.
Easiest way:
Select all cells with data in them - exclude headers if you have them.
On the ribbon bar (Home tab), select Sort & Filter
Select Sort A to Z
Done! All the blank rows have been moved below the data.
- SergeiBaklanJul 08, 2024MVP
With that you loss initial rows order. If do such way it's more reliable to add helper column with sequential numbers from top to down, sort on any other columns, remove rows with blanks from down, sort again on helper column, remove helper column.
IMHO, on the range F5->Special->Blanks->Delete Sheet rows not very complex.