Proper Spreadsheets

Spreadsheet mistakes

A formula that points at a sheet that is gone

The cell shows 0. It should show an error, and would, if IFERROR were not hiding it.

An example

=IFERROR(#REF!B2*0.2, 0)

The sheet this formula read was deleted. It now refers to nothing, and IFERROR turns that into a plausible 0, for good.

How it happens

When a sheet is deleted, every formula that used it is rewritten to #REF!. Usually the cell then shows #REF! and somebody notices. Wrapped in IFERROR it shows whatever fallback was chosen, often 0 or a blank, and nobody does.

Why it matters

A zero looks like a real answer. A summary built on it is understated, with no error anywhere to say so.

How to find it by hand

Search the workbook for #REF! with Find, Ctrl and F, looking inside formulas rather than values: in Excel, set Look in to Formulas; in Google Sheets, open Find and replace and tick Also search within formulas.

How Proper Spreadsheets finds it

The checker reads the text of every formula, so it finds #REF! used as a reference even where the cell shows a calm number, and names any sheet a formula refers to that is not in the file.

Check a whole file in seconds

Finding this by hand means reading every formula in the file. The free check reads them all, along with six other mistakes that show no error, and points to each cell. Your file is deleted as soon as the check finishes.

Other mistakes worth checking for