Excel Performance Problems

Fix Excel Freezing When Sorting a Large Worksheet

Phi Hung VoPhi Hung Vo Nov 22, 2026 869 views

Question details

The user needs to sort a large worksheet without Excel becoming slow or unresponsive.

Fix Excel Freezing When Sorting a Large Worksheet
Product
Microsoft Excel
Device & OS
not provided
Scenario
Sorting a worksheet with approximately 35,000 rows when the used range may extend beyond the actual data.
Observed behavior
Excel becomes slow or stops responding, and Ctrl+End reaches row 63,907 even after unnecessary rows and columns were deleted.
Before you start

Identify the last row and column containing data, formulas, or formatting you need to keep. Check the entire worksheet, including hidden rows and columns, before deleting anything outside the visible table.

Solution 1Recommended

Reset the worksheet's used range

Use this method when Excel treats rows or columns beyond the real data as part of the used range.

1
Find the last used cell

Open the affected worksheet and press Ctrl+End. Compare the selected cell with the actual last row and column you need.

2
Delete unused rows

Select the row headers from the first unnecessary row through the bottom of the worksheet. Right-click the selected headers and choose Delete.

3
Delete unused columns

Select the column headers from the first unnecessary column to the right through the last worksheet column. Right-click the selected headers and choose Delete.

4
Save and verify

Save the workbook, close it, and reopen it. On the affected sheet, press Ctrl+End again to check whether the last used cell is closer to the real data.

5
Try sorting again

Select the complete data table, including its headers, and use Data > Sort. If Excel asks whether to expand the selection, include all related columns so the rows stay together.

Reset the worksheet's used range
Check other worksheets: Repeat the Ctrl+End check on other sheets if the workbook remains large. Other data, formulas, formatting, or objects can also contribute to its size.
Free Microsoft Office alternative

Work with Large Excel Workbooks in WPS Spreadsheets

WPS Office is a free, lightweight alternative with a familiar spreadsheet interface and support for Microsoft Excel formats, making it easy to continue working with existing files. It does not repair an Excel-specific performance problem.

Sort and organize worksheet data in WPS SpreadsheetsOpen and edit Microsoft Excel XLSX and XLS filesUse a familiar interface for a smoother move from ExcelWork with a free, lightweight Office alternative
microsoft office alternative - wps office

Frequently Asked Questions

Why does Ctrl+End go far below my data in Excel?

Excel's used range can include cells with old formatting, formulas, or previously entered data. Press Ctrl+End to find its last used cell, then delete unnecessary entire rows and columns and save the workbook.

Why is my workbook still large after I delete unused rows?

Other worksheets, formulas, formatting, and objects may contribute to the file size. Save the workbook, then check Ctrl+End and review content on the other sheets.

How do I keep rows together when sorting?

Select the complete table, including headers, before choosing Data > Sort. If Excel offers to expand the selection, include all related columns.

What if Excel still freezes after I reset the used range?

Review conditional formatting under Home > Conditional Formatting > Manage Rules and check other worksheets. On Windows, you can also test the workbook in Excel Safe Mode and review add-ins under File > Options > Add-ins.