Gross Margin vs Gross Markup

Escarabajo

New Member
Joined
Aug 7, 2014
Messages
14
Why does my Gross Margin markup give me the error #DIV/0! when marked up 100% and when I go over 100% I get a negative number?

ABCD
1COSTMUSELL
2$1850%=A2/(1-B2) = $36.00Gross Margin
3$1850%=(A3*B3)+A3 = $27.00Gross Markup
4$18100%=A4/(1-B4) = #DIV/0!Gross Margin ERROR

What am I missing here?

Gross Margin vs Markup.xlsm
BCDEFG
1
2CostMUSell
3$ 18.00100%#DIV/0!Gross MarginThe type of margin we’re discussing in this case is gross profit margin, which describes the profit that you earn on a product as a percentage of the selling price.
4
5$ 36.00Gross MarkupYou can think of markup as the extra percentage that you charge your customers (on top of your cost).
Sheet1
Cell Formulas
RangeFormula
D3D3=B3/(1-C3)
D5D5=(B3*C3)+B3
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
Note that 100% is really equal to 1.
So in the denominator of that formula, you have (1-B4), which is then:
1-100%
or
1-1
which equals
0

And you cannot divide by zero. That is impossible and will return an error.

If you can explain what number should be returned for this example, and explain how to arrive at that number, we can probably help you write a formula to do what you need.
 
Upvote 0
Note that 100% is really equal to 1.
So in the denominator of that formula, you have (1-B4), which is then:
1-100%
or
1-1
which equals
0

And you cannot divide by zero. That is impossible and will return an error.

If you can explain what number should be returned for this example, and explain how to arrive at that number, we can probably help you write a formula to do what you need.
Hi Joe4, so you can have greater than 100% for mark up, but not for margin? Is there a work around for this?
 
Upvote 0
Hi Joe4, so you can have greater than 100% for mark up, but not for margin? Is there a work around for this?
I know nothing about the logic or what these formulas should look like.
I am just giving you a mathematical analysis of your formula and why you get that error (and note you only get that error when B4 is EXACTLY 100%; you would have the same issue if B2 was also 100%).
I have no idea is the formula you came up with is actually the correct one to use.

I suspect that the formula you are trying to use may not be correct.
Where did you get these formulas?
If you came up with them yourself, can you explain the logic in detail?
 
Upvote 0
Yea the problem I have run across that I am coming to realize you can have greater than 100% for mark up, but not for margin, this formula calculates for gross profit margin.

Thank you for your input
 
Upvote 0
I have don't a lot of work with Cost, Markups and Gross Margin. However, I don't fully understand your formulas nor logic? Maybe this helps or not who knows but please try to explain differently so i can maybe comprehend better. Thanks!

Book1
ABCD
1CostMUSell PriceGM
2$ 18.0050%$ 27.0033%
3$ 18.0050%$ 27.0033%
4$ 18.00100%$ 36.0050%
Sheet3
Cell Formulas
RangeFormula
C2:C4C2=A2*(1+B2)
D2:D4D2=((C2-A2)/C2)
 
Upvote 0
I have don't a lot of work with Cost, Markups and Gross Margin. However, I don't fully understand your formulas nor logic? Maybe this helps or not who knows but please try to explain differently so i can maybe comprehend better. Thanks!

Book1
ABCD
1CostMUSell PriceGM
2$ 18.0050%$ 27.0033%
3$ 18.0050%$ 27.0033%
4$ 18.00100%$ 36.0050%
Sheet3
Cell Formulas
RangeFormula
C2:C4C2=A2*(1+B2)
D2:D4D2=((C2-A2)/C2)

I followed the following thread where it more or less was explained. Find formula to drive sale price based on entering gross profit percentage (not markup%). We know the cost price
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
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