How to find formula changes between two versions of a spreadsheet
29 November 2026
To find formula changes between two versions of a spreadsheet, compare the formulas, not their results. In Excel you can switch a sheet to show formulas instead of values, pull each formula into a cell with FORMULATEXT and compare the text, and use ISFORMULA or Go To Special to find typed numbers where formulas used to be. A normal comparison such as =Old!A1<>New!A1 won't help: it compares values, and a changed formula can give the same answer on the day you check.
Why formula changes matter
The most dangerous change is a formula replaced by a typed number. Say a total held =SUM(B2:B20), and someone typed the current total over it. Today the number is right, so a value comparison shows no difference. Next month the inputs change, the total doesn't, and nothing on the sheet looks wrong.
Other changes keep the same value for now, too: a range that stops a row short, such as =SUM(B2:B19), while row 20 happens to be empty, or a rate typed into a formula, such as =B2*0.2, instead of a reference to the rate cell.
1. Show formulas and compare by eye
Good for: small sheets, or a first look.
Choose Formulas > Show Formulas, in the Formula Auditing group. On Windows you can also press Ctrl+` (the grave accent key, usually to the left of 1). Each cell now shows its formula instead of its result. Choose it again to switch back.
Do this in both versions and put them next to each other. On Windows, View > View Side by Side with Synchronous Scrolling keeps them in step.
In a column of formulas, a typed number stands out because it's the only cell without an equals sign. The limit is your eyes: long formulas can be cut off, and a changed reference, B19 instead of B20, is easy to miss.
2. Compare formula text with FORMULATEXT
Good for: a cell-by-cell list of every formula that differs.
FORMULATEXT returns a cell's formula as text, in Excel 2013 or later, including Microsoft 365. Put both versions in one workbook as sheets called Old and New, add a sheet called Check, and in A1 of Check enter:
=FORMULATEXT(Old!A1)=FORMULATEXT(New!A1)
TRUE means the formulas match. The catch: FORMULATEXT returns #N/A for a cell with a typed value or nothing in it. Wrap each side in IFERROR so those cells count as blank, and show only the differences:
=IF(IFERROR(FORMULATEXT(Old!A1), "")<>IFERROR(FORMULATEXT(New!A1), ""), "Formula changed", "")
Fill it right and down over the area to check. Each cell of Check looks at the same address in both versions, so a flag in C7 means cell C7 changed. A formula replaced by a typed number is flagged too, because only one side now has formula text.
Two things to watch:
- Copying sheets can change formulas. If formulas refer to other sheets, copying a sheet into another workbook makes those references point back at the original file, which changes the formula text. Instead, keep both files open and refer to the old one directly, such as
'[Budget v1.xlsx]Summary'!A1. Type=FORMULATEXT(and click the cell in the other workbook, then delete the$signs Excel adds so the formula fills properly. FORMULATEXT returns #N/A if that workbook is closed. - Inserted rows throw it out. If rows or columns were inserted or deleted, every cell after that point is compared with the wrong cell and shows as changed.
3. Find typed numbers with ISFORMULA
Good for: catching the most damaging change on its own.
ISFORMULA returns TRUE if a cell contains a formula, and is also in Excel 2013 or later. On the Check sheet, this flags cells that were formulas in the old version and aren't any more:
=IF(AND(ISFORMULA(Old!A1), NOT(ISFORMULA(New!A1))), "Formula replaced by "&New!A1, "")
You can also use it on one version alone:
- Select the calculated part of the sheet.
- Choose Home > Conditional Formatting > New Rule > Use a formula to determine which cells to format.
- Enter
=ISFORMULA(A1), using the top-left cell of your selection in place of A1. - Choose Format, pick a fill colour and choose OK twice.
Every formula cell is shaded, so a plain cell in a shaded block stands out.
4. Select every hard-coded number with Go To Special
Good for: auditing one version quickly, without writing formulas.
- Select the part of the sheet that should be calculated. If you select a single cell, Excel searches the whole sheet.
- On Windows, choose Home > Find & Select > Go To Special, or press F5 and choose Special.
- Choose Constants, untick everything except Numbers, and choose OK.
Excel selects every typed number in the area. Give them a fill colour, do the same in the other version, and compare which cells are coloured. Do this on copies, since it changes the formatting.
When to use a comparison tool
These methods work one sheet at a time, and assume no rows were inserted or deleted between versions. For a model with several sheets and more than one editor, that's a lot of checking.
Microsoft's Spreadsheet Compare reports formula changes, if your edition of Office includes it, and many editions don't. Compare Sheets runs in your web browser on Windows or Mac, and your files never leave your computer. It flags formula changes even when the value is the same, including a formula replaced by a typed number, and shows each changed cell with its old and new value. It lines up inserted, deleted and moved rows, so rows after an insertion are compared with their counterparts. The free version compares the first 1,000 rows of each sheet. Pro is £19 once, and adds unlimited rows and a downloadable change report (.xlsx and .csv) to file with your records. You can try it with sample files first.
Quick answers
Will comparing values find changed formulas? No. A value comparison only sees results. If a changed formula gives the same answer today, it goes unnoticed until the inputs change.
How do I find hard-coded numbers in Excel? Use Go To Special, choose Constants and tick only Numbers. Or shade formula cells with conditional formatting and =ISFORMULA(A1), so typed cells stand out.
Why does FORMULATEXT show #N/A? The cell doesn't contain a formula, or it's in another workbook that's closed. Wrap it in IFERROR, for example =IFERROR(FORMULATEXT(A1), "").