How do you try to automate it?

Maybe just try

="your symbol"& your formula