how to insert formula for goal sick applicable for changing values from table in exel

Chaturvedi, Santosh 430 Reputation points
2026-09-14T13:30:53.0766667+00:00

I have one requirement.

See below

User's image

Requirement: I need to give value in D9 so that E10 (0.5) =E11.

I can do with "WHAT IF --> Goal Seek" .. for one time this is ok ..

But i do have 600 sheets like above...

I need to insert formula that must works automatically without "what if--> goal seek" formula.

That means it should automaticalle iterate D9 to satisfay E10 (0.5) =E11. when ever the tavle values changes in E19..E..616

Kindly advice..

Microsoft 365 and Office | Excel | For business | Windows

2 answers

Sort by: Most helpful
  1. Chaturvedi, Santosh 430 Reputation points
    2026-09-15T12:36:17.6166667+00:00

    Hello Macrin -- Greeting -- If you can help in this regard it will be very helpful--kindly adivice on teh above case please..

    Was this answer helpful?

    0 comments No comments

  2. Marcin Policht 108.6K Reputation points MVP Volunteer Moderator
    2026-09-14T13:56:27.8833333+00:00

    Looks like what you are trying to do is a numerical root-solving operation. D9 is the variable and E11 is the calculated result. You want Excel to automatically find the value of D9 for which E11 equals E10, where E10 is 0.5.

    A normal Excel formula cannot do this if E11 already depends on D9. You cannot put a formula in D9 that simply says "change D9 until E11 = E10" because that creates a circular reference. Goal Seek works because it is an iterative calculation engine outside the normal worksheet formula calculation.

    However, you can do this with a formula if you express the calculation currently performed in E11 as a function of a candidate value for D9. A formula can then perform its own iteration, for example with LET and a binary-search algorithm:

    =LET(target,E10,low,0,high,1000,iterations,50,REDUCE(0,SEQUENCE(iterations),LAMBDA(x,_,LET(mid,(low+high)/2,result,[calculation using mid],IF(result>target,mid,mid)))))

    The exact formula depends on how E11 is calculated from D9 and the values in E19:E616.


    If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.

    hth

    Marcin

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.