File and sharing · Short guide

Why is conditional formatting highlighting the wrong row in Excel?

Braxorn · Last updated 2026-11-22 · English

A conditional formatting rule evaluates its formula relative to the first cell of its target range. An offset of one row can highlight the invoice above the overdue one.

What to do

Open Manage Rules for the current worksheet. Read the Applies to range and the formula together. Lock the column that stores status but leave the row relative when each row has its own status.

Example and result check

For A2:D10, try =$D2="Late". Put Late only in D4 and check that row 4 alone changes colour. If another row is still coloured, inspect overlapping rules and their priority.

Related guide