What Is FORMULATEXT Function In Excel?
The FORMULATEXT Excel function displays the formula used in a selected cell or a cell range in the form of a text. This function helps us extract the formula used in a cell instead of just viewing the result or the formula in the formula bar. The FORMULATEXT function in Excel is an inbuilt “Lookup & Reference” function, so we can insert the formula from the “Function Library” or enter it directly in the worksheet.
For example, we will apply the FORMULATEXT function to display the formula used in the image below.
📥Download the ready-to-use Excel template to practice this tutorial yourself.
Download Excel TemplateFrequently Asked Questions (FAQs)
The FORMULATEXT function converts and returns the output of a given formula in the text string format.
The FORMULATEXT function is =FORMULATEXT(reference)
For example, we will fetch the output formula using the FORMULATEXT function.
In the table, the data is,
• Column A contains the Value.
• Here, column B contains the Formula Cells.
• Column C contains the Output.
The procedure to find the formula using the FORMULATEXT formula is,
Select cell C2, enter the formula =FORMULATEXT(B2), and press the “Enter” key.
The result is “=A2”, as shown above.
We can insert the FORMULATEXT function as follows:
1. Select an empty cell for the output.
2. Type =FORMULATEXT( in the selected cell. [Alternatively, type =F and double-click the FORMULATEXT function from the list of suggestions shown by Excel.]
3. Enter the arguments as only cell references and close the brackets.
4. Press the “Enter” key.
For example, the image depicts the value, and we will fetch the output formula using the FORMULATEXT function.
In the table, the data is,
• Column A contains the Value.
• Here, column B contains the Formula Cell.
• Column C contains the Output.
The procedure to find the formula using the FORMULATEXT formula is,
Select cell C2, enter the formula =FORMULATEXT(B2), and press the “Enter” key.
The result is “TRIM(A2)”, as shown above.
The FORMULATEXT function is in the “Formulas” tab, as shown below.
Choose an empty cell for the output → select the “Formulas” tab → go to the “Function Library” group → click the “Lookup & Reference” option drop-down → select the “FORMULATEXT” function, as shown below.
Download Template
📥Download the ready-to-use Excel template to practice this tutorial yourself.
Download Excel TemplateRecommended Articles
This has been a guide to FORMULATEXT Excel Function. Here we extract & display formula from a formula result cell, examples & downloadable excel template. You can learn more from the following articles –