Skip to main content
In an XLSX file, each cell can store a fixed value (a number or text) or a formula (=SUM(B2:B9)) together with its last calculated result. A sheet with formulas recalculates when an input changes; a sheet that only stores values is a snapshot of the calculation that never updates. The two look identical when you open the file. The difference shows only when someone changes an input, or clicks a cell to see where its number comes from.

Why it matters for generated documents

  • Typed totals can be wrong. A model that computes totals itself and writes them as numbers can get them wrong, and nobody can see where the figure comes from.
  • Formulas let the reader test assumptions. Whoever receives the sheet can change a price or a rate and see the effect across the workbook.
  • Assumptions belong in their own cells. A rate typed inside twenty formulas has to be changed twenty times; in one input cell, once.
  • Some errors hide in plain sight. A hand-typed number among identical formulas, or a broken reference (#REF!), breaks the calculation without being obvious at a glance.

Formulas in Doconda

The Excel files Doconda creates use real formulas, not pasted numbers, with assumptions in their own cells (Create). When editing, changes are made with formulas too. Before delivery the agent checks every sheet and fixes what it finds: cells showing an error such as #DIV/0!, broken references (#REF!), hand-typed numbers between matching formulas, numbers or dates stored as text, and formulas that depend on another file.

What is XLSX

How a workbook stores cells, formulas and results.

Create a document

Ask for a workbook from a sentence.

Structured output vs file output

When to return data and when to return a file.

What is OOXML

The standard behind .xlsx.