ISFORMULA Function
Checks whether a cell contains a formula.
Category
Information
Available in
Excel 2013+, Microsoft 365
Returns
TRUE or FALSE
Want to practice ISFORMULA in a real spreadsheet? Open a blank sheet in our Practice Sandbox and try it with live data, with the AI Excel tutor beside you. No Excel needed — just a free account.Try it free in the Sandbox
Overview
ISFORMULA returns TRUE when the referenced cell holds a formula and FALSE when it holds a typed value — whatever the result looks like.
Use it to audit a model: highlight hard-coded numbers that someone typed over a formula.
Syntax
=ISFORMULA(reference) Explain
Arguments
| Argument | Required? | What it does |
|---|---|---|
| reference | Yes | A cell reference, or a name that refers to a cell. |
Examples
Example 1 — Find the typed-over total
Every Total should be Qty × Price. Row 3 was overwritten with a typed 90.
E2fx=ISFORMULA(D2)
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Item | Qty | Price | Total | Formula? |
| 2 | Paper | 4 | 6.5 | 26 | TRUE |
| 3 | Toner | 2 | 48 | 90 | FALSE |
| 4 | Pens | 10 | 1.2 | 12 | TRUE |
=ISFORMULA(D2) Explain
Common mistakes
- Passing text instead of a reference. =ISFORMULA("D2") gives #VALUE!. Point at the cell itself, or use INDIRECT("D2").
Notes
- Highlight every hard-coded number in a model: Conditional Formatting › Use a formula: =AND(ISNUMBER(D2),NOT(ISFORMULA(D2))).
- FORMULATEXT shows the formula itself as text.
- Related functions: FORMULATEXT, ISBLANK, CELL.

Author
Kyle Stott
Certified Microsoft Excel Expert
Kyle has worked professionally with Microsoft Excel for over a decade and has consulted on and taught Excel best practices to over 400 companies across 30+ countries.