Wrong Result--Help!

G

Guest

I'm using the formula below, which works with the
exception if it is false, I get "false" as a result and I
want 0 as a result, can you help me?

=IF(AND(OR
(I7="(00140)",I7="(35200)",I7="(35300)"),K22>J22),ROUND((-
25%*(K22-J22)),0))
 
A

Andy B

Hi

Try this:
=IF(AND(OR
(I7="(00140)",I7="(35200)",I7="(35300)"),K22>J22),ROUND((-
25%*(K22-J22)),0),0)
In other words, just insert a ,0 before the last bracket
 
D

Domenic

Hi,

Just add a comma and zero before the last bracket, like this,

=IF(AND(OR(I7="(00140)",I7="(35200)",I7="(35300)"),K22>J22),ROUND((-25%*(
K22-J22)),0),0)

Hope this helps!
 

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

Similar Threads


Top