# Excel formula inspector

> List every formula in an Excel workbook and find #REF!, #DIV/0!, circular references, inconsistent formulas and links to other files. Free, private.

Canonical: https://cromagnon.app/tools/excel-formula-viewer
Last updated: 2026-10-26

- Category: Analyze
- Formats: XLSX · XLSM · XLS · ODS
- Use it: https://cromagnon.app/tools/excel-formula-viewer (free, runs in the browser)

## What it does

Open an Excel workbook and see every formula in it on one page: the cell, the formula, the result Excel saved and the cells and functions it uses. The inspector then checks each one for the problems people usually find too late: error results such as #DIV/0!, #N/A and #REF!, formulas that point to deleted cells or missing sheets, circular references, a formula that differs from the ones above and below it, links to other workbooks, prices and rates typed into formulas, slow volatile functions and formulas too long to check. It works with XLSX, XLSM, XLSB, XLS and ODS files, and the workbook never leaves your browser.

## How to use it

1. Drop your workbook on the page, or click Try a sample to see a workbook with typical mistakes.
2. Read the summary: how many formulas, how many different ones, and how many have errors or warnings.
3. Click a problem type, such as Circular reference, to list only those cells, or search for a function name or a cell like B12.
4. Click a row to see what is wrong, which cells the formula uses and what each function does.
5. Download the report as CSV to fix the cells in Excel or to send to a colleague.

Tip: Run the inspector before you send a workbook to a client or your manager. Most spreadsheet mistakes are not in the clever formulas but in one total that was typed over with a number, and the “Number typed over a formula” check finds exactly that.

## What each check finds

- **Error result**: The value Excel saved is an error: #DIV/0! (divided by zero or an empty cell), #N/A (a lookup found nothing), #VALUE! (text where a number was needed), #NAME? (a misspelled function), #NUM!, #NULL!, #SPILL! or #CALC!. Each comes with the usual cause and fix.
- **#REF! in formula**: The formula text itself contains #REF!, which Excel writes when a row, column or sheet the formula used was deleted. The value can't be fixed by recalculating; that part of the formula has to be retyped.
- **Missing sheet**: The formula refers to a sheet name that isn't in the workbook, often after a sheet was renamed in another copy of the file.
- **Circular reference**: A formula that uses its own cell, directly (=A1+1 in A1) or through other cells (A1 uses B1 and B1 uses A1). Excel can't finish such a calculation unless iterative calculation is switched on on purpose.
- **Differs from neighbours**: The cells above and below (or left and right) share one formula pattern and this cell doesn't. It is Excel's green-triangle check, and it catches formulas copied from the wrong row or edited by hand.
- **Number typed over a formula**: A plain number in the middle of a column of copied formulas. Someone typed a value over the formula, so the cell no longer updates when its inputs change.
- **Link to another file**: The formula takes values from another workbook. If that file is moved, renamed or not shared, the numbers silently stay old or break.
- **Typed-in number**: A number like 1.17 or 500 typed into a formula next to + − × ÷. Tax rates, prices and targets change; keep them in a labelled cell and refer to it.
- **Volatile function**: NOW, TODAY, RAND, RANDBETWEEN, OFFSET, INDIRECT, CELL and INFO recalculate after every change anywhere in the workbook. Thousands of them make a big file slow.
- **Whole column or row**: References like A:A or 3:3. They are fast in SUMIFS, COUNTIFS and XLOOKUP but slow in SUMPRODUCT and array formulas.
- **Long or deeply nested, many nested IFs**: Formulas over 250 characters, more than six brackets deep, or with four or more IFs inside each other. They work, but nobody can check them; IFS, SWITCH, LET or a lookup table is clearer.

## How “different formulas” are counted

When you fill a formula down a column, Excel stores =B2*C2 in row 2, =B3*C3 in row 3 and so on. They are written differently but are the same formula: each multiplies the two cells to its left. The inspector rewrites every formula in relative form (the R1C1 style Excel uses internally), so a column of 5,000 copied formulas counts as one. A sheet with 5,000 formulas but only 12 different ones is easy to review: check the 12 patterns, then look at any cell flagged as differing from its neighbours.

## Example

The sample workbook has a sales sheet where Total is =B2*C2 filled down. In row 4 someone typed 150 over the formula. The inspector lists D4 as a number typed over a formula, because D3 and D5 around it share the =B3*C3 pattern. The value looked right the day it was typed, but it won't change when the quantity or price does. The same sheet multiplies by 1.17 for VAT in every row, flagged as a typed-in number, and divides by the total in D7, which includes itself in SUM(D2:D7): a circular reference. On the summary sheet, a link to [1]Archive points to another file and a reference to a deleted Budget sheet shows #REF!.

## Fixing what it finds

- **Errors from empty cells**: Use =IF(B2=0,"",A2/B2) or IFERROR around lookups, but only where an empty result is really fine. IFERROR hides real mistakes too.
- **Circular references**: In Excel, Formulas › Error Checking › Circular References jumps to them. Usually a SUM range simply includes its own total row; end the range one row higher.
- **Typed-over formulas**: Copy the correct formula from the cell above (Ctrl+D fills it down) and check the result.

## Tips

- **Search by function**: Type VLOOKUP in the search box to list every lookup in the workbook, which is handy before replacing them with XLOOKUP.
- **Look at the named ranges**: Names that show #REF! are broken and make every formula using them fail; delete or fix them in Formulas › Name Manager.

## Questions

### Does it change my workbook?

No. It only reads the file. To edit formulas, open the workbook in Excel or in Excel Studio.

### Why does a result look out of date?

The inspector shows the values Excel saved with the file; it doesn't recalculate. If the file was saved with calculation set to manual, the values can be old.

### Can it open password-protected files?

Not files that need a password to open. Workbooks with only protected sheets open fine.

### Does it read CSV files?

A CSV file can't contain formulas, only values, so there is nothing to inspect. Open the .xlsx version.

### How big a workbook can it handle?

Files up to 60 MB. Loops through other cells are traced in books of up to 3,000 formulas; bigger books are checked for cells that use themselves.

### Is my file uploaded?

No. The file is opened and checked in your browser; it never leaves your device, so you can use it with financial, customer or HR workbooks.

## Related

- [Spreadsheet Comparison](https://cromagnon.app/tools/data-diff)
- [Excel Workbook Merger](https://cromagnon.app/tools/excel-merger)
- [Excel to CSV](https://cromagnon.app/tools/excel-to-csv)
- [Column Analyzer](https://cromagnon.app/tools/column-analyzer)
- [All tools](https://cromagnon.app/tools)
