Rules with custom formulas
Write formula rules that compare cells in the same row, combine conditions with AND and OR, and handle empty cells.
In this lesson
- Format, then Conditional formatting.
- Write the formula for the first cell in Apply to range.
- Same row:
=C2>B2. Whole row:=$C2>$B2. A settings cell:=C2>$G$1.
Try a free lesson first
Why your formula broke when you copied it
Lock a cell with $ so a formula keeps working when you copy it down.
Beginner · 7 min · Free, with no sign-up
Do the free lesson on your computer.
Send yourself the link and open it on a laptop or desktop.
On your computer, go tolearnford.com/go/39MP
This lesson is in the full Google Sheets course
US$149 once
Tax included. New lessons are added as they're written.
Get the full course, US$14930-day money-back guarantee if you've opened fewer than 10 paid lessons.
- All 215 Google Sheets lessons open today, and every new one as it's written.
- The Roadmap, Skills and all seven paths.
- A cheat sheet for every lesson you finish.
- Skill
- Conditional formatting
- Stage
- Advanced
Where it sits in Conditional formatting
- Highlight cells above a value8 min
- Traffic-light status column10 min
- Manage and remove rules9 min
- Rules with custom formulasThis lesson12 min
The steps
12 steps: 4 explanations, 6 Do this, 2 questions, then Your turn.
Try a free lesson first
Why your formula broke when you copied it
Lock a cell with $ so a formula keeps working when you copy it down.
Beginner · 7 min · Free, with no sign-up
Do the free lesson on your computer.
Send yourself the link and open it on a laptop or desktop.
On your computer, go tolearnford.com/go/39MP