Salar Saeedi

Applied AI · Guide

How to verify an AI summary of a spreadsheet

Trace an AI-generated spreadsheet summary back to cells, normalize number formats, and rerun calculations with a deterministic check.

Salar Saeedi2 min read
Three-stage illustration — How to verify an AI summary of a spreadsheet

A product manager asks why net orders changed, and an AI assistant gives an exact percentage. The explanation is stronger when someone can trace it to the source cells and rerun the calculation under the same rules.

Give the model an output contract

Request a result that names the workbook version, relevant sheet and cells, excluded records, units, and operation to perform. Structured outputs can keep that information in a predictable shape. The application still needs to resolve the cells and validate the operation.

Source · OpenAI API — Structured model outputs

Use a small sheet with a known answer

In a synthetic example, 120 May orders minus 20 cancellations gives 100. June has 144 orders minus 24 cancellations, or 120. Net orders increased by 20%. Include duplicate IDs, blank values, and calendar boundaries to expose accidental double counting. Test Persian digits and locale-specific separators as input variants.

Source · OpenAI API — Model optimization

Make the arithmetic reproducible and visible

Perform deduplication and arithmetic in the application or a read-only analysis tool. Render the formula and basis in the final response. If the prior net value is zero, give the absolute change and explain that the percentage has no defined denominator.

What to take away

A usable AI spreadsheet answer gives the number, its basis, and a way for another person to recompute it.

References

Related work in the portfolio