Back to Functions

FORMULATEXT

Returns the formula as a string.

LookupFORMULATEXT(cell)

FORMULATEXT

The FORMULATEXT function in Google Sheets is a useful tool for extracting the formula used in a cell and displaying it as a string. This can be helpful when you want to understand or document the logic behind a particular calculation. Learn how to use the FORMULATEXT function effectively with our comprehensive guide.

Function Syntax and Parameters

Syntax: FORMULATEXT(cell)

Parameters:

  • cell: The reference to the cell containing the formula.

Step-by-Step Tutorial

  1. Using FORMULATEXT with a single cell:
    • Example: =FORMULATEXT(A1)
    • Result: =SUM(A2:A5)

Use Cases and Scenarios

  1. Documentation: Display the formula used in a cell for better understanding and documentation.
  2. Debugging: Identify and analyze formulas in cells to troubleshoot issues.

Related Functions

None

Related Articles

None

Newsletter

More FORMULATEXT examples coming soon.

We are building short, practical updates for Sheets power users.