Deleting unwanted rows in Excel worksheet

There is definitely something wrong with your file. It might be easier to copy the 100 rows you want to keep to a new workbook file rather than try to delete a million rows.

A search for duplicates in the whole document found and removed over 1 million duplicates. So there are hidden characters or something occupying space in that workbook. That still didn't help because the save size after that went up to 35MB.

Solution: Once I copied the rows you have populated to a new workbook, the saved file size is only 10K.


The commenter on Robert's post is right on target. After deleting the unwanted rows you need to save the workbook, close, and then re-open it.

Microsoft outlines the steps in their "How to reset the last cell in Excel" article. They also mention the Save step, but I wish they'd give it more emphasis. Until you save and re-open the workbook, it doesn't look like your deleting has done anything!

Copying the good rows to a new workbook is also a good solution, especially if you don't have any macros or formulas with complicated cell references to worry about.


Select the rows you want to delete. If you have Office 2003: http://www.mrexcel.com/archive/Edit/4259.html

2007 and later: On the Ribbon, under the "Home" Tab, under the "Cells" Group and "Delete" Button (block called cells), select the small arrow under it then select "Delete Sheet Rows". Save file and Reopen File.