Use cases
Each page below covers one job from start to finish. The examples come in a JavaScript tab and a Python tab, plus a CLI tab where the command line can do the job. Every JavaScript and Python example is a complete program, and the site's checks run each one against the documented release, so the output shown in the comments is what you get.
Rows and columns are 0-based, and a cell can be given as an A1 string. In the default calculation mode a read recalculates whatever is dirty, so the examples do not call recalc() between a write and a read. If you have not installed Formulon yet, start with Install.
Files and cells
| Task | What it covers |
|---|---|
| Open, edit and save | Load .xlsx or .xlsb, edit, save in either format, and read cached values without recalculating |
| Read and write cells | Native values, blocks, whole sheets, dates, text that stays text, number formats, and pandas |
| Insert and delete | Rows, columns and cells, the shift rules, and what happens to formulas |
Formulas
| Task | What it covers |
|---|---|
| Formulas and recalculation | Formula, value and display text, calculation modes, parse errors, and ad-hoc evaluation |
| Dynamic arrays | Spilling formulas, the spill range, #SPILL!, and legacy array formulas |
| Tables | Worksheet tables, structured references, and the totals row |
| Defined names | Workbook and sheet names, how they are matched, and their use in formulas |
| Errors and diagnostics | FormulonError, status codes, Excel error values, and parse diagnostics |
Workbook features
| Task | What it covers |
|---|---|
| PivotTables | Build a pivot from a sheet range, place fields, add values, and refresh it after an edit |
| Charts | Create a chart from a range, edit its plot, axes and series, and read it back |
| Conditional formats | Highlight rules, colour scales, data bars and icon sets, and which cells a rule hits |
| Validation and filters | Data-validation rules, checking a value against them, and typed AutoFilters |
| Printing | Print areas, titles, page setup, page breaks, and paginating a sheet |
| Comments | Notes, threaded comments, people and mentions |
Integration
| Task | What it covers |
|---|---|
| Locales and profiles | Excel profiles, formula translation, locale-aware display, and text collation |
| Render in your own UI | Display text, effective styles, geometry, merges and frozen panes for a custom grid |
| Off the main thread | Web Workers, the threads build, Node worker threads, and Python processes |
Applications
The pages above cover single tasks. The application scenarios put them together into complete deployments: a browser upload, a Node service, a Python batch job, filling in values that openpyxl reads as None, and a CI regression check.
For every option of a feature, follow the link at the end of each task page to its workbook feature page and to the API reference.