Highlight All Formula Cells

Excel Formulas › Conditional Formatting

2013+ISFORMULA

See at a glance which cells are formulas versus typed-in values — an instant audit. ISFORMULA returns TRUE for any cell containing a formula, perfect for a conditional-formatting rule.


Quick formula: select the range, add a formula rule:
=ISFORMULA(A1)
TRUE for any cell that holds a formula. Shade them to distinguish calculated cells from hardcoded inputs.

Functions used (tap for the full reference guide):

The example

Formula cells shaded; typed values left plain.

AB
1CellType
2100value
3=A2*1.1formula

The formula

One function does the audit:

=ISFORMULA(A1) // TRUE wherever a formula lives

How it works

ISFORMULA tests the cell’s content type:

  1. ISFORMULA(cell) returns TRUE if the cell contains a formula, FALSE for a constant or blank.
  2. Apply it as a CF rule over your range to shade every formula cell.
  3. This makes it obvious where someone has hardcoded a number into a column that should be calculated — a common error source.
  4. Flip with =AND(A1<>"", NOT(ISFORMULA(A1))) to instead flag typed-in values among formulas.

One-off check: Home → Find & Select → Formulas selects all formula cells instantly. The CF rule is for an always-on visual audit; Find & Select is for a quick look.

Try it: interactive demo

Live demo

Lines starting with = are formulas.

Variations

Flag typed values

Non-formula, non-blank:

=AND(A1<>"", NOT(ISFORMULA(A1)))

Select all formulas

Home → Find & Select → Formulas.

Count formulas

How many:

=SUMPRODUCT(--ISFORMULA(rng))

Pitfalls & errors

2013 or later. ISFORMULA was added in Excel 2013; older versions need a (deprecated) GET.CELL macro name.

Match the relative ref. A1 in the rule must match the active cell of the selection.

Blanks are FALSE. Empty cells aren’t formulas, so they stay unshaded — usually what you want.

Practice workbook

📊
Download the free Highlight All Formula Cells practice workbook
An ISFORMULA audit rule with the flag-typed and count variants, plus 4 challenges with answers. No sign-up required.

Frequently asked questions

How do I highlight cells that contain formulas in Excel?
Add a formula CF rule =ISFORMULA(A1). It's TRUE for any cell holding a formula, so you can shade calculated cells. Requires Excel 2013+.
How do I find hardcoded values among formulas?
Flip it: =AND(A1<>"", NOT(ISFORMULA(A1))) flags typed-in numbers where formulas are expected.
Is there a one-time way to see formulas?
Yes — Home → Find & Select → Formulas selects them all, or press Ctrl+` to toggle formula view.

Stop fighting formulas. Learn them in a day.

This recipe is one of hundreds of real-world formulas we teach. Our Excel Formulas & Functions class covers lookups, logic, text, and dynamic arrays hands-on — live in Dallas–Fort Worth, Houston, Austin, Oklahoma City, Denver, or online.

See the Formulas & Functions Class

Related formulas: Check if a cell has an error · Highlight with a formula · Highlight errors

Function references: ISFORMULA