You are here: Features > Integrity Errors > The xx field of Cell xx in Table xx (Row x, Col x) has a xx calculation which contains a circular reference

The xx field of Cell xx in Table xx (Row x, Col x) has a xx calculation which contains a circular reference

A function in the specified cell relies on a range of cell numbers to perform its calculation. The cell in question is also included in the specified range.

For example, in a table cell, the calculation RCTOTAL(-2, 1) attempts to calculate the total of the cells in the range beginning with the cell two columns to the right and ending with the cell to the left of the cell in question. As the total is calculated, the same equation is called again which forms the circular reference.

To correct this problem:

Ensure the cell containing the equation does not fall within the range of the equation.

Note:

  • This diagnostic error may also appear if the circular reference is located in the conditional cells of an action. For example, if the same equation of RCTOTAL(-2, 1) appears in the skip condition of an event action, an integrity check error will appear. To provide more information, though, the error will appear as:

    The "<fieldname>" parameter of action "<actionname>" in the "<eventname>" cell event of Cell <cellnumber> in Table <tablenumber> (Row <rownumber>, Col <columnnumber>) has a <functionname> calculation which contains a circular reference.

Related Topics