Circular references are basically against the grain of spreadsheets.
They aren’t completely prohibited, however, because they can be used in rare cases for iterative calculations with sufficient reliability. =IF(ISNUMBER(A1);COS(A1);1)
e.g. can converge to a good approximation of the solution of the equation x=COS(x)
. Anyway there must be a termination condition. There are two respective parameters that can be set under ‘Tools’>‘Options’>‘LibrOffice Calc’>'Calculate. In the same dialogue you first need to enable circular references.
The example you give does not look like one for fixed-point convergence. Be careful. Many attempts to use conditionally suspended circular references pretend to work as expected under some testing, but fail under real-world conditions.