Conditional Formatting Formula Generator

Custom conditional formatting formulas let you highlight cells based on complex rules — comparing to other cells, checking dates, finding duplicates, and more.

SyntaxCustom formula in conditional formatting rule (must return TRUE/FALSE)
Try it — generate a Conditional Formatting Formulas formula

Examples

Highlight overdue dates

=A1<TODAY()

Returns TRUE for dates before today, highlighting overdue items.

Highlight duplicates

=COUNTIF(A:A, A1)>1

Returns TRUE if the value appears more than once in column A.

Highlight entire row

=$B1="High"

The $ locks column B — applies to entire row when column B says "High".

Tips

Related Formulas

Nested IF

Nested IF formulas let you test multiple conditions and return different values ...

COUNTIFS

COUNTIFS counts cells that meet multiple criteria across different columns. Perf...

FILTER

FILTER returns rows from a range that meet specified conditions. It's like AutoF...

Need a different formula?

Describe any formula in plain English and FormulaPad will generate it.

Try FormulaPad Free