Forum Discussion
daniel315
Mar 02, 2022Copper Contributor
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...
- 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)
Martin_Weiss
Mar 02, 2022Bronze Contributor
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)
daniel315
Mar 02, 2022Copper Contributor
Thank you so much, DTE!