Fix Excel Showing All Rows and Columns and Running Slowly
Question details
The user is experiencing severe performance lag in Excel when inserting or deleting rows and columns, accompanied by a warning about affecting a large number of cells.

- Product
- Microsoft Excel
- Device & OS
- macOS Monterey 12.0.1
- Scenario
- Inserting or deleting rows and columns, or making minor edits in a worksheet.
- Observed behavior
- Excel takes about a minute to process row or column changes, displays a warning about affecting many cells, and constantly recalculates after minor edits.
Before troubleshooting, save a backup copy of your Excel file to prevent accidental data loss while clearing formatting or deleting excess rows and columns.
Locate and Reset the Last Used Cell
Excel may mistakenly consider empty rows and columns as active due to hidden formatting, causing massive file bloat and slow performance.
A worksheet contains 1,048,576 rows and 16,384 columns. Unused cells do not normally affect performance. However, if you accidentally apply formatting to an entire column or row, Excel treats the entire grid as active data. Resetting the active range resolves this issue.
Press Ctrl + End (or Cmd + Fn + Right Arrow on Mac) to jump to the last cell Excel considers active. If this cell is far beyond your actual data, your worksheet has excess active cells.
Click the row header number of the first completely empty row below your actual data. Press Ctrl + Shift + Down Arrow (Cmd + Shift + Down Arrow on Mac) to select all rows down to the bottom of the sheet.
Right-click anywhere on the selected row headers and choose 'Delete'. Do not just press the Delete key on your keyboard, as that only clears the cell contents without removing the hidden formatting.
Click the column header letter of the first empty column to the right of your data. Press Ctrl + Shift + Right Arrow to select all columns to the edge of the sheet, right-click the headers, and choose 'Delete'.
Save the workbook, close Excel completely, and reopen the file. The last used cell will be reset, and performance should return to normal.

Optimize Formulas and Remove Volatile Functions
Constant recalculations after minor edits are often caused by volatile functions or excessive conditional formatting.
Experience Faster Spreadsheet Performance with WPS Office
If Excel continues to lag or freeze on your Mac, try WPS Office. It is a lightweight, highly optimized, and free alternative that handles large datasets smoothly without heavy resource consumption.
- 1. Download WPS Office: Download and install the free WPS Office suite for your Mac or Windows PC.
- 2. Open your spreadsheet: Launch WPS Spreadsheet and open your slow or bloated .xlsx file directly.
- 3. Edit without lag: Enjoy smooth editing, row insertion, and formatting, then save your work seamlessly in the original Excel format.

Frequently Asked Questions
Why does Excel say a large number of cells will be affected when I delete a row?
This warning appears when Excel believes there is data or formatting extending to the very edge of the worksheet (row 1,048,576 or column XFD). Deleting a row forces Excel to shift millions of cells, causing the warning and severe lag.
Do empty cells increase my Excel file size?
Completely empty, unformatted cells do not increase file size. However, if empty cells have hidden formatting, borders, or invisible space characters, Excel treats them as active data, which drastically inflates file size and slows down performance.
How can I stop Excel from recalculating every time I type?
You can stop automatic recalculation by navigating to the Formulas tab, clicking on Calculation Options, and changing the setting from Automatic to Manual. Remember to press F9 to manually calculate when you are ready to see updated formula results.
Can I decrease the maximum number of rows and columns in Excel?
No, the grid size of 1,048,576 rows and 16,384 columns is fixed and cannot be changed. However, you can hide unused rows and columns to prevent accidental scrolling or formatting, though this only affects the display and not the actual file size.




