Excel has no single "Find Errors" button that sweeps a whole workbook, but you can do the same job quickly with three built-in tools: the Error Checking command on the Formulas tab, Go To Special > Errors, and the Formulas > Show Formulas view combined with conditional formatting. Together they let you locate every #DIV/0!, #N/A, #VALUE!, #REF!, #NAME? and #NUM! cell, see what the formula is doing, and repair it without scrolling through thousands of rows.
The steps differ slightly between Excel for Windows, Excel for Mac and Excel for the web; labels can also change a little between versions and regions, so if a button is not exactly where described, look for the closest match on the same tab.
What You'll Need
- Excel 2016 or later on Windows or Mac, or Excel for the web. The older desktop versions have the same core tools but fewer options.
- A workbook you can edit — open a copy if the sheet is shared or you have no backup.
- Permission to change the file, since fixing errors means rewriting formulas.
- A basic idea of which column holds the calculated results. Error checking works best when it points at a specific range.
Step-by-Step
- Save a copy first. Use File > Save As and keep the original intact. Error checking can accidentally be applied to the wrong cells, and having a clean copy makes comparison easy.
- Turn on background error checking. Go to File > Options > Formulas (on Mac, Excel > Preferences > Error Checking). Make sure the box for enabling background error checking is ticked. Below it, the list of rules shows which error types Excel flags; the default of checking all of them is fine for a first pass. In the same dialog you can also set the error colour, which is helpful on a busy sheet.
- Look for the little green triangle. With background checking on, every cell that passes an error rule gets a green corner marker. Click a marked cell and a warning icon appears beside it; clicking the icon opens a menu with options such as Edit in Formula Bar, Ignore Error and Number Stored as Text. For a quick scan, this is the fastest visual signal that something is wrong.
- Run the full check from the Formulas tab. Click any single cell, then go to Formulas > Error Checking (usually in the Formula Auditing group). Excel walks through each flagged error one at a time, selects the cell, and shows a dialog with Previous, Next, Ignore Error and Show Calculation Steps. Use Show Calculation Steps to see which part of the formula produces the error — for example, an empty cell being divided into.
- Fix each error in place. When you accept a suggested correction, Excel changes the formula. If the suggestion is wrong, click Edit in Formula Bar and change the reference yourself, then press Enter. Use Next to keep going to the end of the sheet. Error checking only covers the active worksheet, so repeat it on each tab.
- Find every error in one shot with Go To Special. Select the range you want to check (or click a single cell to check the whole used range), then press Ctrl+G on Windows or Control+G on Mac, click Special, choose Errors, and click OK. All error cells in the selection are selected at once — the status bar shows how many. This is the quickest way to see the total count and jump around with the Tab key.
- Colour the errors so they are obvious. With the error cells still selected, go to Home > Conditional Formatting > Highlight Cells Rules > More Rules, choose Format only cells that contain and set the rule to Errors. Pick a red fill. Now any new error you introduce is immediately visible, which is far safer than retyping colours by hand.
- Investigate the logic, not just the symptom. Click into a broken formula and press Ctrl+` (the key left of 1) to toggle Show Formulas. Every cell on the sheet displays its formula instead of its result, which makes it clear where a reference has slid off the data. Press Ctrl+` again to go back.
- Trace the precedents. On the Formulas tab, Trace Precedents draws arrows from the cells a formula depends on, and Trace Dependents shows which formulas use the current cell. Use Remove Arrows when finished. This uncovers errors that come from a wrong reference rather than a wrong operator — for instance, a formula pointing at the row above.
- Check with Evaluate Formula for anything stubborn. On the Formulas tab, click Evaluate Formula. It steps through the calculation one part at a time; click Evaluate repeatedly and watch where a value turns into #VALUE! or #REF!, then close the dialog and change that specific piece.
- Guard the fix against reappearing. Wrap risky calculations in IFERROR, for example =IFERROR(A2/B2,"No data"), so a blank divisor returns a readable label instead of #DIV/0!. Use IFNA when you only want to catch lookup misses. Avoid hiding errors you do not understand — masking a broken reference can hide a real data problem.
Common Mistakes
- Ignoring errors in bulk. Clicking Ignore Error on every prompt clears the green triangles but leaves the wrong values in the sheet. Only ignore when you are certain the flag is a false positive, such as text that is intentionally stored as text.
- Checking only the visible sheet. Error Checking and Go To Special act on the active worksheet, and Go To Special only looks inside the selected range. Hide and unhide tabs, then repeat, or the broken tab will slip through.
- Deleting rows to "fix" #REF!. Deleting the source of a reference creates more #REF! errors. Restore the row, then repoint the formula with Trace Precedents.
- Pasting values over formulas. A quick Ctrl+C then paste-as-values hides an error by freezing its wrong result. Check the source formula before you flatten the sheet.
- Assuming one error type is the whole story. #N/A is usually a lookup miss, #VALUE! is usually mismatched data types, #DIV/0! is a zero or empty divisor, #NAME? is a misspelled function or missing quote, and #REF! is a broken reference. Each needs a different fix.
Tips
- Press F5 (Ctrl+G on Mac) and use Special > Errors before you start typing corrections — that count tells you how big the job is.
- Set the error indicator colour in File > Options > Formulas to something you can spot on your particular sheet colour.
- Use Data > Data Validation where appropriate to stop bad inputs at the source, so the errors never appear.
- Keep a helper column that flags rows with a formula such as =ISERROR(A2) or =COUNTIF(range,ERROR.TYPE(A2)) logic. A simple =ISERROR() column sorted descending brings problems to the top.
- In Excel for the web, the Error Checking command is not always available; use Go To Special and the green triangles instead, or open the file in the desktop app.
Troubleshooting
No green triangles appear. Background error checking is probably off. Re-enable it in File > Options > Formulas and make sure the per-rule boxes are ticked. Some rules, such as inconsistent formulas, are off by default and need manual ticking.
Error Checking is greyed out. You may be in a protected sheet, a shared workbook, or editing a cell rather than a range. Stop editing with Escape, unprotect the sheet if you own it, and try again.
An error vanishes but the total is still wrong. The cell now returns a default value that hides the cause. Turn on Show Formulas (Ctrl+`) and trace the precedents to find the bad reference; fix the data rather than the display.
The workbook is slow after applying conditional formatting. Restrict the rule's applied range to the used range instead of whole columns, or remove and reapply the rule to a smaller selection.
Errors return after you reopen the file. The workbook may be linked to an external source that has changed, or the values were pasted over formulas. Check Data > Edit Links and confirm the source files still exist.
If none of that works, save a copy, then compare it against the original with the error column sorted, so you can see exactly which formulas changed.
Frequently Asked Questions
Can Excel find every error in a whole workbook at once?
No. Error Checking and Go To Special work on the active sheet, and Go To Special respects the selected range. You need to repeat the check on each tab, or use a macro if you are comfortable with VBA.
What is the difference between Ignore Error and deleting a cell?
Ignore Error only removes the visual flag for that cell; the value stays the same. Deleting clears the cell and everything that depends on it.
Why does my formula show #N/A when the value clearly exists?
Usually a lookup miss caused by trailing spaces, numbers stored as text, or an exact-match setting missing in a lookup function. Trim the source values and check number formats match.
Is IFERROR the same as IFNA?
IFERROR catches every error type and returns your fallback. IFNA catches only #N/A, which is safer when you want to see genuine #VALUE! or #REF! problems.
Can I check only one column?
Yes. Select that column's range, then use Go To Special > Errors or run Error Checking with the range selected.
Do these tools work in Excel for the web?
Go To Special and background error checking work in the web version, but the full Error Checking dialog may be missing. Use the desktop app for the complete experience.