Information function

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)
ArgumentWhat it means
referenceRequiredA 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?

E2fx=ISFORMULA(D2)
ABCDE
1ItemQtyPriceTotal
2Paper2015300TRUE
3Toner590450

Result: TRUE

D2 contains the formula =B2*C2 (displayed as 300), so ISFORMULA returns TRUE.

2Spot an overwritten total

E3fx=IF(ISFORMULA(D3), "OK", "Typed value - check")
ABCDE
1ItemQtyPriceTotal
2Paper2015300
3Toner590450Typed 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.

⬇Practice workbookExamples with live formulas + practice sheets · .xlsx · 14 KB

Common errors and how to fix them

ErrorWhy it happensFix
#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.

LanguageFunction name
DanishER.FORMEL
DutchISFORMULE
FinnishONKAAVA
FrenchESTFORMULE
GermanISTFORMEL
HungarianKÉPLET
ItalianVAL.FORMULA
Norwegian (Bokmål)ERFORMEL
PolishCZY.FORMUŁA
Portuguese (Brazil)ÉFÓRMULA
Portuguese (Portugal)É.FORMULA
RussianЕФОРМУЛА
SpanishESFORMULA
SwedishÄRFORMEL
TurkishEFORMÜLSE

Recipes that use ISFORMULA