You could use Excel’s “Remove Duplicates” feature, but any duplicate data that is supposed to be there will also get blown away.
To assuredly remove blank rows without removing duplicate data (and maintaining the original order), follow these steps:
- Locate or insert a blank column
- Optionally name the column “Order” or leave it blank if there are no headers
- Type the number “1” in the first row of data
- Fill down to the last row of data
- Sort by an actual data field
- Now the blank rows will be grouped together, so delete the blank rows.
- Re-sort by the column of numbers from Smallest to Largest.
- Optionally delete the column of numbers
Need to undo this operation? Here’s how to Insert a Blank Row Between Every Row in Excel
Related how-to’s using the functions mentioned here: