Contact

Gnumeric field guide

Gnumeric Troubleshooting: Errors, Wrong Results and Files

Start with the symptom, inspect the first failing input and verify a reversible repair on a copy.

General GUI guidance is documentation-supported, not newly GUI-tested. The existing October 22, 2026 Gnumeric 1.12.62 headless DURATION case is preserved with its exact runtime and unresolved limit. Official support routes were rechecked October 25, 2026; no report was submitted.

The short answer

Separate formula-entry warnings, calculated errors, clipped display and plausible-but-wrong results. Preserve the original, check the installed version and test a change-and-restore cycle before accepting a repair.

Visible error

Find an error code

Distinguish invalid arithmetic, missing names and broken references from a column that is simply too narrow.
No error displayed

Check a plausible wrong value

Inspect inputs and dependencies before hiding the result with IFERROR or changing displayed precision.
Files and editing

Recover from an import problem

Keep the unchanged source and route CSV, format exchange, validation and printing issues separately.

Decide which kind of failure you have

Preserve the original file and work on a separately named copy. Record the Gnumeric version, Linux distribution, file format, exact formula and visible message. The general guidance covers Gnumeric desktop 1.12-series documentation checked on 2026-10-21. The separately scoped DURATION case below adds 2026-10-22 command-line observations; it does not validate the graphical workflows. Distribution builds and translations may differ. This reference makes no current Windows-build claim.

Start with the distinction that saves the most time: a formula-entry warning, a calculated error value, a clipped display and an incorrect numeric result require different investigations. Recalculation does not repair the wrong reference, and widening a column does not repair invalid arithmetic.

Read the visible symptom

The official data-types and error-elements reference documents these distinctions:

Gnumeric visible symptoms and the first check
Symptom First diagnostic direction
A formula-entry warning Inspect the expression before accepting it as text. A stored text expression is not a repaired calculation.
A row of hash marks Widen the column or inspect the selected cell’s data-entry area. The value may simply not fit.
#DIV/0! Inspect the divisor and the inputs producing it.
#NAME? Check a function or defined name that cannot be resolved.
#NUM! Check whether a numeric argument is valid for the operation.
#REF! Inspect the referenced address and any deleted or moved source.
#VALUE! Check the argument types.
#UNKNOWN! Investigate an imported error that Gnumeric did not recognize. Preserve the source file for comparison.
#N/A Establish whether an unavailable result is intentional or signals missing input.
#NULL! Inspect an intersection of ranges that may not overlap.
Category frequencies total less or more than 100% Compare the specified category list with the source labels; check for omitted or repeated categories before changing the observations. See the frequency-total check.

This is a routing table, not a promise that one symptom has only one cause. Begin at the earliest failing input, not at the last total that repeats its error. Avoid wrapping every formula in an error handler before identifying the cause: doing so can turn broken data into apparently clean output.

A safe diagnostic control

Try this original control only in a blank disposable workbook. Enter A1 = 12, A2 = 0, and A3 = =A1/A2. Division by zero should produce #DIV/0!, rather than a useful ratio. Change A2 to 3: the independent expected result is 4. Restore A2 to 0 and expect the error again. This is an arithmetic expectation grounded in the documented error meaning, not a new native execution result.

The test separates a bad input from a broken installation. In a real workbook, investigate why the denominator is zero and what a missing denominator should mean. Do not replace every zero with 3 or suppress every error merely because this synthetic control calculates successfully.

If the number looks valid but is wrong

Use the existing formula-result diagnostic exercise. It separates calculation freshness, wrong dependencies, numeric-looking text and display precision, and provides independently calculated expected results. Follow its change-and-restore tests rather than retyping a total to match an expectation.

For copied formulas, compare the first, middle and last rows with relative, absolute and mixed references. A single fixed row reference can produce a plausible value throughout an otherwise correct column. For labels used in formulas, inspect the intended named range rather than changing every occurrence of the name blindly.

A reproduced DURATION discrepancy in 1.12.62

