Formula saving method