Mimic 'Goal Seek' function with formula

Tj_El

Board Regular
Joined
Mar 28, 2003
Messages
69
Hello Excel Guru's

I could do with your collective help on this task.
There is a function in Excel called Goal Seek which I know how to use but what I actually need to have is a formula that mimics this function.

My scenario is as follows:
Cell A1 = 13.50 - derived by formula
Cell A2 = 30.00 - derived by formula
Cell A3 = 687,500.00
Cell A4 = variable value but for now the value = 1
Cell A5 = A4(A2-A1)

Using goal seek, I set Cell A5 to equal Cell A3 by changing Cell A4. That gave me a value.

Now, what would the formula be to mimic that series of calculations to arrive at the answer?

I hope I have explained my request correctly... :oops:
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
I knew I had omitted something.... :oops:

Cells A2 and A1 themselves are formulae based on the value in Cell A4 and that is what is causing me to flounder.

A1 = (10)+(10+(10*(A4*10%)))+(10+(10*(A4*10%)))

A2 = (20)+(20+(20*(A4*15%)))+(20+(20*(A4*15%)))

A4 is the variable representing number of years in sequence so in the first yr it will be 1, the following year 2 and so on.

This is getting a bit much for my brain to deal with on a Friday afternoon.... :unsure:

I hope I have filled in the missing part sufficiently?
Maybe I will resolve to working things out year by year....
 
Upvote 0
Juan Pablo G. said:
Ok, but you didn't answer my question either :oops:

Sorry, I was away from my desk hence the tardy reply......

But to answer your question, yes A5 = A4*(A2-A1)
 
Upvote 0
Since you only have one unknown, why not reduce this to a single equation and solve it. your given formulas reduce to:

4*(A4)^2 + 30*(A4) - 687500 = 0

which has solutions 410.8451 and -418.3451
 
Upvote 0

Forum statistics

Threads
1,214,647
Messages
6,120,722
Members
448,987
Latest member
marion_davis

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