New: ready-to-use spreadsheet templatesExplore the collection  →
Google Sheets · Verified tutorial

Use a custom formula in conditional formatting in Google Sheets

Add conditional formatting to A2:B5 with the custom formula =$B2="Done". Choose any visible fill color for matching rows.

Verified by JosephineAbout 60 seconds
Quick answer

Add conditional formatting to A2:B5 with the custom formula =$B2="Done". Choose any visible fill color for matching rows.

Step-by-step

1

Select the targetAdd conditional formatting to A2:B5 with the custom formula =$B2="Done".

2

Apply the changeChoose any visible fill color for matching rows.

Shortcut or faster method

Select the target cell, type or paste the formula in the formula bar, then press Enter.

Expected result

A2:B5 has the requested custom-formula rule.

Common mistake

Typing the formula as plain text or placing it in the wrong cell.

Troubleshooting

Re-select A2:B5 and repeat the final action. A2:B5 has the requested custom-formula rule.

Example spreadsheet data

This is the clean fixture used for the verified run.

TaskStatus
Draft briefOpen
Review copyDone
Publish pageOpen
Send reportDone

Video transcript

  1. Open the prepared Practice spreadsheet.
  2. Select the target. Add conditional formatting to A2:B5 with the custom formula =$B2="Done".
  3. Apply the change. Choose any visible fill color for matching rows.
  4. A2:B5 has the requested custom-formula rule.