When you have 8 list of data in Excel you may find there are blank rows. Blank rows separate the list into different record sets and you loose functionality, so we need to remove them. I see this problem a lot with data that has been imported from different data sources such as an SQL database.

There are 2 ways to do this (yes there are more but I don’t even want to think of some of them), one is to write VBA code, or an Excel Macro that will analyse and automatically delete blank rows. Great to impress friends but too long for my taste.

I use the easy way, sorting. You have to highlight the entire range then sort ascending or descending, one will add the blanks to the top the other to the bottom.

If you then select a cell within the list and press Ctrl A you will see if Excel has ignored the blanks or if it selects them. If it selects them then usually I find that there is something in them, like a blank space. Selecting them and clearing or deleting works, and even if you have to delete the rows sorting and deleting takes much less time then creating that macro.

Anyone ever have this problem? What did you do?