Skip to main content
Skip to content
AI

Spreadsheet Cached Values in 2027: Why an AI Can Read Yesterday’s Total

A workbook can contain the right formula and the wrong saved result. DN’s harmless XLSX fixture shows cached 150 beside inputs that sum to 200, with an independent answer key.

A translucent emerald spreadsheet grid hovers above a separate magenta block in warm light.
Reading options: audio, text size & sections

DECENTRALISED NEWS · SPREADSHEET EVIDENCE · 2027 GUIDE

An analyst asks an AI assistant to read a workbook and summarise its total. The assistant reports 150. The two visible inputs now add to 200. The formula is still correct. A plausible explanation sits between the file and the answer: the importer read a result saved inside the workbook before an input changed.

A spreadsheet formula and its stored result are separate pieces of evidence. Establish which one your importer returned, when calculation happened and whether the relevant inputs were refreshed. Asking the assistant to “check its maths” will not repair a stale value if every subsequent check starts from that same value.

Evidence checked: 29 November 2026. This 2027 guide includes a deliberately constructed, harmless XLSX example and a local arithmetic worksheet. DN tested the file with Python 3.12.14 and openpyxl 3.1.5. The experiment does not measure any AI model’s error rate, and the stale file was intentionally manufactured rather than discovered in a customer’s records.

What an XLSX formula cell can contain

Microsoft’s Open XML formula documentation describes a formula element and a separate value element. The value can hold a cached calculation result. Reading that result is useful when a consumer needs to display a workbook without implementing a complete calculation engine. It does not, by itself, establish that the result reflects the current inputs.

In our fixture, the important relationship is small enough to inspect directly. Cell B8 contains SUM(B6:B7). Its stored result is 150. B6 contains 120. The original B7 contained 30; the altered copy contains 80. Nothing about the expression tells a reader whether the saved 150 was recalculated after that change.

Three distinct questions about the same cell
EvidenceWhat it answersWhat remains open
Formula: SUM(B6:B7)Which calculation the cell specifiesWhether the formula is appropriate for the business question
Current inputs: 120 and 80Which two values this small calculation uses nowWhether those values reflect accurate, current source records
Stored result: 150What a cached-value reader can returnWhether that result was calculated from these inputs

This is a different review from checking whether code implements the formula it cites. An implementation may faithfully add two cells while another part of the workflow supplies yesterday’s stored total. Both checks matter, but they have different evidence and different fixes.

The original experiment: one changed input, two answers

We first authored a small workbook whose inputs and formula agree. We rendered and inspected that control. We then copied the XLSX package and changed only the second numeric input in its worksheet XML from 30 to 80, deliberately preserving the formula’s cached 150. The original file’s SHA-256 hash remained unchanged. Neither workbook contains a macro or an external-link package part.

For each case, we read the formula and cached result separately, then added the two numeric inputs independently. This independent calculation implements only the known two-cell sum. It is not a general Excel formula evaluator.

Observed results from DN’s synthetic fixtures
CaseInputsStored resultIndependent sumInterpretation
Unchanged control120 + 30150150Agreement for this formula
Deliberately stale copy120 + 80150200Stored value is 50 too low
Cache removed in memory120 + 80Missing200No saved result is available
Valid zero case in memory120 + (−120)00Zero is a real value

The last two rows are essential. A pipeline that replaces every missing value with zero erases the difference between “calculated to zero” and “no result was supplied.” That can quietly change sums, ratios and screening decisions. Preserve the missing state until a documented rule resolves it.

The hash in the evidence pack identifies the exact file used. It cannot certify freshness: a perfectly preserved stale workbook remains stale. A match between 150 and 150 in the control likewise establishes one local agreement, not the correctness of every workbook dependency.

Read the importer mode before interpreting its output

The openpyxl reader API exposes a data_only option. With the option disabled, formula cells can return formula expressions. With it enabled, they can return the stored values associated with those cells. Its formula documentation also makes clear that the library does not calculate formulas.

The following abbreviated inspection is enough to expose our example’s two file states. The downloadable reproduction script also inspects the package and asserts the expected results.

from openpyxl import load_workbook

formulas = load_workbook("cache-stale.xlsx", data_only=False, read_only=True)
values = load_workbook("cache-stale.xlsx", data_only=True, read_only=True)

print(formulas["Cache fixture"]["B8"].value)  # =SUM(B6:B7)
print(values["Cache fixture"]["B8"].value)    # 150
print(values["Cache fixture"]["B6"].value
      + values["Cache fixture"]["B7"].value) # 200

For another importer, look up its own current documentation and record the equivalent settings. A successful file load, a returned number or the presence of a formula string does not establish calculation behaviour. If the tool does not expose the mode, use a known fixture like this one before assigning it responsibility for important totals.

Try the stored-result check

