format="xlsx". You get an .xlsx with real formulas (not pasted numbers), the assumptions in their own cells and
every formula recalculated and checked before it is delivered, plus its PDF.
The problem in practice
- The model tends to write the already computed result: the sheet looks right but doesn’t update when a value changes.
- The formulas it writes can point at the wrong cells and end up as
#REF!or#DIV/0!. - When the file is built with code, formulas aren’t calculated until someone opens it, so errors go unnoticed.
- Newer functions like
XLOOKUPorFILTERdon’t work in every version of Excel.
The solution with Doconda
doconda.files.upload("sales.xlsx") and pass it in sources.
What you get back
- An
.xlsxwith formulas: change an assumption and the sheet recalculates. Its PDF too. status:ready,ready_with_warnings,needs_revieworfailed(not charged).- A report (
documents.report(id)). Figures that don’t come from your request or your sources are removed or flagged for you to check.
FAQ
How do I make ChatGPT create an Excel file with formulas instead of values?
How do I make ChatGPT create an Excel file with formulas instead of values?
On its own the model returns text or computed values. With
documents.create(format="xlsx", prompt=...) Doconda
builds the file with formulas and checks that none of them errors before delivering it.How do I avoid #REF! and #DIV/0! errors in an AI-generated Excel file?
How do I avoid #REF! and #DIV/0! errors in an AI-generated Excel file?
Doconda recalculates every formula until no error is left. For an Excel file you already have, review it with
operation="review": formulas with errors and broken references show up in the report.Can I review an Excel file I already have?
Can I review an Excel file I already have?
Yes. Upload it with
files.upload and call documents.create(operation="review", file=...). Among other things it
detects numbers stored as text and sheets too wide to print. See Review.Keep reading
- Create: formats, sources and quality levels.
- Review: the list of issues detected in Excel.
- Python SDK and TypeScript SDK.
- Doconda in your agent.
- Examples on GitHub.