Cell A3 refers to Cell A2 ( by the formula indirect(A2) ) and cell A2 refers to cell A1 (by its formula A1^2*4 ").
Without invoking Goal seek, a change in cell A1 propagates to cell A3. I can goal seek manually by changing A1 until I am close to the desired solution in A3.
With the GoalSeek function, I get “Search Failed”
As for what I am working on originally is a spreadsheet to find the Singular Values of a matrix of arbitrary size. The simple form (for fixed size arrays) allows the user to enter the inputs array A and value L. and then calculates the arrays At (A transpose), then AtA, then the Identity matrix I, then AtA-LI and then calculates the determinant from MDETERM() on AtA-LI. Finally GoalSeek is used to vary L until the determinant is 0; this value of L is one of the singular values of A.
If you are not familiar with the Singular Value Decomposition (SVD) and Eigenvalues, this is probably pretty hard chewing.
However, every array expression above has to be reinitialized when the size of the input array changes. eg 2x2, 3x3, 3x2, 4x5 etc.
I realized that if I can determine the rows and columns of the matrix A, then using Indirect I can make all these calculations into a one line expression, and the result is a scalar. There are no intermediate results which are arrays, so no array expressions need to be reinitialized because the dimensions have changed.
I found that I could search for the zero result manually, but with goal seek it results in “search Failed”
Finally I found that if I reduced the problem to a GoalSeek of a simple meaningless calculation also involving the Indirect function, that Goal Seek would still fail.
If I use Goal Seek on simple formula without Indirect (cell A2) , it is successful .
If I use Goal Seek on simple formula with Indirect (cell A3) , it fails.
This qualifies as a limitation of the GoalSeek tool or a bug in Indirect() and should be documented.