A number can also disagree with an independent model after fresh calculation. In the specific test below, changing settlement from a coupon date to halfway through the annual coupon period did not change DURATION’s result, although the timed cash-flow reference changed by 0.5 year.

Test scope: Gnumeric 1.12.62, GOFFICE 0.10.61, Debian 13 Linux x86-64, headless ssconvert calculation, C.UTF-8 locale and UTC, checked October 22, 2026. The discrepancy was independently reproduced after removing formula caches. This is an observed software discrepancy, not a vendor-confirmed or universal bug claim. No GUI or receiving application was tested.

The official DURATION help describes Macaulay security duration. These synthetic inputs use annual payments and US 30/360, not a growth-period calculation:

Synthetic inputs for the bounded DURATION discrepancy
Cell Entry Meaning
B2 =DATE(2024,1,1) Coupon-date settlement
B3 =DATE(2026,1,1) Maturity
B4 0.05 Annual coupon rate, 5%
B5 0.04 Annual yield, 4%
B6 1 Annual payment frequency
B7 0 US 30/360 basis

With those inputs, the native CLI observations and independent references are:

Observed and independent DURATION results for the two settlement dates
Expression Observed Gnumeric result, years Independent reference, years
=DURATION(B2,B3,B4,B5,B6,B7) 1.952813067151 1.952813067151
=DURATION(DATE(2024,7,1),B3,B4,B5,1,0) 1.952813067151 1.452813067151

The table rounds to twelve decimal places. For 100 nominal units, the remaining payments are 5 on January 1, 2025 and 105 on January 1, 2026. At the January 2024 settlement they occur in one and two years. Their discounted time-weighted mean is (1*5/1.04 + 2*105/1.04^2)/(5/1.04 + 105/1.04^2), exactly 1076/551 years.

At the July 2024 settlement, the same payments are 0.5 and 1.5 years away under this basis. Using those times in both discounting and weighting gives (0.5*5/1.04^0.5 + 1.5*105/1.04^1.5)/(5/1.04^0.5 + 105/1.04^1.5), exactly 1601/1102 years. A common discount factor cancels, so this reference is exactly one-half year below the first. The native result stayed at the first value. Agreement on the coupon-date case therefore does not validate the mid-period case.

The released 1.12.62 source archive helps explain this observation. In plugins/fn-financial/sc-fin.c, the Duration helper weights and discounts whole coupon ordinals; it does not use its settlement, maturity or basis parameters. The wrapper in plugins/fn-financial/functions.c supplies the remaining coupon count. This source reading explains the tested case, not every possible date schedule.

Keep any affected operational result unvalidated until its actual cash-flow timing has been checked independently. Recalculation, extra displayed decimals and IFERROR do not correct this discrepancy. Do not subtract 0.5 from every DURATION result: that difference belongs to this exact example, not a general repair. Nor should you change a real settlement date to a coupon date merely to obtain agreement. Preserve the original, record the exact build and inputs, and retest the real schedule in any proposed replacement calculation or application before relying on it.

G_DURATION is a different growth-period function, not a substitute. This bounded software check is not a general bond calculator or financial advice, and establishes no result for another Gnumeric version, another platform or another application.

Category frequencies do not total 100%

The category frequency-table guide owns the procedure and existing eight-outcome CSV. Gnumeric’s documented Frequency tool uses a specified category list. Repeating a category can count its observations again; omitting a category can leave observations unrepresented. Inspect that list and the selected input range before treating a percentage discrepancy as a calculation failure.

For the guide’s unchanged data, independent counts are Pass = 4, Fail = 3, Pending = 1, out of 8 observations:

Independent frequency-total expectations, not observed Gnumeric output
Specified categories Sum of listed counts Share of all eight observations
Pass, Fail, Pending 8 100%
Pass, Pass, Fail, Pending 12 150%
Pass, Fail 7 87.5%

Keep the original observations unchanged. On a practice copy, check that each intended category appears once and that the list covers the labels you intend to report. For this complete three-category summary, restoring the list to Pass, Fail, Pending restores the independent expectation of 8 and 100%. Do not delete real observations or rescale percentages merely to force a total of 100%; a deliberately partial category list needs a clear label, not invented missing records. Matching the total alone is insufficient: compare each category’s count too.

