Remaining Differences
The core repository's tests/divergence.yaml and per-target registries record each tracked difference with its reason, profile scope, comparison policy and the Excel build it was last verified on. The entries include intentional boundaries and cases that cannot be captured reliably; a skipped case is not evidence of a matching result.
Cycles and calculation order
| Case | Excel | Formulon | Reason |
|---|---|---|---|
| Multi-cell cycle, iteration off | A1=B1+1, B1=A1+1 gives 1 and 0, or 0 and 1, depending on entry order | #REF! in every cycle member | The saved workbook does not record the entry order needed to reproduce Excel's result. A self-cycle such as A1=A1+1 holds 0 in both engines. |
| Cells downstream of a cycle, iteration off | Values also depend on whether the cells were entered before or after the cycle closed | Propagates a multi-cell cycle's #REF!; computes from 0 downstream of a self-cycle | Excel's historical entry order cannot be recovered from the workbook. |
| Calculation at open of a file that carries no Compatibility Version and has no cached values | Mac Excel: version 2 until the next full recalculation | No recalculation at open; cached values stay as written, and the first recalculation uses version 1 | Formulon evaluates a file without the version as version 1, matching Excel's full recalculation rather than its open-time pass. |
A two-cell cycle with iteration off
A1 holds =B1+1 and B1 holds =A1+1. Formulon shows #REF! in every member of the cycle; Excel shows 1 and 0, or 0 and 1, depending on the order the cells were entered.
Powered by the real Formulon engine (WASM) — it runs entirely in your browser, nothing is uploaded.
Values Formulon cannot or does not reproduce
| Case | Excel | Formulon | Reason |
|---|---|---|---|
=MID("a😀b😁c",2,4) in a Compatibility Version 1 workbook | Mac Excel: 😀b followed by half of 😁 (a lone surrogate) | 😀b😁 | Formulon holds text as UTF-8, which cannot carry a lone surrogate, so a cut through a two-unit character takes the whole character. REPLACE cuts the same way. |
| A picture in a cell read by a chart, a table's totals-row label, a What-If data table or a PivotTable refresh | The picture; a PivotTable row label shows it | #VALUE! | Formula reads carry the picture (=A1, TYPE, ISERROR, COUNTA); these readers do not. See Pictures in cells. |
=WEEKNUM(DATE(2024,1,1),99) on Mac | Alternates between 1 and #NUM! across cells and runs | #NUM! for unsupported return types on every host | Classified as excel-no-value: there is no reproducible Mac value to capture. |
ENCODEURL on Mac | #NAME?: Mac Excel 365 does not register the function | Percent-encodes as UTF-8, as Windows Excel does | Classified as excel-no-value: the Mac target produces no value to compare against. |
=CELL("address",Sheet2!A1) in a book that was never saved | [Book11]Sheet2!$A$1, prefixed with the window name | Sheet2!$A$1 | A workbook with no location has no window name in Formulon. |
| Arrays up to Excel's size bound | Mac Excel 365 evaluates up to 107,374,182 elements (A:CX+0 evaluates, A:CY+0 and SEQUENCE(1048576,103) give the number 0); Windows Excel abandons some smaller arrays | Generated arrays are limited to 1,048,576 cells; derived arrays to 10,000,000 cells, with #NUM! or #CALC! when exceeded | Memory limits bound evaluation in WASM. The 107,374,182 bound applies under every profile, and above it the formula holds 0 in both engines. SUM, AVERAGE, MIN, MAX, PRODUCT and COUNTA fold whole-axis operation results without materializing them, and ROWS and COLUMNS can obtain shape without allocating the values. |
Names, links and captures
| Case | Excel | Formulon | Reason |
|---|---|---|---|
Built-in names after a book with a bare _FilterDatabase is opened | When a bare _FilterDatabase resolves to no local name where it is read, .Formula, .FormulaLocal and the Names list show every resolved built-in name with its prefix, such as =AREAS(_xlnm.Print_Area), until the book is reopened | =AREAS(Print_Area) in every book | Formulon keeps the formula it reports enterable: Excel does not bind a typed _xlnm. name at entry. The stored text is the same in both. |
COUNTBLANK over a closed workbook, entered | Mac Excel reads the source file at entry and counts its populated cells, so =COUNTBLANK([1]S!A1:A5) is 3 for a source holding A1 and A2 | Counts from the cached link data: 4 when only S!A1 is cached | Formulon has no file access at entry. Once the workbook Excel saved is loaded, the two agree. |
| Windows print-scale captures | Existing captures can read the previous pagination before Excel settles the layout after a scale change | Geometric pagination agrees with the measured Mac cases | Classified as harness-cannot-capture; Windows requires a settled-layout recapture. The old readback is not evidence of a universal Excel pagination rule. |
How a difference is closed
- Pin the same profile, date system, input cells and calculation settings. Record the Excel build and reduce the workbook to a reproducible case.
- Capture Excel's result, and the stored formula text where it matters. Separate an engine difference from a capture limitation, a volatile input, or a profile or build change.
- Fix the engine against that evidence and add a regression case. Cover the boundaries too: rounding ties, blanks, error precedence, locale and array shape can each select a different execution path.
- Remove the resolved skip or tolerance entry, then verify the committed goldens and the divergence registry.
Oracle testing gives the verification commands and explains what the closure metadata and the release gate establish. A passing captured case does not prove that every input or every Excel build matches.
Read next
- Oracle testing — how captures are taken and checked.
- Non-goals — what Formulon does not try to reproduce.