#DIV/0! or #REF!. The formula editor shows messages as you type, and a table that cannot calculate shows a notice instead of values. This page lists each code, message, and notice, and what it means. For the steps to fix a formula, see Fix a formula that shows an error or a wrong number.
Cell error codes
A cell shows an error code when its formula cannot produce a value. Point at the cell to see the message. When the error started in another cell, the message adds lines that begin with originating in and via, naming the Variable and items where it started and each step it passed through. Right-click the cell and choose Fix to start a chat with Ari about it. An error spreads: a cell that reads a cell with an error shows the same code and message.iferror catches an error and returns a fallback; see iferror.
When a cell has no message of its own, it reads Formula evaluation failed. The formula contains an error or references invalid data.
#DIV/0!
#DIV/0! means the formula divides by zero or by an empty value. The message reads division by zero. The % remainder operator and a zero raised to a negative power cause it too. Guard the divisor with if(Revenue <> 0, ..., 0), or wrap the division in iferror.
#VALUE!
#VALUE! means a value has the wrong type, a function has the wrong number of arguments, or the formula text cannot be read. The message names the problem, for example IF requires exactly 3 arguments, SUM requires between 1 and 10 arguments, DATE expects numeric values, DATEDIF expects date values, DAYSIN expects a date value, or Invalid string escape. A formula with a syntax mistake shows the editor’s message for it.
#REF!
#REF! means the formula names a Variable or Dimension that does not exist, for example one that was deleted or a name with a typo. The message begins with Variable or dimension not found, or reads Unsupported reference or Expected a property reference. Point the reference at a Variable that exists.
#NAME?
#NAME? means the formula calls a function cfo.ai does not have, such as VLOOKUP or SUMIF. The message reads Unknown function. See Excel functions that are not available.
#NUM!
#NUM! means a calculation has no valid number as its answer. The message names the case:
#CIRC!
#CIRC! means a circular reference: the cell’s formula reads the cell itself, directly or through other formulas, in the same period. The message reads Circular reference. Common causes are a running balance written without [-1], two Variables that read each other in the same month, and a total formula that also runs on the rows beneath it. See Fix a circular reference.
#ERR!
#ERR! means the calculation failed for a reason that has no more specific code. Point at the cell for the message, or right-click it and choose Fix.
#NO_ROLLUP
#NO_ROLLUP appears only in Ari’s reads of a table by quarter, half-year, or year. It means no formula calculates the Variable at that grain, so its months are not added into the longer period. The app shows 0 in those cells. Ask Ari to give the Variable a time rollup, such as a sum of its months; see Why a quarterly view shows zeros.
Formula editor messages
The formula editor checks what you type and underlines problems in red. A formula with a problem still saves, and its cells show an error code until you fix it.Syntax messages
Name and argument messages
Dimension not in the formula’s condition
This message is a warning, not an error, and does not block the save. It says a formula reads a Dimension, such as Employee, that its condition does not include. Where the formula runs on a row that has that Dimension, the reference reads that row’s item. The formula also runs on the row above the breakdown, where there is no single item, so that row shows one looked-up item’s result instead of a total. Give the rows above their own formula, or add the Dimension to where the formula applies.Other editor messages
When the server refuses to save a cell or formula, the notice is listed in Table block controls and messages.
Ari’s save refusals
A formula you type in a table always saves, even with a mistake. A formula Ari or a connected AI agent writes is checked first, and the write is refused when it has one of these problems. Ari reads the reason and usually corrects the formula itself.
When Ari writes several formulas at once, a refusal can stop the whole batch or only the formulas that failed, depending on the request. Ask Ari which changes were saved.
Ari’s save warnings
A warning means Ari saved the formula, but it may not do what the wording suggests. Ari sees each warning in its save receipt. If a number looks wrong right after a change, ask Ari to read back the warnings.
A receipt also states formulas the save wrote for you, such as the time rollup a new monthly row gets and the formulas that make a breakdown’s rows above add up the rows beneath them. See Totals, aggregation, and time rollups.
Table calculation notices
When a table cannot calculate, it shows a notice over or above the grid instead of values. Nothing is wrong with your formulas unless the notice says so.
One setup problem names an imported source that has no date column. The table cannot place the source’s rows in periods. Tell Ari which column dates the rows, or add a date column at the source and sync again; see Check what a connection brought in.