Skip to main content

Node.apply_formula_text()

Parse text into formula_ast, or keep it as unparseable fallback.

Usage

Source

Node.apply_formula_text(text)

When address is set, parse with parse_preserving_axes so $ vs bare A1 is kept. Without an anchor, relative intent cannot be recovered. Clears both when text is missing or blank. Used when a rewrite only has formula strings (the AST parser could not handle the cell).