EXPRESSION Function (Gnumeric)
Read a cell formula as text without its leading equals sign using Gnumeric EXPRESSION, with constant and multi-cell checks.
Verification status: See the evidence and test scope described in this guide. How formula examples are checked
EXPRESSION returns the formula expression stored in a cell as text, without the leading equals sign. It helps build an audit sheet that shows how a number was calculated. It does not evaluate a text formula, and it does not return the displayed value of the referenced cell.
Syntax and input requirements
EXPRESSION(cell)
cell is a reference to one cell. If that cell has a formula, Gnumeric serializes the expression using its formula conventions and returns a string. If the referenced cell contains a constant or has no expression, the function returns an empty value. A range spanning more than one cell returns #REF! in the pinned implementation.
This is a structural inspection of the cell, so a literal number and a formula that happens to calculate the same number produce different results. The returned formula text is reconstructed by Gnumeric; do not treat it as a byte-for-byte archive of the user’s original spacing or capitalization.
Worked example: distinguish a formula from a constant
Create this small sheet:
| Cell | Entry | Meaning |
|---|---|---|
| A1 | 10 | Input |
| A2 | 20 | Input |
| A3 | =A1+A2 |
Formula with value 30 |
| A4 | 30 | Literal constant |
| A5 | leave empty | No content |
Now enter these formulas in another column:
| Formula | Native result |
|---|---|
=EXPRESSION(A3) |
A1+A2 |
=EXPRESSION(A4) |
empty |
=EXPRESSION(A5) |
empty |
=EXPRESSION(A1:A2) |
#REF! |
A3 and A4 can both display 30, but only A3 has an expression. The first result has no = prefix. That is the principal output-format difference from Gnumeric’s GET.FORMULA function.
Advanced use: an audit column
Place an EXPRESSION call next to each formula cell you want to review and fill it down with ordinary relative references. Keep the audit formulas outside the cells they inspect. This creates a readable view of the formula structure without replacing the live calculations.
A useful review compares the expected pattern of references across adjacent rows. For example, a copied formula that unexpectedly points to the previous period may be easier to spot in a text audit column than in identical-looking numeric results. Review the actual expression and the input data together: formula text alone cannot prove that a model is correct.
If you need to distinguish a constant from an empty cell, EXPRESSION alone is insufficient because both can produce an empty result. Use a separate formula-presence or blankness test appropriate to the question.
Errors and troubleshooting
- Use a single-cell reference, not a quoted address or a multi-cell block.
- If the result is empty for a value that looks calculated, check whether the value was pasted as a constant.
- A displayed empty result is not proof that the audit cell itself is unused; it still contains its inspection formula.
- Changing the inspected formula changes what is being reported. Save a separate, deliberate snapshot if a fixed audit record is needed.
- Expression text is data. Concatenating an equals sign onto it does not make that text execute as a worksheet formula automatically.
Version and verification
This guide is scoped to Gnumeric 1.12.57. Its first introduction release is not established from the retained official evidence, and no retirement is inferred. The four worked cases were recalculated in the 1.12.57 engine under C.UTF-8 on 17 October 2026. The selected expression-text example was additionally displayed in the actual application, as shown below. The source confirms that constants and cells without expressions return an empty value.
Related guides
Official references
Native application screenshot
This separate screenshot worksheet uses A1 = 10; A2 = 20; A3 = =A1+A2; B2 = Expression. In B3, =EXPRESSION(A3) returns A1+A2. The screenshot layout is independent of the cell positions in the earlier tutorial. Only this selected example is GUI-verified; the other checks retain their stated engine-test scope.

Actual Gnumeric 1.12.57 application, captured 17 October 2026. GUI locale was not independently recorded.