riskassure
Programmer
Hi,
I have the following problem: in cell A1, I typed "B1+B2". In cell A2, I want to convert the text in A1 into a formula and then calculate that formula.
So if B1 = 5 and B2 = 6, A2 should read 11, and if B1 = 3 and B2 = -1, A2 should return 2.
Of course, I could have just use the formula '=B1+B2' in A2 and get a direct answer. But what I really want to do is much more complicated than the simple example I gave above.
Question: is there a way to do this without resorting to VBA? I tried putting
=Indirect(A1)
But that failed.. and gave me a ref# error.
Any help will be greatly appreciated!
~~CW~~
I have the following problem: in cell A1, I typed "B1+B2". In cell A2, I want to convert the text in A1 into a formula and then calculate that formula.
So if B1 = 5 and B2 = 6, A2 should read 11, and if B1 = 3 and B2 = -1, A2 should return 2.
Of course, I could have just use the formula '=B1+B2' in A2 and get a direct answer. But what I really want to do is much more complicated than the simple example I gave above.
Question: is there a way to do this without resorting to VBA? I tried putting
=Indirect(A1)
But that failed.. and gave me a ref# error.
Any help will be greatly appreciated!
~~CW~~