Forum Discussion

Monica Bossert's avatar
Monica Bossert
Brass Contributor
Aug 18, 2017

Conditional Formatting - Column A contains #, Column B contains a formula, formatted as a #

Hello,

 

My column A has numbers, but my column B has a formula, and the column is formatted as number. It isn't working for me when I try and use conditional formatting to highlight the numbers in column B that aren't equal to column A

 

LTDSystem LTD
119.18119.31
103.87104.04
104.65104.80
82.6882.85
125.48125.61
148.92148.92

 

The conditional formatting I used is =($A$2<>$B$2) and had it apply to =$B$2:$B$7

I would like it to show as red font - not highlight the cell. 

 

Does it matter if column B contains a formula? Thanks!

  • Monica, use

    =($A2<>$B2)

    Otherwise you always compare A2 and B2, for any cell to which the rule is applied

      • SergeiBaklan's avatar
        SergeiBaklan
        MVP

        What do you mean it works? - last cell in your sample is highlighted or not?

Resources