Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Rounding Up For Retail Pricing

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
  #2   Report Post  
Posted to microsoft.public.excel.programming
Ian Ian is offline
external usenet poster
 
Posts: 238
Default Rounding Up For Retail Pricing

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)

--
Ian
--
"bound4LIFER" wrote in message
...
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



  #3   Report Post  
Posted to microsoft.public.excel.programming
JMB JMB is offline
external usenet poster
 
Posts: 2,062
Default Rounding Up For Retail Pricing

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)


"bound4LIFER" wrote:

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

  #4   Report Post  
Posted to microsoft.public.excel.programming
JMB JMB is offline
external usenet poster
 
Posts: 2,062
Default Rounding Up For Retail Pricing

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

Tools/Add Ins - check Analysis toolpak.

"bound4LIFER" wrote:

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

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,624
Default Rounding Up For Retail Pricing

In article ,
JMB wrote:

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().


  #6   Report Post  
Posted to microsoft.public.excel.programming
JMB JMB is offline
external usenet poster
 
Posts: 2,062
Default Rounding Up For Retail Pricing

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

"JE McGimpsey" wrote:

In article ,
JMB wrote:

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().

  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,624
Default Rounding Up For Retail Pricing

One way:

=CEILING(I3/4.86+1.12,0.05)-(MOD(I3/4.86+1.12,0.1)0.05)/100

In article ,
"bound4LIFER" wrote:

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

  #8   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 279
Default Rounding Up For Retail Pricing

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 pleasu

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)

"bound4LIFER" wrote:

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

  #9   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Rounding Up For Retail Pricing

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

"Vacation's Over" wrote:

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 pleasu

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)

"bound4LIFER" wrote:

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

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
rounding a number created by a formula to a retail price jack Excel Worksheet Functions 3 December 13th 06 11:28 PM
Retail pricing to the $x.x9 or $x.x5 [email protected] Excel Discussion (Misc queries) 0 July 27th 06 01:57 PM
Retail Pricing kapper Excel Discussion (Misc queries) 4 April 19th 06 04:02 PM
Retail Price rounding help needed Graham Clarke Excel Worksheet Functions 1 March 6th 06 06:40 PM
Rounding - for retail prices May W. Excel Worksheet Functions 1 November 11th 04 01:13 AM


All times are GMT +1. The time now is 09:34 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"