Contact

Apache OpenOffice Calc · References and calculation · Intermediate

Control recalculation and investigate circular formulas

Separate stale calculation from circular references, test hard recalculation and use iteration only for a deliberate convergent model; inspect date origin separately with a fixed numeric serial.

Documentation-qualified exercise; native application verification pending · Editorial standards

A stale value and a circular reference are different problems. Recalculate before rewriting a correct formula; inspect the dependency loop before enabling iteration. Iteration is a modeling choice, not a universal error-suppression switch.

Scope and a simple recalculation check

Use Apache OpenOffice Calc 4.1 desktop, English menus and Windows/Linux keyboard conventions. This is a documentary exercise with independently calculated expectations, not a native-tested configuration change. Use a disposable ODS file and record existing calculation settings before changing anything.

Enter A1=Units, B1=10, A2=Rate, B2=8, A3=Total and B3 with =B1*B2. The expected total is 80. Change B1 to 12; the correct recalculated total is 96.

If B3 still shows 80, first inspect its input-line formula and confirm it is not the constant 80 or a text string. The formula-text guide addresses text-entry problems. Press F9 to recalculate formulas whose inputs changed. If needed, use Ctrl+Shift+F9 for a hard recalculation of all formulas, as documented for this platform.

Do not conclude that the workbook is fixed merely because a forced recalculation produces 96. Check whether automatic recalculation is enabled under Tools > Cell Contents > AutoCalculate and retain the intended workflow setting. A manual-calculation workbook needs a deliberate recalculation step before readers rely on its totals.

Check date-origin interpretation separately

A consistently wrong calendar date may be an interpretation problem, not a stale formula. Record the expected date, the displayed date, and the file’s source before changing formulas or calculation settings.

In Tools > Options > OpenOffice Calc > Calculate, inspect the Date section and record the selected day-zero option. Close without applying a change. The Apache OpenOffice 4.1 guide documents three origins: 1899-12-30 (default), 1900-01-01 (StarCalc 1.0), and 1904-01-01. A date origin determines how a number maps to a calendar date; changing only the date’s display format does not choose a different origin.

Keep the raw numeric serial fixed for this independent calendar-arithmetic check:

Raw serial Day-zero origin Expected calendar date
45000 1899-12-30 2023-03-15
45000 1904-01-01 2027-03-16

These expectations come from adding 45000 calendar days to each origin, not from running Calc. The origins are 1462 days apart; with the same serial, the 1904-origin date is 1462 days later. Such a discrepancy is a diagnostic clue, not proof: establish the actual numeric serial and the source’s intended origin before deciding on a repair. Recalculation alone cannot establish which origin the source intended.

Do not blindly switch a production workbook’s origin or subtract 1462 from all dates. If a setting-change experiment is needed, use only a disposable copy, record the original setting first, and restore it before returning to other work. Do not assume how this option persists across files or reopening. The StarCalc 1.0 option is not evidence of equivalence to Excel’s legacy 1900 leap-year behavior. Current GUI behavior and setting persistence remain native-verification tasks; this section does not cover the wider load/save defaults.

Recognize an accidental loop

In a separate part of the sheet put D1 with =E1+1 and E1 with =D1+1. With iteration disabled, this is an invalid circular dependency. Algebraically it would require D1=D1+2, which has no solution.

Use Tools > Detective > Trace Precedents on the cells to see the two-way dependency, and inspect their formulas. Do not enable iteration to hide this error: repeated evaluation cannot make an impossible pair of equations valid.

For a recoverable repair, replace E1 with the intended independent input 5. D1 should then be 6. Change E1 to 7 and verify D1 becomes 8. This changed-input check confirms the repaired chain has a meaningful direction rather than merely clearing an error display.

Try iteration only on a deliberate model

On another disposable sheet, enter A1 with =(A1+10)/2. This intentional self-reference has the fixed point 10. Starting from zero, successive mathematical values are 5, 7.5, 8.75 and 9.375: the difference from 10 halves at each step.

Open Tools > Options > OpenOffice Calc > Calculate. In Iterative References, note the existing settings, enable Iterations, and use a bounded Steps value such as 100 with Minimum Change 0.0001. Confirm and recalculate. The expected result is close to 10, not necessarily exactly 10 in every displayed digit or starting state.

The Steps setting limits iteration count; Minimum Change sets a stopping threshold between successive results. Neither establishes that your business model is correct or that an arbitrary circular formula converges. For this particular formula the contraction factor is one half, which independently explains convergence.

Change the constant 10 in the formula to 20. The fixed point becomes 20, and the recalculated value should approach it within the chosen tolerance. A small successive change is not a general guarantee of a small error from the true solution, so use independent mathematical checks where possible.

Restore settings and save an understandable file

After observing the intentional example, replace its self-reference with a normal formula or discard that disposable sheet before restoring the original iteration setting. Recheck the noncircular model with B1=12, B2=8 and B3=96. Do not leave iteration enabled globally as a hidden dependency of unrelated workbooks.

Save and reopen the noncircular ODS file, verifying values and formulas. Avoid changing precision-as-shown as a troubleshooting shortcut: that alters calculation semantics rather than merely refreshing the display. Record any intentional iterative model and its stopping parameters alongside its result.

Official references

Apache OpenOffice 4.1 Calc Guide, Chapter 14, Calculate and Iterative References, and Appendix A recalculation shortcuts. Recovered guide retrieved 19 October 2026; configuration persistence and error presentation remain native-verification tasks.

Apache OpenOffice 4.1 Calc Guide — Date Section, revision 265106, checked 27 October 2026 (Toronto). Supports the three documented day-zero choices; the worked dates above are independent calendar calculations.