Converter tool

Excel Formulas to Values

Replace the formulas in some or all worksheets with the values saved in the file, keeping formatting, charts and comments, and drop the calculation chain and links to other workbooks.

Sheets to convert

The sheet list appears once a workbook is open.

Options

Each cell keeps the value saved in the file; nothing is recalculated. Formulas inside conditional formatting, data validation and defined names are left alone. Excel's calculation chain (xl/calcChain.xml) is always removed, and Excel rebuilds it. The workbook is rewritten in this browser tab.

Preview

Output Preview

Pick a workbook, or try the sample, to count its formulas, spot cells without a saved value and list links to other workbooks.

Excel Formulas to Values

Operator: Abdulla Al Fahad. How tools are built and checked

There are good reasons to send a workbook with the answers but without the working. A consultant hands a client the price list, not the margin formulas behind it. A finance team files the month-end pack as it stood on the day, so nothing shifts when a source file changes. A report produced by a script has to open the same way in every program, including viewers that never calculate. In Excel this means copying each sheet and pasting it back as values, one sheet at a time, then working through Data > Edit Links.

This tool does the same job on the file itself. It opens an .xlsx or .xlsm in your browser, replaces the formulas on every worksheet, or only the ones you pick, with the values Excel saved, and writes a copy. Because it edits the sheet XML in place instead of rebuilding the workbook, number formats, column widths, merged cells, conditional formats, validation lists, charts, pictures and comments come through unchanged. It also removes the calculation chain, and links to other workbooks when nothing left in the file still needs them.

Key features

  • All worksheets, or only the ones you tick, with a formula count per sheet before you start
  • Ordinary, shared and array formulas replaced by their saved values, including what-if data tables
  • Text results turned into inline text; errors such as #DIV/0! and TRUE/FALSE results keep their type
  • Style indexes untouched, so formats, fonts and fills stay on every converted cell
  • Formulas with no saved value listed by sheet, cell and formula, kept as formulas or cleared, as you choose
  • The calculation chain (xl/calcChain.xml) removed with its relationship and content-type entry
  • Links to other workbooks removed with the defined names that point into them, but only when nothing left still uses them
  • A report per sheet: formulas, converted, text results, cells without a saved value, shared formulas kept

Which sheets change and why nothing recalculates

Input is one .xlsx or .xlsm workbook up to 50 MB. Its parts may add up to 250 MB once unzipped; past that the page stops and says so, because rewriting that much text would stall the tab. Legacy .xls, binary .xlsb, OpenDocument and password-to-open files are recognised from their contents and turned away with the reason. The copy keeps the original name with -values added and takes the extension that matches the workbook's content type, so a macro-enabled file stays .xlsm with its VBA project copied byte for byte.

Only worksheets are converted. Chart sheets hold no cell formulas, and Excel 4.0 macro sheets are left alone because their formulas are the macro. In the parts that change, only the edited cells' text is rewritten; the rest of each sheet's XML is kept character for character. The parts that can change are the converted sheets, xl/workbook.xml, its relationships file and [Content_Types].xml; every other part keeps its original compressed bytes.

How it works

In the file, a formula cell looks like <c r="D2" s="1"><f>B2*C2</f><v>192</v></c>: the formula in <f>, the saved result in <v>, the style in s. Converting deletes <f> and keeps the rest, so the cell becomes <c r="D2" s="1"><v>192</v></c>. Cells are found with a pass that skips comments and CDATA sections, and each formula cell is split into its child elements so that nothing outside it is touched.

Shared formulas are how Excel stores a formula filled down a column: the first cell holds the text, <f t="shared" ref="D2:D5" si="0">B2*C2</f>, and the others point back to it with <f t="shared" si="0"/>. All of them are converted. Array formulas put <f t="array" ref="B8:C8"> on the top-left cell, and the other cells of the range already hold plain values, so removing that one element converts the whole range. A dynamic-array formula also carries a cm attribute that points at Excel's dynamic-array metadata; it goes with the formula.

