If an Excel error won't go away, the fix is almost always one of four things: the cell is still holding an old value or format, the error is being carried by a formula that references a broken cell, the workbook is stuck in manual calculation mode, or the file itself is damaged. Start by pressing F9 to force a recalculation, then click the cell and press Delete to clear it completely, and check Formulas > Calculation Options to confirm Automatic is selected. Those three checks clear the majority of stubborn errors before you need to touch anything else.
This guide walks through the reliable order of fixes for a persistent Excel error on Windows and Mac desktop versions. Labels can differ slightly by version and region, so if a menu name doesn't match exactly, look for the closest equivalent in the same tab.
What You'll Need
- Excel for Windows or Mac (the steps below use the desktop ribbon; the web app has fewer options)
- The workbook file, saved somewhere you can write to
- A backup copy before you start deleting or repairing anything
- Access to Formulas, Data and File menus (standard in all desktop editions)
Step-by-Step
- Force a recalculation. Press F9 (or Ctrl+Alt+F9 for a full rebuild on Windows). If the error vanishes, the workbook was showing stale results. On Mac, Cmd+= also recalculates. This is the single fastest test and costs nothing.
- Check calculation mode. Go to Formulas > Calculation Options and confirm Automatic is ticked. If Manual is selected, every formula result is frozen until you recalculate, which looks exactly like a stuck error.
- Clear the cell properly. Select the cell, then use Home > Clear > Clear All rather than just pressing Delete. Clear All removes the value, the format and any comment or note attached, which Delete does not. A leftover custom format or a hidden note can keep an error visible.
- Trace the source. If the error appears in a formula cell, go to Formulas > Trace Precedents (or press Ctrl+[ to jump to the referenced cell). Fix or clear the source cell, then recalculate. Errors propagate: one #DIV/0! or #N/A in a referenced cell will show up everywhere that cell is used.
- Look for hidden rows, columns or sheets. Select the whole sheet with Ctrl+A, then Home > Format > Hide & Unhide > Unhide Rows and Unhide Columns. A hidden cell holding an error will keep feeding it into visible formulas.
- Check for circular references. Go to Formulas > Error Checking > Circular References. Excel lists the offending cell. Break the loop by editing the formula so it no longer refers to its own result, directly or through a chain.
- Remove stray spaces and text-formatted numbers. A cell that looks like a number but is stored as text will trigger #VALUE! in arithmetic. Select the column, use Data > Text to Columns > Finish to coerce it, or use the error-check triangle that appears next to the cell and choose Convert to Number.
- Break links to external workbooks. Go to Data > Edit Links. If a source file has moved or been deleted, the link returns #REF! and will not clear until you either update the source path or break the link. Breaking a link freezes the last known values, so note them first.
- Repair the file. Save a copy, then use File > Open > Browse, select the file, click the arrow next to Open and choose Open and Repair. Choose Repair first; if that fails, reopen and choose Extract Data. Extract Data recovers values and formulas but drops some formatting and objects, so keep the original.
- Test in a clean workbook. Copy the affected sheet into a brand-new workbook (right-click the sheet tab > Move or Copy > Create a copy, choose new workbook). If the error disappears, the original file is damaged rather than the formula being wrong.
Common Mistakes
- Pressing Delete and assuming the cell is empty. Delete clears contents only; the format and any note remain. Use Clear All.
- Editing the visible formula when the real problem is a cell it references. Always trace precedents before rewriting.
- Leaving calculation on Manual after a large model. It is easy to forget, and every result on screen becomes unreliable.
- Breaking external links without recording the last values. Once broken, the numbers are frozen and cannot be refreshed.
- Running Open and Repair on the only copy of the file. Always work from a duplicate.
- Assuming a red error triangle is always an error. Excel flags inconsistent formulas and text-formatted numbers the same way; read the tooltip before changing anything.
Tips
- Use Formulas > Evaluate Formula to step through a long formula one calculation at a time and see exactly where it breaks.
- Wrap risky divisions in IFERROR so a single bad input does not spread across the sheet.
- Keep a known-good copy of important workbooks before any repair or bulk edit.
- If the error only appears when printing or exporting to PDF, check the print area and any hidden columns rather than the formulas.
- Save and reopen the file after each major fix. Some errors are display glitches that clear only on reload.
Troubleshooting
If the error survives all ten steps, work through these in order. First, close Excel completely and reopen the file; a stuck calculation chain sometimes clears only on a fresh launch. Second, start Excel in safe mode (hold Ctrl while launching on Windows) to rule out an add-in. If the error disappears in safe mode, disable add-ins one at a time via File > Options > Add-ins to find the culprit. Third, check that the workbook is not protected: Review > Unprotect Sheet, since a protected sheet can block edits that would clear the error. Fourth, if the file opens with errors only on one machine, the problem may be the Excel installation rather than the file; run an Office repair from the Windows Settings apps list or reinstall from the official source. Finally, if the error is a #REF! that will not clear, the referenced cell or sheet has been deleted and the formula must be rewritten; there is no automatic recovery for a deleted reference.
Frequently Asked Questions
Why does the error come back after I delete it?
Because a formula elsewhere still references the cell, or the cell was cleared with Delete rather than Clear All. Trace precedents and clear the format as well as the content.
What does it mean if F9 fixes it temporarily?
The workbook is in Manual calculation mode, or a volatile function is not recalculating on edit. Set Calculation Options to Automatic.
Can I fix a #REF! error?
Only by rewriting the formula to point at a cell that still exists. A deleted reference cannot be restored automatically, though Undo immediately after the deletion will bring it back.
Does Open and Repair delete my data?
Repair usually preserves data but can drop some formatting. Extract Data recovers values and formulas but loses more formatting and objects. Always run it on a copy.
Why does the error only show on one computer?
Likely a difference in Excel version, an add-in, or a broken external link path that resolves on one machine and not another. Compare Calculation Options and Edit Links on both.
Is there a way to hide errors without fixing them?
Yes, IFERROR or conditional formatting can hide the display, but the underlying problem remains and will affect any calculation that uses the cell. Fix the cause where possible.