View Single Post
  #7   Report Post  
Posted to microsoft.public.excel.misc
Flojoe Flojoe is offline
external usenet poster
 
Posts: 6
Default if cell A is +- 10% of cell B

this formula works great --- however, what if I want the yes to turn red and
the no to turn green what do I do? Thanks!

"Roger Govier" wrote:

Hi Tina

=IF(OR(A1B1*(1+10%),A1<B1*(1-10%)),"Yes","No")

Note this excludes equal to +10% and -10% values themselves. Change to
= to include these values.


Regards

Roger Govier



tina wrote:

Hi
What is the best way to write if statement to show if cell A1 is 10% greater
or 10%smaller than cell B1
thanks
Pat