Formula behind goal seek/solver solution

rstowell

New Member
Joined
Jul 15, 2004
Messages
6
Goal seek and solver are great to solve this equation, but I need to see the formula for further manipulation. Any ideas? Any help is appreciated.



50,000 revenue
00000 discount
-10,000 cogs
40,000 profit
80% margin
60% target margin

Solve to find maximum discount to achieve target margin
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
Those formulas are not exposed to the UI nor to VBA. How do you need to manipulate your model further?
 
Upvote 0
Those formulas are not exposed to the UI nor to VBA. How do you need to manipulate your model further?


I need to be able to show the formula to solve the equation (versus using the solver)

So, I guess my question is, what excel formula will calculate the maximum discount allowed to achieve a target margin when:

Revenue-Discount-CostofGoodsSold = Profit
and
Profit/(Revenue-Discount) = Margin

Revenue and Cost of Goods Sold is known, Discount is the variable, and 60% Margin is the Target
 
Upvote 0
It's not a single formula, it's an iterative approach that gets progressively closer to the answer. You might find information about the precise approach used at the website for Frontline Systems (http://www.solver.com/), who programmed the tool for Microsoft.
 
Upvote 0
Thanks Jon. I was just hoping there was an Excel formula, something algebraic, that would arrive at the same result.

rs
 
Upvote 0
For this particular problem you can solve the two equations algebraically

Revenue-Discount-CostofGoodsSold = Profit --- (1)

Profit/(Revenue-Discount) = Margin --- (2)

I just substituted Profit from (1) into (2) and solved for Discount

Discount = (CostofGoodsSold - Revenue + Margin*Revenue) / (Margin - 1)

I double checked it in MathCad.

Rob
 
Upvote 0
Rob-
Exactly what I was looking for (in the absence of an Excel function.)
Thank you so much!!
rs
 
Upvote 0

Forum statistics

Threads
1,215,227
Messages
6,123,745
Members
449,116
Latest member
alexlomt

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