how to rounda decimal up to #.#9

  • Thread starter Thread starter Tobzcpa
  • Start date Start date
T

Tobzcpa

I m trying to round a decimal up to the #.#9. For example 8.33 I would
like to round up to 8.39 or 9.95 to round up to 9.99. Does anyone know
the formula to do this. If so email me @ (e-mail address removed)
Thanks
 
=ROUNDUP(A2,1)-0.01

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)
 
Bob Phillips said:
=ROUNDUP(A2,1)-0.01
....

Boundary conditions are a PITA!

=ROUNDUP(9.00,1)-0.01

evaluates to 8.99. If the OP would want 9.09, then change the formula to

=ROUNDDOWN(A1+0.1,1)-0.01
 
I seem to recall you telling me that before <vbg>.

Good point though.

--
HTH

Bob Phillips

(remove nothere from email address 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

Back
Top