Difference between revisions of "Documentation/How Tos/Calc: FORMULA function"

From Apache OpenOffice Wiki
Jump to: navigation, search
m (Robot: Automated text replacement %s)
m
 
(6 intermediate revisions by 5 users not shown)
Line 1: Line 1:
__NOTOC__
+
{{DISPLAYTITLE:FORMULA function}}
 +
{{Documentation/CalcFunc InformationTOC
 +
|ShowPrevNext=block
 +
|PrevPage=Documentation/How_Tos/Calc:_CURRENT_function
 +
|NextPage=Documentation/How_Tos/Calc:_ISBLANK_function
 +
}}__NOTOC__
  
 
== FORMULA  ==
 
== FORMULA  ==
Line 7: Line 12:
 
<tt>'''FORMULA(cell)'''</tt>
 
<tt>'''FORMULA(cell)'''</tt>
  
:Returns the formula entered in the cell <tt>'''cell'''</tt> as a text string.
+
:Returns the formula that is entered in the cell <tt>'''cell'''</tt> as a text string.
  
 
=== Example: ===
 
=== Example: ===
Line 13: Line 18:
 
: where A8 contains the formula <tt>'''=SQRT(4)'''</tt>, returns the text <tt>'''"=SQRT(4)"'''</tt>.
 
: where A8 contains the formula <tt>'''=SQRT(4)'''</tt>, returns the text <tt>'''"=SQRT(4)"'''</tt>.
  
{{Documentation/SeeAlso|
+
{{SeeAlso|EN|
 
* [[Documentation/How_Tos/Calc: ISFORMULA function|ISFORMULA]]
 
* [[Documentation/How_Tos/Calc: ISFORMULA function|ISFORMULA]]
  
Line 20: Line 25:
 
* [[Documentation/How_Tos/Calc: Functions listed alphabetically|Functions listed alphabetically]]
 
* [[Documentation/How_Tos/Calc: Functions listed alphabetically|Functions listed alphabetically]]
 
* [[Documentation/How_Tos/Calc: Functions listed by category|Functions listed by category]]}}
 
* [[Documentation/How_Tos/Calc: Functions listed by category|Functions listed by category]]}}
 +
[[Category: Documentation/Reference/Calc/Information functions]]

Latest revision as of 13:14, 31 January 2024

FORMULA

Returns the formula used in a cell as a text string.

Syntax:

FORMULA(cell)

Returns the formula that is entered in the cell cell as a text string.

Example:

FORMULA(A8)

where A8 contains the formula =SQRT(4), returns the text "=SQRT(4)".



See Also
Retrieved from "https://wiki.openoffice.org/w/index.php?title=Documentation/How_Tos/Calc:_FORMULA_function&oldid=259805"
Views
Personal tools
Navigation
Tools
In other languages