Desplay zero if yes

  • Thread starter Thread starter Pat
  • Start date Start date
P

Pat

=I29-J29

If the above formula returns a value greater than "0" (zero) and S29
contains the value "Yes" return "0" On the otherhand if S29 contains nothing
return whtaever value =I29-J29 returns.

Is this possible?

Thank you if you know.

Pat
 
one way:

=IF(ISBLANK(S29),I29-J29,IF(AND(I29>J29,S29="Yes"),0,"Undefined"))
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top