Copy the formula (from the formula box) and paste it. Then select the cell and do a replace all.

Regards, TMS