I want to apply conditional formatting in the cell's in one Excel column so that they change appearence depending on the text in the cell's in other column (but in the same row).
Cell B1 depends on A1
Cell B2 depends on A2
Cell B3 depends on A3
Conditional formatting rule, example for one cell:
Rule: =A1="X"
Which applies to: =$B$1
How can this be done to all the cells in column B?
Apply the formatting to
$A$1:$B$3
, and set the rule to=$A1="X"
.The general concept here is to freeze the column but allow the row to change. This will cause each row to apply formatting to the entire row if column A is equal to X.
Do it like this. that way the formatting is relative to each cell
For just your range, applies to:
or for the whole of column B, applies to:
You can use
=EXACT("X",$A1)
as rule for the conditional formatting ofB1
. Dragging it down will results in=EXACT("X",$A2)
for B2 and so on.