How to Fix Excel Showing Over a Million Rows After Deleting Data
Question details
The user wants to understand why their Excel worksheet still contains over a million rows after deleting data, and how to resolve file size and performance issues related to an unnecessarily large used range.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Trying to clean up a spreadsheet by deleting empty rows to reduce file size or fix scrolling and performance issues.
- Observed behavior
- Deleting rows does not reduce the total worksheet row count, which remains fixed at 1,048,576, and Excel continues to treat blank rows as part of the active used range.
Before troubleshooting, press Ctrl + End on your keyboard to locate the last active cell in your worksheet. This helps confirm if your used range extends far beyond your actual data.
Clear Formatting and Data Below Actual Content
Remove unintended formatting from empty rows that force Excel to recognize them as part of the used range.
Excel worksheets have a fixed grid of 1,048,576 rows. You cannot change this limit, but you can reset the 'used range' so Excel stops tracking empty rows, which improves performance and file size.
Click the row number of the first completely empty row right below your actual data. Then press Ctrl + Shift + Down Arrow to select all rows to the very bottom of the worksheet.
Go to the Home tab on the ribbon, locate the Editing group, click 'Clear' (often depicted as an eraser icon), and select 'Clear All'.
Save your workbook and then close and reopen it. Excel recalculates the used range upon saving, which should fix the tiny scrollbar and performance issues.

Locate and Remove Hidden Objects
Hidden or misplaced shapes, images, or text boxes at the bottom of the worksheet can force Excel to keep unnecessary rows active.
Transfer Data to a New Workbook
If the workbook's used range remains corrupted after clearing formatting, moving your data to a fresh file is the most effective workaround.
Easily Manage Large Datasets and File Sizes with WPS Spreadsheet
WPS Spreadsheet handles massive datasets efficiently and provides intuitive tools to clear formatting, manage used ranges, and keep your file sizes optimized without lagging.
- 1. Open your file in WPS Spreadsheet: Launch WPS Office and open your bloated spreadsheet file.
- 2. Select the unused rows: Click the first empty row below your data and press Ctrl + Shift + Down Arrow.
- 3. Clear formatting and content: Navigate to the Home tab, click the 'Clear' drop-down menu, and choose 'Clear All'.
- 4. Save to reset the range: Click Save. WPS Spreadsheet will instantly reset the file size and scroll bar to fit only your actual data.

Frequently Asked Questions
Why does Excel always have exactly 1,048,576 rows?
Excel worksheets have a hard-coded grid size limit of 1,048,576 rows and 16,384 columns in modern versions (.xlsx format). Deleting rows simply shifts the grid up; it does not change the total number of available rows built into the software's architecture.
How do I know what my actual 'used range' is in Excel?
You can locate your current used range by pressing Ctrl + End on your keyboard. This shortcut takes you to the bottom-rightmost cell on the worksheet that contains data or formatting. If it jumps to a blank cell at row 1,000,000, your used range is bloated.
Will deleting unused rows reduce my Excel file size?
Deleting rows will only reduce file size if those rows contained unnecessary data, hidden objects, or formatting. If they are completely blank and unformatted, deleting them has no effect because Excel already handles completely blank cells efficiently.
Why does my scroll bar get extremely small in Excel?
A tiny scroll bar indicates that Excel thinks your active data extends far down the sheet, often due to accidental formatting or a hidden object placed in the lower rows. Clearing all formats from unused rows and saving the file usually resets the scroll bar to a normal size.




