add Rounding function to this formula

G

Greg

I'm not sure where to insert the round function to this formulas result.
i have tried a couple different things with no resolve.
it needs to be normal rounding .4 down .5 up
=IF(B10="M",IF($C$2-C10<0,0,($C$2-C10)*$B$2),IF($C$3-C10<0,0,($C$3-C10)*$B$3))

Many Thanks in advance.
Greg
 
J

Jacob Skaria

Try....rounded to 2 decimals
=IF(B10="M",ROUND(MAX(0,($C$2-C10)*$B$2),2),
ROUND(MAX(0,($C$3-C10)*$B$3),2))

If this post helps click Yes
 

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