HOW DO I ROUNDUP A RESULT OF A FORMULA TO NEAREST WHOLE NUMBER

G

Guest

for example, my formula in the cell is =(c18/15)
if the result of the formula is 60.2, the cell displays 60 but i want it to
round UP to the nearest whole number. do i have to add to that formula the
end result?
 
B

Bob Phillips

=ceiling(C18/15,1)

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)
 
D

David Biddulph

Or =ROUNDUP(C18/15,0)
You'll find that the CEILING formula will fail if C18 is negative.
 
B

Bob Phillips

But Roundup rounds negative numbers down!

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)
 

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