These are arithmetic expectations based on the existing fixture and documented category-list behavior. No Frequency dialog, percentage output, save/reopen or graphical workflow was executed for this diagnosis; the linked lesson retains its native-verification limit.

If the problem starts with a file or an edit

  • CSV fields, decimal values or dates are wrong: return to delimiter and decimal import settings. Test a small sample from the unchanged source. Do not erase punctuation across all columns; identifiers and amounts need different treatment.
  • The workbook changed after exchanging formats: use file-format compatibility checks. Keep both the original and converted file and compare formulas, not just displayed values. #UNKNOWN! is a reason to investigate the import, not to replace unknown results with zero.
  • An entry is rejected: distinguish validation rules from protection settings. Ask the owner whether a rule is intentional before relaxing it.
  • An export lacks expected workbook features: review clean CSV export. Treat the export as a separate data delivery, not your editable master workbook.
  • Only a printout is clipped: inspect print/PDF output before changing underlying values.

Verify a repair before keeping it

  1. Inspect the first failure: note the input types, references, exact formula and visible message. A downstream total may only repeat the first error.
  2. Make one reversible change: change an input that should affect the output, then compare against an independently calculated expectation.
  3. Restore and reopen: return the intended input, save the repaired copy, reopen it and repeat the relevant checks. Keep the original until this succeeds.
  4. Record what remains untested: another application, a graphical dialog or a different software build does not inherit this result.

When a reproducible problem remains

Find current official help

Support routes checked October 25, 2026: start with the official Gnumeric site for the 1.12-series manual and FAQ. The documented Help menu offers Contents for local help and About for your installed version. Match the documentation to that version; a release announcement does not identify the build you are running.

  • A reproducible defect: the project’s current Contact page directs bug reports to its GNOME issue tracker. Search for the same symptom and version before preparing a new report. Help → Report a Problem is the documented shortcut, not proof that an old build opens today’s destination.
  • A usage question: that same Contact page links GNOME Discourse, but says there is no good support forum and no Gnumeric developer currently follows Discourse. Do not depend on a developer reply or a response deadline.
  • A general spreadsheet concept: the manual’s Related Manuals suggests other spreadsheet documentation. Use it for background, not as proof of Gnumeric’s menu labels, formula semantics or file compatibility.

Prepare a small, privacy-safe reproducer

The manual’s report-writing guidance asks for a specific summary and repeatable steps. Prepare these locally before deciding whether to submit anything; its historical field list is not a specification of today’s tracker form.

  1. State the boundary: record the exact Gnumeric version, operating system/distribution, locale, file format and whether you used the GUI or a command-line tool. Describe the first failing action, the actual result and an independently justified expected result. Distinguish a crash, lost data, a wrong value and a feature request.
  2. Rebuild with invented data: preferably start in a blank workbook. Keep only the necessary cells, formulas and input types. For an import-only failure, create a tiny synthetic source in the same format and record the import settings. Retest after each reduction; a smaller file that no longer fails is not the reproducer.
  3. Check the whole attachment: review every sheet, including hidden content, comments, names, links, document properties and any screenshots or logs. Replacing visible customer names alone is not a privacy check. If the failure cannot be reproduced without confidential information, keep the original private and describe that limitation instead.
  4. Write a replayable recipe: list entries and actions in order, including save/reopen when relevant. Report how often it fails and what changes make it stop. Do not present an unrun step or another application’s answer as a Gnumeric observation.

For example, reuse the three-cell diagnostic control: 12/3 independently equals 4, while division by zero is an expected error. Record what your installation actually displays at each step. Seeing #DIV/0! with a zero denominator alone is not a defect; a report needs the unexpected behavior and the conditions that produce it. This example adds no new native execution evidence.

Use the repair verification checks before trusting a proposed fix. The DURATION case above remains the only native calculation evidence on this page. No current support conversation, issue-submission form or new GUI workflow was tested for this update.

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 Gnumeric. 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.