# Documentation/Calc Functions/FORMULA

Jump to navigation
Jump to search

TDF LibreOffice Document Liberation Project Community Blogs Weblate Nextcloud Redmine Ask LibreOffice Donate

## Function name:

FORMULA

## Category:

Information

## Summary:

Displays the formula of a formula cell as a text string.

## Syntax:

FORMULA(**Reference**)

## Returns:

An invalid reference or a reference to a cell with no formula results in the error value #N/A.

## Arguments:

**Reference** is a reference to a cell containing a formula.

## Additional details:

## Examples:

If cell A8 contains the formula =SUM(1;2;3) then

=FORMULA(A8) returns the text =SUM(1;2;3).