Roundup to .99 endings

  • Thread starter Thread starter mj99
  • Start date Start date
M

mj99

Trying to get every number in an excel file to roundup for retail price
points....

20.34 = 20.99
38.75 = 38.99

thanks in advance!
 
=roundup(a1,0)-.01

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)
 
mj99 said:
Trying to get every number in an excel file to roundup for retail price
points....
20.34 = 20.99
38.75 = 38.99

=INT(price) + 0.99

That will change $20 to $20.99. Is that what you want?
 
daddylonglegs said:
Perhaps
=roundup(a1+.01,0)-.01

Killing an ant with a sledgehammer. I believe that has the same result
as INT(price) + 0.99, at least for all positive numbers (prices!).
 

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