Roundup to .99 endings

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!
 
B

Bob Phillips

=roundup(a1,0)-.01

--
HTH

Bob Phillips

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

joeu2004

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?
 
J

joeu2004

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!).
 
Top