To fix Excel when it is hanging or not responding, first try forcing the application to close via Task Manager (Ctrl + Shift + Esc), then restart the program in Safe Mode by holding the Ctrl key while launching the app. This determines if the issue is caused by a faulty add-in, a corrupted file, or a system resource conflict. If Safe Mode works, the problem is likely an extension or a specific setting rather than the core installation.
What You'll Need
- A computer running Microsoft Windows or macOS.
- Administrative privileges on the computer to run repairs or install updates.
- An internet connection to download updates or official repair tools.
- A backup of your current workbook (if the file is accessible) to prevent data loss during troubleshooting.
Step-by-Step
- Force Quit the Application
When Excel freezes, it often locks the system resources, preventing it from responding to clicks. On Windows, press Ctrl + Shift + Esc to open the Task Manager. Find "Microsoft Excel" in the list of processes, right-click it, and select End Task. On a Mac, press Option + Command + Esc, select Excel, and click Force Quit. This clears the temporary memory hang and allows you to start fresh.
- Launch Excel in Safe Mode
Safe Mode starts Excel without any add-ins, customizations, or startup folders. To do this on Windows, press and hold the Ctrl key on your keyboard and double-click the Excel shortcut icon. A prompt will appear asking if you want to start Excel in Safe Mode; click Yes. If Excel runs smoothly in Safe Mode, the cause is almost certainly a third-party add-in or a corrupted template file. Note that menu labels may differ slightly depending on your version of Office or region.
- Disable Faulty Add-ins
If Safe Mode resolved the hanging, you must identify the problematic add-in. Go to File > Options > Add-ins. At the bottom of the window, ensure the "Manage" dropdown is set to COM Add-ins and click Go. Uncheck all active add-ins and click OK. Restart Excel normally. If it works, re-enable the add-ins one by one until the program hangs again; the last one enabled is the culprit.
- Check for Large-Scale Formatting and Volatile Functions
Excel often hangs when calculating massive datasets or complex formulas. Check if your workbook contains thousands of "volatile" functions like
=INDIRECT(),=OFFSET(), or=NOW(), which force the entire sheet to recalculate every time a single cell is changed. To test this, go to the Formulas tab, click Calculation Options, and switch from Automatic to Manual. If the hanging stops, you need to optimize your formulas or reduce the number of volatile references. - Clear Temporary Files and Cache
Accumulated temporary files can slow down the application. Close all Office programs. Open the Run dialog (Windows Key + R), type
%temp%, and press Enter. Delete the files in this folder (skip any that the system says are currently in use). Additionally, if you are using Excel via OneDrive or SharePoint, clear the Office Document Cache by searching for the "Office Upload Center" or checking the sync settings in the OneDrive app to ensure a sync conflict isn't causing the freeze. - Run an Office Repair
If the application hangs regardless of which file you open, the installation files may be corrupted. On Windows, go to Control Panel > Programs > Programs and Features. Find "Microsoft 365" or "Microsoft Office" in the list, right-click it, and select Change. Choose Quick Repair first, as it is faster and does not require an internet connection. If the problem persists, repeat the process and select Online Repair, which performs a more thorough re-installation of the software components.
- Update Graphics Drivers and Windows
Hardware acceleration can sometimes cause Excel to freeze during rendering. Ensure your graphics drivers are up to date via the Device Manager or the manufacturer's website. Additionally, check for Windows Updates (Settings > Update & Security > Windows Update) to ensure that compatibility patches for the Office suite are installed.
Common Mistakes
- Ignoring the "Not Responding" Message: Many users continue to click the screen repeatedly when Excel hangs. This sends more commands to the application queue, which can actually prolong the freeze or lead to a complete system crash. If it hangs, wait 30 seconds; if nothing happens, use the Task Manager.
- Over-reliance on Conditional Formatting: Applying conditional formatting to entire columns (e.g., A:A) instead of specific ranges (e.g., A1:A1000) creates millions of invisible rules that Excel must calculate constantly, leading to severe lagging and hanging.
- Using Too Many External Links: Linking to multiple other workbooks stored on network drives can cause Excel to hang if the network connection is unstable or the source file is locked by another user.
- Skipping Backups Before Repair: Running an Online Repair is generally safe, but if you have local templates or custom settings stored in the AppData folder, it is always a mistake to proceed without a backup of your critical files.
Tips
- Use Binary Format (.xlsb): For very large files that tend to hang, save the workbook as an Excel Binary Workbook (.xlsb). This format reduces file size and often speeds up loading and saving times.
- Convert Formulas to Values: If you have a large block of data where the calculations are finished and no longer need to change, select the cells, copy them, and use Paste Special > Values. This removes the computational load from the processor.
- Limit Array Formulas: Avoid using legacy array formulas (CSE) over massive ranges. Instead, use the newer dynamic array functions (like
=FILTER()or=UNIQUE()) available in modern versions of Excel, as they are more efficient. - Check for Hidden Objects: Sometimes files contain thousands of invisible shapes or text boxes (often caused by copying data from the web). Press F5 > Special... > Objects > OK. If thousands of small circles appear, delete them to restore performance.
Troubleshooting
If the steps above do not resolve the issue, consider these specific scenarios:
The hang only happens with one specific file: This indicates file corruption. Try opening the file and using the Open and Repair feature. Go to File > Open > Browse, select the file, click the arrow next to the Open button, and choose Open and Repair. If that fails, try copying the data into a brand new workbook.
Excel hangs only when printing: This is usually a printer driver issue. Change your default printer to "Microsoft Print to PDF" in the Windows settings. If Excel stops hanging, the issue is with your physical printer's driver, which needs to be updated or reinstalled.
Excel hangs during startup: Check the XLSTART folder. Excel automatically opens any file placed in this directory. If a corrupted file or a heavy macro-enabled workbook is sitting in C:\Users\Username\AppData\Roaming\Microsoft\Excel\XLSTART, it will cause the app to hang every time it launches. Move files out of this folder to test.
System-wide slowdown: Open the Task Manager and check the CPU and Memory tabs. If your RAM usage is at 90-100%, Excel may hang because it has no memory left to process data. Close other memory-heavy applications like web browsers with many tabs open.
Frequently Asked Questions
Why does Excel hang only when I scroll?
This is often caused by "Freeze Panes" on a very large sheet or hardware graphics acceleration conflicts. Try disabling hardware acceleration in the advanced options or clearing excessive conditional formatting.
Can a virus cause Excel to stop responding?
Yes, some malware can interfere with Office processes or inject malicious macros into workbooks. Run a full system scan with your official security software to ensure the system is clean.
Will restarting my computer fix the hanging?
A restart clears the system RAM and terminates all background processes that might be conflicting with Excel. While it is a temporary fix, it often resolves issues caused by memory leaks.
Does the version of Excel I use affect these freezes?
Yes, older versions may lack the optimization found in Microsoft 365. However, the most common cause of hanging across all versions is the complexity of the data and the use of unstable add-ins.
Why does Excel hang when I open a file from an email?
Excel often triggers a "Protected View" security check for files from the internet. If the security scanner or network is slow, the app may appear to hang while it validates the file's safety.