A formula that returns text is stored with t="str", which marks a formula's string result. Without the formula that type would be wrong, so the cell becomes an inline string: <c r="E2" t="inlineStr"><is><t>Small</t></is></c>. When the text starts or ends with a space, or contains a line break or tab, xml:space="preserve" is added so Excel keeps it as it was. Error results (t="e") and TRUE/FALSE results (t="b") are valid without a formula, so they keep their type and value.

Some files store a formula with no result at all, typically workbooks written by a script that never calculated them. Those cells are listed before you convert. By default they keep their formulas, so Excel can work them out when it next recalculates the workbook (Ctrl+Alt+F9 forces a full recalculation); with Clear formulas that have no saved value ticked, the cell is emptied and keeps its style. If such a cell belongs to a shared formula whose first cell does have a value, that first cell keeps its formula as well, because the kept cells read their formula from it. The report lists it under Shared kept.

Excel's calculation chain lists formula cells in calculation order. Once formulas are gone it is stale, so the part, its relationship and its content-type entry are always removed. Excel builds a new one when it next saves. Links to other workbooks are stored as numbered parts, and formulas refer to them by position as [1], [2] and so on. Before removing them, the tool checks what would be left in the converted file: cell formulas still in place, conditional formatting and validation formulas, defined names, chart series, table formulas, form controls and shape macros. If any of them still refers to another workbook, or to a defined name about to be removed, every link is kept and the report lists where they are used, since removing one link would renumber the rest.

Common use cases

  • Sending a client a pricing workbook with the figures but not the margin formulas or the link to an internal rates file
  • Freezing a month-end reporting pack so its numbers cannot move when a source workbook changes
  • Stopping the Update Links prompt in a workbook that points at a file on a drive that no longer exists
  • Making a script-generated workbook show numbers in viewers that do not calculate, after opening and saving it once in Excel
  • Converting only the summary sheets of a model while leaving the calculation sheets live

How to use this tool

  1. Choose your workbook. To see every case first, the sample order sheet has one formula of each kind plus a link to a rates file.
  2. Check the table: formulas per sheet, how many have no saved value, and how many read from other workbooks.
  3. Choose All worksheets, or Only the sheets I tick and tick the ones to convert.
  4. Leave Remove links to other workbooks ticked unless you want to keep them. Tick Clear formulas that have no saved value only if those cells should end up empty.
  5. Press Convert formulas to values and read the report. If links were kept, it says what still uses them.
  6. Download the converted workbook. The file you picked is not changed, so keep it as the working version.

Example

sample-orders.xlsx, sheet Orders (the built-in sample)

D2:D5  =B2*C2 filled down (one shared formula)   192, 240, 570, 310
E2:E5  =IF(D2>=500,"Large","Small")            Small, Small, Large, Small
F2:F5  =D2*[1]Rates!$B$2  (Rates 2026.xlsx)       207.36, 259.2, 615.6, 334.8
D6     =SUM(D2:D5)                                1,312
F6     =SUM(F2:F5)                                (no saved value)
B7     =MAX(D2:D5)>500                            TRUE
B8:C8  {=LARGE(D2:D5,{1,2})}                      570, 310
B9     =D6/C9                                     #DIV/0!
Summary!B2 =EurRate, a name for [1]Rates!$B$2    1.08

After converting all sheets with the default options

Orders: 17 formulas, 16 converted, 4 text results now inline text, 1 without a saved value.
Summary: 3 formulas, 3 converted.
F6 keeps =SUM(F2:F5), because it had no saved value to put in its place.
Links removed: 1 link part (Rates 2026.xlsx) and 1 defined name: EurRate.
The calculation chain was removed.
The conditional format on D2:D5 (D2>500) still works: it reads the values now stored in D2:D5.

Tips for best results

  • Whatever value a cell had at its last save is the value it keeps for good, so a file saved with stale results, or with TODAY or RAND in it, freezes those results. If the table shows cells without a saved value, or you are unsure the values are current, open the file in Excel, let it calculate, save, and pick it again.
  • Convert summary sheets only when the calculation sheets must stay live; links that those sheets still use will be kept, and the report says so.
  • Converting does not delete the inputs. If margins or costs sit on a hidden sheet, delete that sheet in Excel or check the file with the Excel Hidden Data Inspector before sending it.
  • Keep the original. The converted copy has no formulas to rebuild from.

