Excel - programm cells to change colour based on another cell

前端 未结 3 1343
没有蜡笔的小新
没有蜡笔的小新 2021-01-13 14:20

I am trying to create a formula for Excel whereby a cell would change colour based on the text in the previous cell.

So for example if cell B2 contains the letter X

3条回答
  •  梦毁少年i
    2021-01-13 14:36

    Select ColumnB and as two CF formula rules apply:

    Green: =AND(B1048576="X",B1="Y")

    Red: =AND(B1048576="X",B1="W")

    enter image description here

提交回复
热议问题