Rounding Up For Retail Pricing

G

Guest

Could someone please help me with the formula to always round up To 5's and
9's in the hundredths digit. For example if the amount is $3.20- $3.25 it
would round to $3.25. If the the number is $3.26 - $3.29, it would round up
to $3.29. I am using the following formula already to calculate pricing from
cost in Excel 2003 and currency formulations. =(I3/9)/.54+1.12
 
I

Ian

Assuming your price is in A1

=IF(INT(A1*10)>INT((A1-0.06)*10),(INT(A1*10)+0.5)/10,(INT(A1*10)+0.9)/10)
 
G

Guest

Assuming your data is in E7

=ROUNDDOWN(E7,1)+VLOOKUP(ROUND(E7-ROUNDDOWN(E7,1),2),{0,0.05;0.06,0.09},2,TRUE)
 
G

Guest

I believe analysis toolpak would need to be installed for the Rounddown
function to work.

Tools/Add Ins - check Analysis toolpak.
 
G

Guest

So if the penny digit is between 0 and 5 -> make it 5 and if it is 6 to 9 ->
make it 9.

Call your formula C10 for reading pleasure:

10*(10*C10-INT(10*C10) returns the penny as an integer

=IF(10*(10*C10-INT(10*C10))>5,
(10*INT(10*C10)+9)/100,
(10*INT(10*C10)+4)/100)
 
J

JE McGimpsey

JMB said:
I believe analysis toolpak would need to be installed for the Rounddown
function to work.

Nope. It's built-in. Perhaps you were thinking of MROUND().
 
G

Guest

I must have been confused. Thanks for pointing that out. Also - interesting
reading on excel passwords (different post).
 
G

Guest

Thank you JE, JMB & Ian - I'll try when I get back to work.~ appreciate
everyone's knowledge and willingness to help~ bound4LIFER
 

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