Enter two known numeric inputs and the stored result reported by your reader. This worksheet performs a local two-number addition; it does not upload or parse a spreadsheet. Use plain numbers, without commas or currency symbols, with up to six decimal places.

Worked result: 120 + 80 = 200. The stored 150 is 50 below the independent sum; stored minus recomputed is −50. Selecting “cache is missing” preserves an unknown result instead of substituting zero.

Recalculate a copy, then inspect the saved output

A practical review separates preservation, calculation and extraction. Keep the received workbook intact so you can explain what the importer originally saw. Make a working copy. Record the application and version used to recalculate it, the relevant calculation settings and whether the calculation completed without errors. Save that calculated copy, then read it again using the intended downstream importer.

Microsoft’s Excel recalculation documentation explains dependency tracking and calculation modes. That is why “I opened the workbook” is an incomplete method description: the result also depends on what calculation took place. We did not run native Excel or LibreOffice recalculation in this experiment. The published result of 200 is the independently checked arithmetic for our explicitly specified sum.

For a production workbook, retain enough detail to repeat the procedure. “Excel, automatic calculation, saved after completion” is better than “checked in Excel,” but important work may also require the workbook version, operating environment, missing add-ins and any warnings that appeared. A reviewer should be able to identify the exact calculated output file rather than guess which attachment was final.

Refreshing data and recalculating formulas are separate questions. A formula can be freshly calculated from an old imported dataset. Conversely, a dataset can be current while a stored formula result has not been updated. Ask when the inputs were obtained, when they entered the workbook and when the dependent formulas were calculated. Those timestamps describe different events.

Give an AI workflow a result contract

The assistant’s job becomes clearer when the requested output carries provenance alongside the number. For a material total, ask for the workbook identifier, sheet and cell, whether the returned item was a formula or a stored value, the calculation method, the relevant input period and any unresolved errors. If the workflow cannot provide those fields, the number should remain provisional.

A small extraction record might say: “B8, formula SUM(B6:B7), stored result 150, inputs 120 and 80, independent sum 200, mismatch −50, no full-workbook recalculation performed.” That description tells the next reviewer exactly what was found and what still needs work. Merely labelling a number “verified” loses the useful distinctions.

Do not run arbitrary formula text through a programming language’s general evaluation function to create a quick validator. Our demonstration deliberately supports one known operation on two numeric cells. A real workbook may contain cross-sheet references, dates, lookups, array behaviour, volatile functions or unsupported dependencies. Use a calculation engine appropriate to those features and make unsupported cases visible.

Once the file-state issue is resolved, check whether the resulting report’s totals, denominators and narrative agree. DN’s report arithmetic guide covers that next step. Neither stage can replace confirming that the original records describe the right entity and period.

Download the evidence and repeat the example

Download the XLSX evidence pack. It contains the unchanged control, the intentionally stale copy, the reproduction script, a README and machine-readable observed results. The script requires Python and openpyxl; the README names the version we used. The browser worksheet above requires no workbook software.

Inspect or copy the files before opening them in an application that may automatically recalculate and save them. Recalculation can repair the manufactured mismatch, which is useful operationally but changes the evidence being demonstrated. Keep the original download if you want to repeat the cached-value observation.

Method limits: these are synthetic values, one simple formula and known local package edits. The experiment establishes how the tested reader handled those files. It does not establish how every importer behaves, that ordinary Excel editing creates this exact failure, or that a matching result validates a financial model. The missing and zero variants were tested in memory; the two distributed workbooks are the control and stale cases.

If your organisation needs this acceptance check connected to a real document workflow, DN Research Desk can scope an evidence review around your reader, calculation application and handoff requirements. The public example is usable on its own. DN’s AI Operations Starter Kit is an optional owned product for broader workflow planning; it is not required to reproduce this test.

Frequently asked questions

Does data_only=True recalculate an Excel workbook?

No. In the tested openpyxl workflow it reads stored formula results. openpyxl does not evaluate the formulas, so a returned number can reflect an earlier calculation.

Is a blank cached value the same as zero?

No. A missing cache means there is no stored result available to that read. Zero is a numeric result. Preserve both states separately.

Does a file hash prove the total is current?

No. It identifies the exact file bytes. It helps preserve and compare evidence, but cannot establish when the formula was calculated or whether the source data is current.

Can this worksheet validate my whole financial model?

No. It checks one manually supplied two-number sum. The downloadable experiment also covers only its specified simple formula and reader behaviour. Full-model review requires the relevant dependencies, accounting definitions and calculation environment.

Primary sources and editorial record

Sources checked on 29 November 2026. Calculations, workbook fixtures and result tables are DN’s original synthetic demonstration. Review the documentation again when changing importer versions or calculation software.

Download the dated worked example, checks and source record. The original local calculation code is available for reproduction.

Get the most talked about stories directly in your inbox

Join the Decentralised News briefing for independent crypto, DeFi and AI analysis. No spam, unsubscribe anytime.