Round to a certain number

Rushed2

New Member
Joined
Jul 13, 2024
Messages
3
Office Version
  1. 2013
Platform
  1. Windows
  2. Mobile
I work in retail and I’m trying to save time! I need to take cost and add on a percentage say 25% then round it either up or down to the nearest 9. Such as cost 1.20 add on 25% - 1.60 then either go to 1.59 or 1.69 please help this has been driving me crazy!
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
Welcome to the MrExcel forum. Your math is a little screwy in your example (1.20*125% = 150). However, using your numbers how about this:

Excel Formula:
=(ROUND((120*(1+0.25)),1)-0.01)
 
Upvote 0
This may be easier to visualize...

Book1
ABC
1CostPercentageRounded Answer
21.225%1.49
Sheet1
Cell Formulas
RangeFormula
C2C2=(ROUND((A2*(1+B2)),1)-0.01)
 
Upvote 0
=if(I2=0,0,G2/(100%-I2))
I2 is our % to markup and G2 is our cost. The end result is what I need to round. Sorry I’ve tried it a couple different ways and I’m still having issues
 
Upvote 0
=if(I2=0,0,G2/(100%-I2))
I2 is our % to markup and G2 is our cost. The end result is what I need to round. Sorry I’ve tried it a couple different ways and I’m still having issues
Assuming that you are talking about a Markup as opposed to a Gross Margin, try putting this formula in the cell where you want your answer to appear:

Excel Formula:
=IF(I2=0,0,(ROUND((G2*(1+I2)),1)-0.01))
 
Upvote 1
Solution
How did the provided answer not work?

A 25% increase from 1.20 would be 1.50. If $1.49 is what you went the suggestion to work or did you want add 9 cents to take it to $1.59
Examples with expected results would help.
 
Upvote 0
I wasn’t able to get the correct markup using the formula provided. However I used my normal formula in one cell, then I used the =(roundup formula and it worked as I needed! A thank you to everyone! I’m am super happy!
 
Upvote 0
Although the real question here was how to round a number so that it ends in 9, and I think you got that.
The problem was that you were using the term Markup when you should have saying Gross Margin. You are solving for Gross Margin Percent, not adding a Markup. First let me say that I was a General Manager of some large retail stores (in another life cycle). What you are attempting to do is to find the selling price of an item, given your Cost and your desired Gross Margin.
Just to go through the basics: Gross Margin = (Retail-Cost)/Retail or Gross Margin = Profit/Retail. If you know the cost and you know what you want you want your Gross Margin to be then that formula is:
Retail = Cost/(1-Gross Margin).
In your example it is as follows: 1.2/(1-.25) which equals 1.6. 25% is your Gross Margin Percent, not your Markup.
As an example of the difference between Gross Margin and Markup. if an item costs me 50 and I sell it at double that price (a 100% markup), the Gross margin on that is 50%.

See my post #5. I had expressed that fear.
 
Upvote 0

Forum statistics

Threads
1,224,824
Messages
6,181,186
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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