Rounding Question

ccummins

New Member
Joined
Jul 11, 2006
Messages
24
I have an easy one I think but am having trouble.

I am working on a spreadsheet to calculate how many parts someone needs to order to reach a $500 minimum. I have the sell price and the quantity per bag. The qty per bag can change, varying from 25 pcs to 2500 pcs. So, I've got the minimum number of pieces they need to order. I just need to figure out how to round that number up so it is incremental of the bag qty. Example: Price is $.055 each. There is a $500 minimum. Bag qty is 100 (but could be 1000). It calculates it as 9090. I need it to calculate it to round to 9100.
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
MrExcelPlayground2.xlsx
XYZAA
4Unit PriceUnits/bagUnits for $500Order
5$ 0.0551009100$ 500.50
Sheet17
Cell Formulas
RangeFormula
Z5Z5=ROUNDUP(500/X5/Y5,0)*Y5
AA5AA5=Z5*X5
 
Upvote 0
Another option
+Fluff 1.xlsm
ABCD
1
20.0551009100500.5
30.055100010000550
Master
Cell Formulas
RangeFormula
C2:C3C2=CEILING(500/A2,B2)
D2:D3D2=A2*C2
 
Upvote 0

Forum statistics

Threads
1,215,020
Messages
6,122,709
Members
449,093
Latest member
Mnur

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
Back
Top