Return quantity outstanding

P

Pat

In the following calculation the result returned is correct, only I want the
quantity required to round off the result to the nearest whole number, which
in this case is 9, this would then return 205

M2 = 3791
O2 = 300

=(M2+O2)/20
returns 204.55

So, instead of 204.55 being returned 9 should be displayed.

Anyone know what change I can make to the formula to return this result.

Thanks if you can be off help.
Pat
 
J

JulieD

Hi Pat

sorry don't follow you
if
=(M2+O2)/20 = 204.55
how can rounding the result to the nearest whole number equal 9

to round to 205 use
=ROUND((M2+O2)/20,0)
 
J

JulieD

Hi Pat

sorry, figured out what you were after

does
=(CEILING((M2+O2)/20,1)-(M2+O2)/20)*20

give you what you want.
 

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