Hi Jan,
Thanks for this quick response. I have never seen the EVALUATE formul
before (and don't find it in the Excel help).
I tried it and it works fine, except it does not recalculat
automatically when you change the parameters (i.e. Sheet1!A1 = 20).
need to go into B1 and re-hit enter to refresh.
The bigger contect of my string to formula problem is, I have severa
work sheets with the same layout of data organisation (let's say o
each sheet are 50 cells with data). I do want to create one "analysi
sheet" with the same layout as the other sheets. On this analysis shee
I want to add, substract, devide or multiply the different sheets in
flexible way.
The principle solution (principle since I don't find the way to conver
a text to a formula....) I have in mind is the following:
1. Enter a generic formula syntax in cell C1 on te analysis shee
i.e.:
C1='=(Sheet1!xx-Sheet2!xx)/Sheet3!xx
So I need to enter only once which sheets I want to add, substract o
multipy in a generic way.
2. I would use the following formla within the 50 analysis cells t
convert my generic text formula to containing "xx" for the cells
=SUBSTITUTE(C1,"xx",ADDRESS(ROW(),COLUMN()))
If I enter this formula for all the 50 cells, I will get for example i
cell A10 on the analysis sheet: '=(Sheet1!A10-Sheet2!A10)/Sheet3!A10
3.) Now I just would need to find a way to run a function like:
A10 = TextToFormula(SUBSTITUTE(C1,"xx",ADDRESS(ROW(),COLUMN()))) (thi
is the function which
or
A10 = EVALUATE(SUBSTITUTE(C1,"xx",ADDRESS(ROW(),COLUMN()))) (whic
does not work like that unfortunately on a sheet)
If there is a solution to this, this will be a way to very efficientl
handle quick data analysis, without copying all the time the desired
formulas to all cells on the analysis sheet.
Thanks again for your earlier respond Jan! maybe you have anothe
idea?
Regards,
Axe