Using Roundup function

ShopManager

New Member
Joined
Dec 4, 2016
Messages
3
Hello Group,

I have an excel spreadsheet that I use to markup pricing on parts. My formula is pretty easy, however I would like it to use the roundup function as well. Basically, I want it to do the existing formula (=SUM A6/0.29) and then round up. Most of the time it comes up with a number like $ 2.24. Is there a way to get it to round up to either a $4.99 or $9.99? So anything that is less than $4.99 would round up to that and $5.00 and above would round up to $9.99?

Thanks for any help you can give me!
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)

svendiamond

Well-known Member
Joined
Jun 13, 2014
Messages
1,504
Office Version
  1. 365
Platform
  1. Windows
Just to clarify, you want to round up to the nearest $5 increment, but one penny less? So the nearest $4.99, $9.99, $14.99, $19.99, etc? In which case $5.03 would round up to $9.99 is this all correct?
 

Snakehips

Well-known Member
Joined
May 17, 2009
Messages
5,578
Office Version
  1. 365
  2. 2010
Platform
  1. Windows
I had been thinking similarly with...

=IF(A6<=0,"",CEILING((A6/0.29)+0.001,5)-0.01)
 

ShopManager

New Member
Joined
Dec 4, 2016
Messages
3

ADVERTISEMENT

Just to clarify, you want to round up to the nearest $5 increment, but one penny less? So the nearest $4.99, $9.99, $14.99, $19.99, etc? In which case $5.03 would round up to $9.99 is this all correct?


Yes!
 

ShopManager

New Member
Joined
Dec 4, 2016
Messages
3
Yes that is exactly what I am trying to accomplish. Anything that comes up after the calculation, I would like it to roundup to the next $4.99, $9.99, $14.99, etc. I’m not sure what kind of formula it takes.

Thanks for the help!
 

Tetra201

MrExcel MVP
Joined
Oct 14, 2016
Messages
3,753
Yes that is exactly what I am trying to accomplish. Anything that comes up after the calculation, I would like it to roundup to the next $4.99, $9.99, $14.99, etc. I’m not sure what kind of formula it takes.

Thanks for the help!
Try the formula from Post #3 or Post #4.
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,167,991
Messages
5,856,683
Members
431,828
Latest member
kARTIK12345

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top