Converting Formulas to Values Keeps the Cached Answer, Not the Calculation
Published 9/1/2026 · 4 min read · File tools
Daniel Okonkwo — Front-end developer and tech writer at Allin
Web performance · File formats
Checked against 3 sources
Every cell holding a formula in an .xlsx file actually holds two things: the formula itself and the value the program that last saved the file had computed for it. Excel writes both so that another reader can show a number without recalculating a workbook it may not fully understand. Converting formulas to values deletes the first and keeps the second — it is a deletion, not an evaluation, and nothing here recomputes anything. That distinction only shows up in one place, and it is worth knowing before you rely on it: a workbook produced by a script or an export that wrote formulas without caching their results will come out with those cells empty. Measured on a two-sheet test file, a cell holding A2+B2 with no cached value produced the row 2,3, — the total column blank — while the same formula with its cached 5 produced 2,3,5. If your source is a real spreadsheet saved from Excel, LibreOffice or Numbers, the caches are there and the conversion is lossless.
A spreadsheet file stores both the formula and the last answer Excel computed. Stripping the formula leaves the stored answer — and leaves a blank wherever the file never carried one.
Why a file carries the answer at all
Recalculating a workbook means implementing several hundred functions, the reference model behind them and the order in which they depend on each other — and getting any of it slightly wrong produces a number that looks plausible and is not. Storing the last computed value alongside the formula lets a viewer, a converter or a phone show the right figure without any of that machinery. It is the same trade every document format makes when it caches a rendering, and it is why a spreadsheet opens instantly in a preview pane.
When you actually want this
Three situations, all of them about handing the file to someone else. A workbook whose formulas point at other files opens with broken references on any machine but yours, and values travel intact. A pricing sheet or a model you are sending out often contains its own working — margins, assumptions, the supplier tab a formula reaches into — and flattening it sends the numbers without the reasoning. And a file destined for a system that reads spreadsheets rather than opens them, an import routine or a database load, is far more predictable with no formulas in it at all. If you want to keep the working and only see it, extract the formulas to a list instead: that reads them without touching the file.
| Cell as stored | After conversion | The row in CSV |
|---|---|---|
| formula A2+B2, cached value 5 | value 5, no formula | 2,3,5 |
| formula A2+B2, no cached value | empty cell | 2,3, |
Frequently asked questions
- How do I check whether my file has the cached values?
- Open it in the .xlsx viewer before converting: if the calculated cells show numbers there, the caches are present and the conversion will keep them. If they show blanks, the file was written without them and converting will make that permanent. Either way, keep the original until you have looked at the result — the conversion is not reversible.
- Does it change the numbers in any way?
- No. The stored value is copied nowhere and rounded nowhere — the formula is deleted and the value that was already in the cell stays exactly as it was, to the last digit the file recorded. What changes is that the cell will no longer update when something it referred to changes, which is the point of doing it.
- Can I see the formulas without removing them?
- That is what the formula extractor is for: it lists every formula in the workbook with its sheet and cell address and leaves the file untouched. It is the faster way to audit a model somebody sent you, and the only way to find the one cell where a range stops a row short of the total.
Articles you may find interesting
All guides →Related tools
Sources
Spotted a mistake in this article?