Skip to content
Allin

Converting Formulas to Values Keeps the Cached Answer, Not the Calculation

Published 9/1/2026 · 4 min read · File tools

Daniel Okonkwo

Daniel OkonkwoFront-end developer and tech writer at Allin

Web performance · File formats

Checked against 3 sources

View profile
In short

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.

The same formula, with and without a cached result
Cell as storedAfter conversionThe row in CSV
formula A2+B2, cached value 5value 5, no formula2,3,5
formula A2+B2, no cached valueempty cell2,3,
Convert formulas to valuesReplaces every formula by the result Excel last saved with it, so the sheet keeps its numbers but no longer shows how they were obtained — useful before sending a file out. Nothing is recalculated: a workbook saved without cached results comes back empty. Works with Excel (XLSX, XLS, XLSM, XLSB), OpenDocument (ODS), Apple Numbers, CSV and TSV — though CSV and TSV never hold formulas to begin with.Try the tool

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
ExplainerThe Number 1 and the Text "1" Are Not DuplicatesDeduplication compares whole rows exactly, cell type included. Five identical-looking rows came out as three, because one held a number, one a string and one a string with a leading space.ComparisonXLS, XLSX, XLSM and XLSB: Which Is Which, and Which You WantFour extensions, three of them the same box with different lids. Rename an XLSX to .zip and it opens — that single fact explains the whole family, and explains why XLS, which does not, is the one still causing trouble.ExplainerWhy Your CSV Breaks Accents and Dates in ExcelThree completely different faults hide behind the same sentence. One is the encoding, one is the separator, one is Excel guessing at types while it opens the file — and the fix for each is different. Here is how to tell them apart in five seconds.ComparisonZIP or TAR: Which One, and Why It MattersOne structural difference explains everything else: TAR does not compress, it only stacks; ZIP compresses each file on its own. Measured on 60 small source files, that is the difference between 1,809 bytes and 14,686.How-toAdding Page Numbers to a PDF When the Pages Are Rotated or Mixed SizesNumbering a tidy document is trivial. The cases that bite are a page turned sideways, a Letter sheet among A4 ones, a print file with bleed, and a document that already prints its own number. All four were tested: on the first three the number lands exactly where you asked, and the fourth is not detected at all.GuideWhat a PDF Says About You: Reading and Clearing Its MetadataA PDF carries its metadata twice, in two stores that can tell different stories, and neither of them is the whole story. Here is what is actually in the file, what clearing it removes, and the two things that survive every wipe.

Related tools

Sources

Spotted a mistake in this article?