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!
 

Some videos you may like

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)

svendiamond

Well-known Member
Joined
Jun 13, 2014
Messages
1,498
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,069
Office Version
  1. 2013
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,639
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.
 

Watch MrExcel Video

Forum statistics

Threads
1,123,176
Messages
5,600,154
Members
414,367
Latest member
dw970906

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