Edge cases to watch

The limits are listed under What it does not change.

Common errors and how to fix them

Links to other workbooks were kept.
Something left in the converted file still uses them, and the report says what: usually a sheet you did not convert, a formula with no saved value that was kept, or a chart that plots data from another file. Convert those sheets too, or tick Clear formulas that have no saved value, or change the chart in Excel, then convert again.
Some cells still have formulas after converting.
They had no saved value, so there was nothing to put in their place, or they are the first cell of a shared formula that such cells still use. Both are listed in the report. Recalculate and save the original in Excel (see the tips above), then convert it again.
"This workbook is encrypted with a password to open."
An encrypted workbook stays unreadable until the password to open is removed. If you have it, take the password off in Excel, save, and convert the unencrypted copy.
The workbook is over 50 MB or unzips to more than 250 MB.
Copy the sheets you want to send into a new workbook in Excel, save it, and convert that smaller file.

Best practices

  • Treat the converted file as an export: keep the workbook with formulas as the master and convert again whenever the master changes.
  • Name the copy so it is obviously a snapshot; the tool adds -values to the file name for that reason.
  • Before sending a model's output outside the company, delete hidden working sheets and unused defined names in Excel as well as converting formulas.
  • Break links on purpose, with this tool or in Excel, rather than leaving recipients a prompt to update links to a file they cannot reach.

What it does not change

Some formula-like content is outside the cells this tool edits:

  • Formulas in conditional formatting rules, data validation lists and defined names are not changed, and they keep working on the converted values. A defined name that points into another workbook is removed only along with the links.
  • An Excel table can keep its calculated-column formula in the table definition as well as in the cells. The definition is not edited, so Excel may still fill the old formula into a row added to the table.
  • PivotTables keep their cache, which is a copy of the source data stored in the file. Refreshing a PivotTable reads the values now in the source cells.
  • Chart sheets and Excel 4.0 macro sheets are not converted. VBA code is not changed either, so a macro that writes formulas will still write them.
  • Hidden sheets, comments and document properties stay in the file. Converting formulas hides how a number was worked out, not the numbers it was worked out from.

What stays exactly as it was

Because cells are edited one by one in the sheet XML, everything that is not a cell formula comes through untouched: number formats, fonts, fills and borders (they live in the style index each cell keeps), column widths and row heights, merged cells, frozen panes, conditional formatting, data validation, hyperlinks, comments and notes, pictures, charts and print settings. Charts keep working because they plot cell ranges, and those cells now hold the values the chart was already showing.

Why the calculation chain has to go

xl/calcChain.xml is Excel's record of which cells hold formulas and the order it last calculated them in. If formulas disappear but the chain still lists their cells, Excel can report a problem with the file and offer to repair it. The chain is only a cache, so it is removed every time, even when no formula was converted, and Excel writes a fresh one on the next save.

Where the workbook is processed

A model you are stripping of formulas before it reaches a client should not pass through a third party on the way, and it does not here: the conversion is plain text editing done in your browser, and the page makes no network request carrying any part of the file.

Frequently asked questions

Is this the same as Paste Special > Values in Excel?

For the cells, yes: each formula is replaced by the value it showed. The difference is that it covers every chosen sheet in one pass, handles array formulas and data tables, removes the calculation chain and can remove links to other workbooks at the same time.

Will formatting change?

No. Each cell keeps its style index, which is where Excel stores its number format, font, fill and borders. Merged cells, widths, conditional formats and validation are outside the cells and are not touched.

Can I convert only some sheets?

Yes. Choose Only the sheets I tick. Formulas on other sheets stay live, and any links they use to other workbooks are kept.

Why do some text values look different in other tools?

Text that came from a formula is written as inline text in the cell rather than in the shared string list. Excel, LibreOffice and spreadsheet libraries read both forms the same way, and Excel moves the text into the shared list the next time it saves.

Does it work with .xlsm files?

Yes. The copy is saved as .xlsm and the VBA project is copied byte for byte. Formulas in worksheets are converted; macro code is not changed.