Forum Discussion
Excel - IF cell X > than cell Y by %
- Jan 04, 2020
Simon, in C1 it could be
=IF(A1>=B1*2,"x","")and drag it down.
Alternatively you may apply conditional formatting rule to entire range with formula like
=$A1>$B1*2and with desired format.
Instead of B1*2 it could be B1*1.5 for 50%, etc. Even better to keep percent in helper cell, let say E1. When B1*(1+$E$1). In E1 it could be 100%, 50%, whatever.
Simon, in C1 it could be
=IF(A1>=B1*2,"x","")
and drag it down.
Alternatively you may apply conditional formatting rule to entire range with formula like
=$A1>$B1*2
and with desired format.
Instead of B1*2 it could be B1*1.5 for 50%, etc. Even better to keep percent in helper cell, let say E1. When B1*(1+$E$1). In E1 it could be 100%, 50%, whatever.
- Simon77710Jan 04, 2020Copper Contributor
SergeiBaklanPerfect, should have known that but wasn't sure how to express in formula. Many thanks Sergei!
- SergeiBaklanJan 04, 2020Diamond Contributor
Simon77710 , you are welcome, glad to help