Excel Performance Problems

How to Fix Excel Showing Over a Million Rows After Deleting Data

Elise WilliamsElise Williams Nov 10, 2026 869 views

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.

How to Fix Excel Showing Over a Million Rows After Deleting Data
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 you start

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.

Solution 1Recommended

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.

1
Select empty rows

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.

2
Clear all formatting and content

Go to the Home tab on the ribbon, locate the Editing group, click 'Clear' (often depicted as an eraser icon), and select 'Clear All'.

3
Save and reopen

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.

Clear Formatting and Data Below Actual Content
Used Range Reset: Using 'Clear All' removes hidden text, spaces, and background colors that regular deletion might miss.
Free Spreadsheet Software

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. 1. Open your file in WPS Spreadsheet: Launch WPS Office and open your bloated spreadsheet file.
  2. 2. Select the unused rows: Click the first empty row below your data and press Ctrl + Shift + Down Arrow.
  3. 3. Clear formatting and content: Navigate to the Home tab, click the 'Clear' drop-down menu, and choose 'Clear All'.
  4. 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.
Handles up to 1,048,576 rows efficiently with optimized memory usageFully compatible with Microsoft Excel (.xlsx, .xls) formatsOne-click 'Clear All' tool to instantly reset bloated used rangesLightweight application that runs smoothly even on older PCs
microsoft office alternative - wps office

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.