Use FORMULATEXT to display a cell’s formula in Excel

Show the actual formula from another cell as text so you can audit, debug, or teach formulas without editing the original cell.

What the video covers

Show how to use the FORMULATEXT worksheet function to display another cell’s formula as text in a workbook.

Watch the video on YouTube

Step-by-step instructions

  1. Select an empty cell
    Click the cell where you want the formula text to appear.
  2. Start the FORMULATEXT function
    Type =FORMULATEXT( to begin the function.
  3. Reference the cell that contains the formula
    Click the cell that holds the formula you want to display, or type its reference (for example A2).
  4. Close and enter
    Type ) and press Enter. The cell now shows the referenced cell’s formula as plain text.
  5. Update or format as needed
    Change the referenced formula to verify the text updates automatically. Adjust column width or enable wrap text if the formula text is long.

Watch the video

Video thumbnail for Use FORMULATEXT to display a cell’s formula in Excel Play tutorial

Watch on YouTube

Why it matters

Seeing formulas instead of results helps you audit spreadsheets, explain calculations to others, and find mistakes without clicking into each cell.

Check your result

The target cell where you entered FORMULATEXT shows the exact formula text from the referenced cell (not the computed value). If you change the original formula, the displayed text updates.

Troubleshooting

If you see an error or unexpected result, confirm the referenced cell exists and actually contains a formula. Some errors occur when the reference is invalid, points outside the workbook, or the referenced cell has no formula. If the formula text is very long it may wrap or be truncated visually; expand the cell width or use wrapping to see the full text.