Excel conditional formatting depending on cells on

2019-09-02 20:42发布

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?

标签: excel
4条回答
放荡不羁爱自由
2楼-- · 2019-09-02 21:22

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.

查看更多
聊天终结者
3楼-- · 2019-09-02 21:34

Do it like this. that way the formatting is relative to each cell

enter image description here

查看更多
做自己的国王
4楼-- · 2019-09-02 21:39

For just your range, applies to:

=$B$1:$B$3

or for the whole of column B, applies to:

=$B:$B
查看更多
Juvenile、少年°
5楼-- · 2019-09-02 21:43

You can use =EXACT("X",$A1) as rule for the conditional formatting of B1. Dragging it down will results in =EXACT("X",$A2) for B2 and so on.

查看更多
登录 后发表回答