Rounding Decimals

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is there a function that will round decimals to the nearest 10 e.g. if I had
62.675 I would want it to round to 63.
 
Hi Sho

you might like to play with
=ROUND(62.675,0)
=ROUNDUP(62.675,0)

which will both (in this case) return 63
and for completion sake have a look at
=ROUNDDOWN(62.675,0)
which will return 62

Cheers
JulieD
 
I did find the Round functions but I also want to Round to the nearest 5 e.g.

281.326 should round to 381.35
302.320 should round to 302.30
4.675 should round to 4.70

Any ideas?
 
I did find the Round functions but I also want to Round to the nearest 5 e.g.

281.326 should round to 381.35
302.320 should round to 302.30
4.675 should round to 4.70

Any ideas?

According to your examples, you want to round to the nearest 0.05 (not the
nearest 5).

To round to the nearest 0.05, use the formula:

=ROUND(A1/0.05,0)*0.05

To round to the nearest 5, use the formula:

=ROUND(A1/5,0)*5


--ron
 

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

Back
Top