FORMULATEXT function
the formula at the given reference as text.
Lookup and reference · Excel 2013+
Where can you use it?
Reporting and operations teams. Use functions in this group to retrieve a field from an item, employee or order list, select the right record, or move values into another report.
Scenario in the workbook
Display the formula text in column B. A hard-coded value has no formula text to inspect.
A worked example from the workbook
| Row | A | B |
|---|---|---|
| 6 | Input | Inspected cell |
| 7 | 2 | — |
| 8 | 4 | — |
| 9 | 6 | — |
Record 1
=FORMULATEXT(B7)Expected result=A7*2
See the inputs and instructions for all 3 examplesCopyable formulas
English Excel · en-US
=FORMULATEXT(B7)Turkish Excel · tr-TR
=FORMÜLMETNİ(B7)Worked examples
Display the formula text in column B. A hard-coded value has no formula text to inspect.
Use the blue inputs in the table starting at A6. F7:F9 calculate results and G7:G9 retain the original values for comparison.
Source cells containing formulas
B7→=A7*2B8→=A8*2B9→=A9*2
| Row | A | B |
|---|---|---|
| 6 | Input | Inspected cell |
| 7 | 2 | — |
| 8 | 4 | — |
| 9 | 6 | — |
| Trial | Expression | Sample output |
|---|---|---|
| Record 1 | =FORMULATEXT(B7) |
=A7*2 |
| Record 2 | =FORMULATEXT(B8) |
=A8*2 |
| Record 3 | =FORMULATEXT(B9) |
=A9*2 |