Reference position input
=EVALUATE(MID($A 1, 1,3))
Then enter it in B 1
=AAA
tie down
That depends on what your formula is, combined with functions such as substitute and replace, you can extract a pure formula based on text.
Use the macro table function EVALUATE to convert it into a computable formula.