Insert formula in different file formats