Skip to content

Conditional formatting rules

Highlight the rows that matter

Say what should stand out, like late tasks, duplicates or upcoming dates. Get the custom formula with correct $ signs and the exact steps to add the rule.

  • Correct $ anchoring
  • Click-by-click steps
  • Excel and Google Sheets

Try an example:

Spreadsheet app
Argument separator

Free: 25 requests a day, no sign-up

Ready-made rules

Popular highlight rules

Argument separator

More free spreadsheet tools

Everything you need when a formula gets in the way.

Frequently asked questions

Why does my conditional formatting formula only work on the first row?

The formula is written for the top-left cell of the range and adjusted for every other cell. Lock the column with $ (like $D2) but not the row, so each row checks its own value.

Where do I paste the formula in Excel?

Select the range, then Home > Conditional Formatting > New Rule > "Use a formula to determine which cells to format". Paste the formula, click Format to pick a fill colour, and click OK.

Where do I paste the formula in Google Sheets?

Select the range, then Format > Conditional formatting. Under Format rules choose "Custom formula is", paste the formula, pick a style and click Done.

Can a rule look at another sheet?

In Google Sheets you need INDIRECT, for example =COUNTIF(INDIRECT("List!A:A"), $A2)>0. Recent Excel versions allow direct references to other sheets.