Forum Discussion

daniel315's avatar
daniel315
Copper Contributor
Mar 02, 2022
Solved

Conditional Formating Formula

I have two columns with numbers.   If the number in B column is higher than the number in A column highlight the cell green If the number in B column is lower than the number in A column highlight...
  • Martin_Weiss's avatar
    Mar 02, 2022

    Hi daniel315 

     

    you would need 3 rules for conditional formatting:

    Yellow: =AND(B1>=A1*0,9;B1<=A1*1,1)

    Red:  =B1<A1

    Green:  =B1>A1

     

    Depending on your regional settings it might be that you need to replace the first formula like this:

    =AND(B1>=A1*0.9,B1<=A1*1.1)

Resources