=IF

S

Susan

Hello All,

Having trouble adding criteria to an IF function.

Using in Cell S3517:
=IF(L3517=0," ",(ROUND(-L3517*0.01,2))+L3517.

Need to add:

IF "SEARS" apprears in E3517, disregard other criteria and put the amount
from cell L3517, with no 1% discount and no rounding, in cell S3517.

Is this possible?

Thank you,
 
P

PCLIVE

Not sure what you mean. Maybe this:

=IF(L3517=0,"",IF(E3517="SEARS",L3517,(ROUND(-L3517*0.01,2))+L3517))

HTH,
Paul
 
R

Rick Rothstein \(MVP - VB\)

This should do what you want...

=IF(L3517=0," ",IF(E3517="SEARS",0,ROUND(-L3517*0.01,2)))+L3517

Rick
 
P

Pete_UK

Rick,

I think you'll need to do it like this:

=IF(L3517=0," ",IF(E3517="SEARS",0,ROUND(-L3517*0.01,2))+L3517)

otherwise you'll be trying to add a number onto " " when L3517 is zero.

Pete
 
R

Rick Rothstein \(MVP - VB\)

Good point!

Rick


Pete_UK said:
Rick,

I think you'll need to do it like this:

=IF(L3517=0," ",IF(E3517="SEARS",0,ROUND(-L3517*0.01,2))+L3517)

otherwise you'll be trying to add a number onto " " when L3517 is zero.

Pete
 

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

Top