ReferenceFunctionsInformation Functions
FORMULATEXT
FORMULATEXT: Returns the formula text stored in the referenced cell.
Summary
Retrieves formula source text for a single referenced cell without evaluating that cell's value.
Remarks
- Returns
#N/Aif the reference does not point at a formula cell. - Staged formula text is preferred when present; otherwise canonical formula text is returned.
Returns the formula text stored in the referenced cell.
Examples
Formula text
Grid
| Cell | Value | |
|---|---|---|
Formula
=
Result
Not evaluated yet.
Expected
=1 + 2
Related functions
FAQ
Does FORMULATEXT evaluate the referenced formula?
No. It retrieves formula provenance/source text only.
Runtime metadata
Category
Information
Signature
FORMULATEXT(arg1: Any)Arity
min 1, max 1
Arguments
arg1Any · Scalar
Caps
PURE
Source