ISFORMULA function
Returns TRUE if a cell contains a formula and FALSE if it holds a typed value. Great for finding formulas overwritten with fixed numbers.
Available in Excel 2013 and later, Microsoft 365, Excel for the web
Excel 2013 and laterWorks in Google Sheets
Syntax
ISFORMULA(reference)| Argument | What it means | |
|---|---|---|
reference | Required | A reference to the cell to check (a cell, a range, or a defined name pointing to cells). |
Returns: TRUE if the cell contains a formula, otherwise FALSE.
How ISFORMULA works
ISFORMULA checks how a cell's value got there: calculated by a formula, or typed in. The two can look identical — a total of 450 is a total of 450 — but a typed number will not update when quantities or prices change. In budgets, invoices and price lists, someone overwriting a formula with a hard-coded number is one of the most common causes of wrong totals.
The function needs a real reference, not a value: ISFORMULA(D2) works, ISFORMULA(450) does not. It is especially effective in conditional formatting — highlight every cell in a Total column where NOT(ISFORMULA(...)) is TRUE — and together with FORMULATEXT, which shows the formula itself as text, it makes a simple audit trail.
Examples
1Is the total calculated?
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Item | Qty | Price | Total | |
| 2 | Paper | 20 | 15 | 300 | TRUE |
| 3 | Toner | 5 | 90 | 450 |
Result: TRUE
D2 contains the formula =B2*C2 (displayed as 300), so ISFORMULA returns TRUE.
2Spot an overwritten total
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Item | Qty | Price | Total | |
| 2 | Paper | 20 | 15 | 300 | |
| 3 | Toner | 5 | 90 | 450 | Typed value - check |
Result: Typed value - check
Someone typed 450 into D3 instead of keeping =B3*C3. The value happens to be right today, but it will not follow changes to quantity or price — the check column catches it.
Common errors and how to fix them
| Error | Why it happens | Fix |
|---|---|---|
#VALUE! | The argument is not a reference (for example a number or text string). | Point ISFORMULA at a cell, such as D2. |
Tips
- Conditional formatting rule
=NOT(ISFORMULA(D2))applied to the Total column turns hard-coded values orange. - Excel's own Home > Find & Select > Formulas selects every formula cell at once — useful for a one-off visual check.
Google Sheets
ISFORMULA also exists in Google Sheets and works the same way for everyday use, so the examples above work there too.
ISFORMULA in other languages
In a non-English version of Excel the function has a local name. Excel translates formulas automatically when a file is opened in another language.
| Language | Function name |
|---|---|
| Danish | ER.FORMEL |
| Dutch | ISFORMULE |
| Finnish | ONKAAVA |
| French | ESTFORMULE |
| German | ISTFORMEL |
| Hungarian | KÉPLET |
| Italian | VAL.FORMULA |
| Norwegian (Bokmål) | ERFORMEL |
| Polish | CZY.FORMUŁA |
| Portuguese (Brazil) | ÉFÓRMULA |
| Portuguese (Portugal) | É.FORMULA |
| Russian | ЕФОРМУЛА |
| Spanish | ESFORMULA |
| Swedish | ÄRFORMEL |
| Turkish | EFORMÜLSE |