LibreOffice Calc field guide
LibreOffice Calc Troubleshooting and Error Reference
Match the symptom, investigate a copy and prove that the repair changes the result for the right reason.
The short answer
Preserve the workbook, record the exact symptom and version, then make the smallest relevant repair. A display issue, broken formula, stale link and damaged profile need different checks.
Formula or wrong result
Import, save or sharing issue
Crash or display failure
Start with the symptom, not a blanket reset
Keep the original workbook unchanged and investigate a separately named copy. Record the formula, visible error, relevant input cells, file format and LibreOffice version before changing anything. If a file cannot be saved, preserve a second copy in an authorized writable location before troubleshooting the original location; do not overwrite the only recoverable file.
This reference uses LibreOffice 26.8 desktop Help, first checked on 2026-10-21 and rechecked on 2026-10-23. It is a source-checked diagnostic route, not a new native application test or an exhaustive error-code catalogue. Menu wording varies with platform and interface; the linked tutorials state their own tested or documented scope.
Formula error, display problem, or plausible wrong number?
Select the affected cell and read its formula and status-bar message. The official Calc error reference distinguishes these cases:
| Symptom | What to investigate first |
|---|---|
### |
Width of the displayed value, not a missing calculation. Widen the column before editing the value. |
Err:502 |
An argument outside the function’s allowed domain. Use the 502 diagnostic guide. |
Err:509 |
A missing operator. Follow the 509 syntax checks. |
#VALUE! / 519 |
An incompatible input type. Inspect the referenced inputs before converting anything. |
#REF! / 524 |
A missing or invalid reference. Compare the formula with the last known-good copy. |
#NAME? / 525 |
An unresolved name, function or dependency. Check spelling and availability, not just punctuation. |
#DIV/0! / 532 |
A zero divisor or a function-specific insufficient-input condition. Check the inputs and function rules. |
#N/A |
A requested result is unavailable. For a lookup, inspect the lookup value and matching rules before hiding the error. |
Err:540 |
External content is disabled. Verify the source and intended access before allowing any reload. |
| 522 or 523 | A circular dependency or failed convergence. Use the calculation and circular-reference guide. |
A number with no error symbol can still be wrong. Follow Detective’s dependency checks when the result is plausible but does not match the intended calculation. Do not replace a formula with the expected answer: that only conceals the failing dependency.
Route to the smallest relevant repair
- Numbers imported as text: use numeric-type diagnosis. For incoming files, fix CSV import settings before repeating a bulk conversion. Keep identifiers such as postal codes separate from quantities.
- A formula copied from Excel will not parse: compare formula separators and syntax, then test one formula in isolation. Do not globally replace commas across text, decimals and formulas.
- A linked value is stale or blocked: inspect external-workbook paths and update prompts. A blocked external source is not permission to enable unknown content.
- A cell cannot be edited: distinguish sheet/cell protection from file access. Ask the workbook owner rather than trying to defeat protection.
- A saved revision or shared edit is missing: follow document recovery or shared-file conflicts. Never delete a lock file while another editor may be using it.
- Only printed output is wrong: compare the screen with print/PDF settings before changing cell data.
If even a new workbook crashes or renders incorrectly
After saving your work, the 26.8 Help documents Help → Restart in Troubleshoot Mode. Choose Continue in Troubleshoot Mode for a temporary diagnostic session. This uses a temporary profile and disables hardware acceleration. If the problem disappears, record that observation; it narrows the cause but does not identify one specific extension or setting.
Use Restart Normally to leave that session. Do not start with a factory reset, uninstall shared extensions, or apply permanent profile changes merely to test a theory. Review the official Troubleshoot Mode options first. A profile archive can contain private information; do not upload it without inspecting it.
Verify the repair
Try this small calculation check in a disposable workbook. It is independently calculated, not executed in Calc for this page:
- Enter numeric 12 in B2 and 18 in B3; enter
=SUM(B2:B3)in B4. Expect 30. - Change B3 to 20. Expect 32, then restore 18 and expect 30 again.
- Save the copy, close it and reopen it. Repeat the change check rather than trusting only the displayed saved result.
- If the result does not respond, inspect input types, calculation settings and references through the relevant guides above. Do not force B4 to 30.
This checks only a basic dependency. Your original failing case still needs its own expected result; passing this example does not validate external links, imported dates, macros or every formula in the workbook.
Test both the original failing case and a changed input that should affect the result. Then restore the intended input, save the repaired copy, reopen it and repeat the check. Keep a brief record of the cause, changed setting or formula, and expected versus actual result. If the failure remains, prepare a minimal non-confidential example and include the exact version, operating system and steps; do not send the original sensitive workbook as your first diagnostic sample.
Calculation error reference
For worked examples of specific formula errors, browse the calculation error reference. Use the relevant guide on a disposable example or a copy of your workbook.
Independent guidance, not affiliated with LibreOffice Calc. The guide illustrations and icons are original concept artwork, not application screenshots or official logos. Any application screenshot in the article has its own evidence note.