Formulas
list[tuple[int, int, str, str | None]]
(row, col, formula, cached_value).Cached values
The fourth element is what the cell displays before Excel recalculates.None leaves it empty until someone opens the file.
Supply a cached value
Supply a cached value
When the formula reaches outside the workbook, takes real time to compute, or when something might read the file without recalculating, such as a preview pane, another library, or an automated pipeline.
Leave it None
Leave it None
For ordinary local formulas, and always for volatile functions such as
NOW() or RAND() where a cached value would be stale on arrival.Hyperlinks
list[tuple[int, int, str, str | None]]
(row, col, url, display_text). A None display shows the raw URL.Merged cells
list[tuple[int, int, int, int]]
(start_row, start_col, end_row, end_col).