IF formula

  • Thread starter Thread starter Nan
  • Start date Start date
N

Nan

How do I write a formula based on the value in 2 different cells? Fo
example, if A1=0 and B1>0 I want the result to say "Alert" otherwise
want to divide C1 by A1.

Thanks for any help
 
I realized that I also need to add another scenario. If A1=0 and B1=0
want the result to be 0. Since C1 is the difference between A1 and B1
and if they are both 0, I get an error message.

Can this be added to the formula below?

Thanks
 
Back
Top