We’re improving Formula Genius. We’re redesigning the app and fixing issues along the way. Sorry for any disruption, and thank you for your patience.
Excel intermediate

Conditional Formatting With Custom Formulas

Built-in conditional formatting rules are limited. Custom formulas let you highlight based on any logic you can write.

Formula Genius can generate a draft from a plain-English prompt. Supported formulas can be checked with sample cases; review the coverage on the result.

The formula

Prompt

"Highlight the entire row when the status column says Overdue"

Excel
=$C1="Overdue"

In conditional formatting, this formula is applied to each row. The $ before C locks the column (always check column C), while the row number is relative (adjusts per row). When TRUE, the formatting applies.

Step-by-step breakdown

  1. $ before C locks the column reference — always checks column C
  2. Row 1 is relative — Excel adjusts it for each row in the range
  3. Applied to range like A1:E100 — every cell in the row checks its row's C value
  4. When $C{row}="Overdue" is TRUE, the entire row gets formatted
  5. Set up: Home > Conditional Formatting > New Rule > Use a formula

Edge cases & warnings

  • Forgetting the $ on the column causes it to check different columns per cell
  • The formula must return TRUE or FALSE (or 1/0)
  • Rule order matters — rules higher in the list take priority
  • Performance: avoid volatile functions (NOW, TODAY) in conditional formatting on large ranges

Examples

Prompt

"Row with Status="Overdue""

Excel
Entire row highlighted in red
Prompt

"Row with Status="Completed""

Excel
No formatting applied

Frequently asked questions

Why isn't my conditional formatting formula working?

Most common issues: (1) Missing $ on the column lock, (2) Formula references wrong starting row, (3) The formula doesn't return TRUE/FALSE. Test the formula in a cell first.

Can I use conditional formatting across sheets?

No — conditional formatting formulas can only reference cells on the same sheet. Use helper columns with cross-sheet formulas instead.

Can't find what you need?

Describe a formula in plain English. Formula Genius drafts and explains it, and can check supported formulas on sample cases.