(Excel) Conditional Formatting based on Adjacent Cell Value

前端 未结 2 1233
北海茫月
北海茫月 2020-12-24 11:32

I\'m trying to apply conditional formatting in Excel on a range of cells, based on the adjacent cell\'s value, to achieve something like this:

2条回答
  •  清歌不尽
    2020-12-24 12:16

    I don't know if maybe it's a difference in Excel version but this question is 6 years old and the accepted answer didn't help me so this is what I figured out:

    Under Conditional Formatting > Manage Rules:

    1. Make a new rule with "Use a formula to determine which cells to format"
    2. Make your rule, but put a dollar sign only in front of the letter: $A2<$B2
    3. Under "Applies to", Manually select the second column (It would not work for me if I changed the value in the box, it just kept snapping back to what was already there), so it looks like $B$2:$B$100 (assuming you have 100 rows)

    This worked for me in Excel 2016.

提交回复
热议问题