Edits and Saves
A matching formula value does not establish that the workbook behaves the same on the next edit or save. These checks cover what changes the stored state:
| Area | Behaviour checked | Evidence |
|---|---|---|
| Formula spelling | A formula takes Excel's spelling on entry and on .xlsx load: =sum(a2,$c$2:d3) reads back as =SUM(A2,$C$2:D3). A sheet qualifier that names no sheet in the book adds an external link. | Golden: entry_canonical; Formula engine. |
| Formula entry | 1.50 is stored as 1.5, a touching unary +5 as 5; rejected whitespace fails before anything changes. The same entry rules cover cells, names, conditional formats and validation. | Formula-entry regression tests; Sheets, cells and structure. |
| Formula nesting | More than 65 nested function calls is refused (setFormula throws a syntax error whose parseError.code is NestedFormulaTooDeep); 256 parentheses and 1024 unary signs parse and evaluate. | Error model. |
| Calculation on load | A loaded workbook keeps its cached values when Excel would: a manual-calculation book, or an automatic one saved by the current Excel, recomputes only what its file marks stale. recalcFull() recomputes everything. | Recalculation. |
| Sheet names | A name that begins or ends with an apostrophe is refused on add and rename and fails a file load. History in any case is refused under win-* profiles and accepted under mac-*, as in Excel. | Statuses. |
| Legacy array formulas | Editing a non-anchor member is rejected without changing the block; every member answers FORMULATEXT and ISFORMULA from the block formula. | Dynamic arrays. |
| Validation | A self-referencing rule evaluates the proposed input, including reads through ranges or indirect references, while stored cells remain unchanged. | Proposed-value regression tests; Filters and validation. |
| Tables | Typing into a header cell renames the column, and the header and totals toggles write and delete their cells. | Tables and AutoFilter. |
| Structural edits | Inserted rows inherit formats and height from above; columns inherit formats and width from the left. Hosted sparklines are cloned; hidden state and outline level are not copied. Inserts and deletes that cut through a data table, a legacy array block or a PivotTable are refused with StatusCode.PreconditionFailed. | Sheets, cells and structure. |
| PivotTables | The Windows ja-JP blank_row_item_label capture checks the output grid, labels and totals: (North,100), (blank,50), (South,200), (blank,25) produce a blank-label group of 75 and a grand total of 375. A report that would grow over occupied cells is left blocked with #SPILL!. | Workbook golden; PivotTables. |
| Charts | Cached series distinguish blanks, text, Booleans and errors; references follow structural edits, and caches refresh from stored values on save. These checks concern data and structure, not chart rendering. | Chart data golden, save regression tests; Charts. |
The linked goldens are captured Excel observations. The linked regression tests pin engine and API contracts; a regression test alone is not a fresh Excel measurement. The feature pages describe the supported read, edit and save boundaries.
Read next
- Remaining differences — the tracked cases where Formulon and Excel still differ.
- Workbook — the read, edit and save model these checks exercise.